@@ -97,8 +97,9 @@ def test_plot_masked_units():
97
97
fig , ax = plt .subplots ()
98
98
ax .plot (data_masked_units )
99
99
100
+
100
101
@image_comparison (baseline_images = ['jpl_bar_units' ], extensions = ['png' ],
101
- savefig_kwarg = {'dpi' : 60 }, style = 'mpl20' )
102
+ savefig_kwarg = {'dpi' : 120 }, style = 'mpl20' )
102
103
def test_jpl_bar_units ():
103
104
from datetime import datetime
104
105
import matplotlib .testing .jpl_units as units
@@ -109,12 +110,13 @@ def test_jpl_bar_units():
109
110
w = [1 * day , 2 * day , 3 * day ]
110
111
b = units .Epoch ("ET" , dt = datetime (2009 , 4 , 25 ))
111
112
112
- fig , ax = P .subplots ()
113
+ fig , ax = plt .subplots ()
113
114
ax .bar (x , w , bottom = b )
114
115
ax .set_ylim ([b - 1 * day , b + w [- 1 ]+ 1 * day ])
115
116
117
+
116
118
@image_comparison (baseline_images = ['jpl_barh_units' ], extensions = ['png' ],
117
- savefig_kwarg = {'dpi' : 60 }, style = 'mpl20' )
119
+ savefig_kwarg = {'dpi' : 120 }, style = 'mpl20' )
118
120
def test_jpl_barh_units ():
119
121
from datetime import datetime
120
122
import matplotlib .testing .jpl_units as units
@@ -125,11 +127,11 @@ def test_jpl_barh_units():
125
127
w = [1 * day , 2 * day , 3 * day ]
126
128
b = units .Epoch ("ET" , dt = datetime (2009 , 4 , 25 ))
127
129
128
- fig , ax = P .subplots ()
130
+ fig , ax = plt .subplots ()
129
131
ax .barh (x , w , left = b )
130
132
ax .set_xlim ([b - 1 * day , b + w [- 1 ]+ 1 * day ])
131
133
132
-
134
+
133
135
134
136
135
137
0 commit comments