@@ -97,8 +97,9 @@ def test_plot_masked_units():
9797 fig , ax = plt .subplots ()
9898 ax .plot (data_masked_units )
9999
100+
100101@image_comparison (baseline_images = ['jpl_bar_units' ], extensions = ['png' ],
101- savefig_kwarg = {'dpi' : 60 }, style = 'mpl20' )
102+ savefig_kwarg = {'dpi' : 120 }, style = 'mpl20' )
102103def test_jpl_bar_units ():
103104 from datetime import datetime
104105 import matplotlib .testing .jpl_units as units
@@ -109,12 +110,13 @@ def test_jpl_bar_units():
109110 w = [1 * day , 2 * day , 3 * day ]
110111 b = units .Epoch ("ET" , dt = datetime (2009 , 4 , 25 ))
111112
112- fig , ax = P .subplots ()
113+ fig , ax = plt .subplots ()
113114 ax .bar (x , w , bottom = b )
114115 ax .set_ylim ([b - 1 * day , b + w [- 1 ]+ 1 * day ])
115116
117+
116118@image_comparison (baseline_images = ['jpl_barh_units' ], extensions = ['png' ],
117- savefig_kwarg = {'dpi' : 60 }, style = 'mpl20' )
119+ savefig_kwarg = {'dpi' : 120 }, style = 'mpl20' )
118120def test_jpl_barh_units ():
119121 from datetime import datetime
120122 import matplotlib .testing .jpl_units as units
@@ -125,11 +127,11 @@ def test_jpl_barh_units():
125127 w = [1 * day , 2 * day , 3 * day ]
126128 b = units .Epoch ("ET" , dt = datetime (2009 , 4 , 25 ))
127129
128- fig , ax = P .subplots ()
130+ fig , ax = plt .subplots ()
129131 ax .barh (x , w , left = b )
130132 ax .set_xlim ([b - 1 * day , b + w [- 1 ]+ 1 * day ])
131133
132-
134+
133135
134136
135137
0 commit comments