Skip to content

Commit 0b290a7

Browse files
committed
updated cmocean docs with new example image
1 parent 5927ba9 commit 0b290a7

28 files changed

+34
-53
lines changed

cmocean/_images/index-6.png

-1.26 KB
Loading

cmocean/_images/index-7.png

19.7 KB
Loading

cmocean/_images/index-8.png

-16.1 KB
Loading

cmocean/_images/index-9.png

-287 Bytes
Loading

cmocean/_sources/index.txt

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ algae
165165

166166
The *algae* colormap is sequential with whitish-green for low values and increasing in green with increasing value, which could be used to represent an increase in chlorophyll in the water. Two examples of this colormap are shown below, from Texas A&M University gliders. This colormap is based on matplotlib's Greens, but was recreated from scratch using the viscm tool.
167167

168-
.. image:: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_540/plots/sci_flbbcd_chlor_units.png
169-
:target: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_540/plots/sci_flbbcd_chlor_units.png
170168
.. image:: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_541/plots/sci_flbbcd_chlor_units.png
171169
:target: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_541/plots/sci_flbbcd_chlor_units.png
172170

@@ -210,17 +208,10 @@ amp
210208

211209
The *amp* colormap is sequential from whitish to dark red and could be used to represent an increase in wave height values. This colormap is the positive half of the *balance* colormap.
212210

213-
.. plot::
214-
:include-source:
215-
216-
import cmocean
217-
import matplotlib.pyplot as plt
211+
.. figure:: https://cloud.githubusercontent.com/assets/3487237/16920916/840d91d4-4cdd-11e6-8db5-f93cd61b78c2.png
212+
:target: http://soliton.vm.bytemark.co.uk/pub/cpt-city/
218213

219-
fig = plt.figure(figsize=(8, 3))
220-
ax = fig.add_subplot(1, 2, 1)
221-
cmocean.plots.test(cmocean.cm.amp, ax=ax)
222-
ax = fig.add_subplot(1, 2, 2)
223-
cmocean.plots.quick_plot(cmocean.cm.amp, ax=ax)
214+
Earthquake magnitude, by `Natalie Accardo <http://www.natalieaccardo.com/>`_ using GMT.
224215

225216
tempo
226217
^^^^^

cmocean/index-1.pdf

0 Bytes
Binary file not shown.

cmocean/index-2.pdf

0 Bytes
Binary file not shown.

cmocean/index-3.pdf

0 Bytes
Binary file not shown.

cmocean/index-4.pdf

0 Bytes
Binary file not shown.

cmocean/index-5.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)