Remove the "full test" section from installation guide
Remove the "Full test" section since it's no longer valid after
migrating baseline images to dvc
Add a simple script to test the install. If it works, at least
we know that the coast function, GSHHG data and gs work as expected.
@@ -159,35 +159,17 @@ from Python.
Testing your install
--------------------
-Quick check
-~~~~~~~~~~~
-
To ensure that PyGMT and its dependencies are installed correctly, run the
following in your Python interpreter::
import pygmt
pygmt.show_versions()
-Or run this in the command line::
-
- python -c "import pygmt; pygmt.show_versions()"
-
-
-Full test (optional)
-~~~~~~~~~~~~~~~~~~~~
-
-PyGMT ships with a full test suite.
-You can run our tests after you install it but you will need a few extra
-dependencies as well (be sure to have your conda environment activated)::
+ fig = pygmt.Figure()
+ fig.coast(region="g", frame=True, shorelines=1)
+ fig.show()
- conda install pytest pytest-mpl ipython
-
-Test your installation by running the following inside a Python interpreter
-(note that it may take a few minutes)::
-
- import pygmt
- pygmt.show_versions()
- pygmt.test()
+If you see a global map with shorelines, then you're all set.
Finding the GMT shared library
