Skip to content

Commit

Permalink
Change install.md to be a notebook format and insert the output image…
Browse files Browse the repository at this point in the history
… into the document
  • Loading branch information
seisman committed Aug 6, 2024
1 parent fba97ba commit a532ca9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
file_format: mystnb
---

# Installing

## Quickstart
Expand Down Expand Up @@ -233,7 +237,13 @@ from Python.
To ensure that PyGMT and its dependencies are installed correctly, run the following
in your Python interpreter:

```python
```{code-cell} ipython
---
tags: [remove-stdout]
mystnb:
image: center
---
import pygmt
pygmt.show_versions()
Expand All @@ -242,7 +252,6 @@ fig.coast(projection="N15c", region="g", frame=True, land="tan", water="lightblu
fig.text(position="MC", text="PyGMT", font="80p,Helvetica-Bold,red@75")
fig.show()
```
![pygmt-get-started](https://github.com/GenericMappingTools/pygmt/assets/3974108/f7f51484-8640-4b58-ae5b-6c71e7150f7a){.align-center width="70%"}

You should see a global map with land and water masses colored in tan and lightblue
respectively. On top, there should be the semi-transparent text "PyGMT". If the
Expand Down

0 comments on commit a532ca9

Please sign in to comment.