@@ -231,40 +231,14 @@ def test_plot_xy(self):
231
231
@pytest .mark .slow
232
232
def test_logscales (self ):
233
233
df = DataFrame ({'a' : np .arange (100 )}, index = np .arange (100 ))
234
-
235
234
ax = df .plot (logy = True )
236
235
self ._check_ax_scales (ax , yaxis = 'log' )
237
- assert ax .get_yscale () == 'log'
238
-
239
- ax = df .plot (logy = 'sym' )
240
- self ._check_ax_scales (ax , yaxis = 'symlog' )
241
- assert ax .get_yscale () == 'symlog'
242
236
243
237
ax = df .plot (logx = True )
244
238
self ._check_ax_scales (ax , xaxis = 'log' )
245
- assert ax .get_xscale () == 'log'
246
-
247
- ax = df .plot (logx = 'sym' )
248
- self ._check_ax_scales (ax , xaxis = 'symlog' )
249
- assert ax .get_xscale () == 'symlog'
250
239
251
240
ax = df .plot (loglog = True )
252
241
self ._check_ax_scales (ax , xaxis = 'log' , yaxis = 'log' )
253
- assert ax .get_xscale () == 'log'
254
- assert ax .get_yscale () == 'log'
255
-
256
- ax = df .plot (loglog = 'sym' )
257
- self ._check_ax_scales (ax , xaxis = 'symlog' , yaxis = 'symlog' )
258
- assert ax .get_xscale () == 'symlog'
259
- assert ax .get_yscale () == 'symlog'
260
-
261
- @pytest .mark .parametrize ("wrong_input" , ["sm" , "symlog" ])
262
- def test_invalid_logscale (self , wrong_input ):
263
- df = DataFrame ({'a' : np .arange (100 )}, index = np .arange (100 ))
264
-
265
- msg = "Wrong input for log option."
266
- with pytest .raises (ValueError , match = msg ):
267
- df .plot (logy = wrong_input )
268
242
269
243
@pytest .mark .slow
270
244
def test_xcompat (self ):
0 commit comments