@@ -55,8 +55,8 @@ def plot_lightness(saveplot=False):
55
55
label .set_rotation (60 )
56
56
57
57
if saveplot :
58
- fig .savefig ('figures/lightness .png' , bbox_inches = 'tight' )
59
- fig .savefig ('figures/lightness .pdf' , bbox_inches = 'tight' )
58
+ fig .savefig ('cmocean_lightness .png' , bbox_inches = 'tight' )
59
+ fig .savefig ('cmocean_lightness .pdf' , bbox_inches = 'tight' )
60
60
61
61
plt .show ()
62
62
@@ -109,8 +109,8 @@ def plot_gallery(saveplot=False):
109
109
ax .set_axis_off ()
110
110
111
111
if saveplot :
112
- fig .savefig ('figures/gallery .pdf' , bbox_inches = 'tight' )
113
- fig .savefig ('figures/gallery .png' , bbox_inches = 'tight' )
112
+ fig .savefig ('cmocean_gallery .pdf' , bbox_inches = 'tight' )
113
+ fig .savefig ('cmocean_gallery .png' , bbox_inches = 'tight' )
114
114
115
115
plt .show ()
116
116
@@ -132,8 +132,8 @@ def wrap_viscm(cmap, dpi=100, saveplot=False):
132
132
plt .show ()
133
133
134
134
if saveplot :
135
- fig .savefig ('figures/eval_ ' + cmap .name + '.png' , bbox_inches = 'tight' , dpi = dpi )
136
- fig .savefig ('figures/eval_ ' + cmap .name + '.pdf' , bbox_inches = 'tight' , dpi = dpi )
135
+ fig .savefig ('cmocean_eval_ ' + cmap .name + '.png' , bbox_inches = 'tight' , dpi = dpi )
136
+ fig .savefig ('cmocean_eval_ ' + cmap .name + '.pdf' , bbox_inches = 'tight' , dpi = dpi )
137
137
138
138
139
139
def test (cmap , fig = None , ax = None ):
0 commit comments