@@ -1032,8 +1032,8 @@ def test_plot_scatter(self):
1032
1032
1033
1033
@pytest .mark .slow
1034
1034
def test_if_scatterplot_colorbar_affects_xaxis_visibility (self ):
1035
- random_array = np .random .random ((1000 ,3 ))
1036
- df = pd .DataFrame (random_array ,columns = ['A label' ,'B label' ,'C label' ])
1035
+ random_array = np .random .random ((1000 , 3 ))
1036
+ df = pd .DataFrame (random_array ,columns = ['A label' , 'B label' , 'C label' ])
1037
1037
1038
1038
ax1 = df .plot .scatter (x = 'A label' , y = 'B label' )
1039
1039
ax2 = df .plot .scatter (x = 'A label' , y = 'B label' , c = 'C label' )
@@ -1043,7 +1043,7 @@ def test_if_scatterplot_colorbar_affects_xaxis_visibility(self):
1043
1043
ax2 .xaxis .get_minorticklabels ())]), \
1044
1044
'minor x-axis tick labels visibility ' \
1045
1045
'changes when colorbar included'
1046
- assert all ([vis [0 ].get_visible () == vis [1 ].get_visible () for vis in
1046
+ assert all ([vis [0 ].get_visible () == vis [1 ].get_visible () for vis in
1047
1047
zip (ax1 .xaxis .get_majorticklabels (),
1048
1048
ax2 .xaxis .get_majorticklabels ())]), \
1049
1049
'major x-axis tick labels visibility ' \
@@ -1054,10 +1054,10 @@ def test_if_scatterplot_colorbar_affects_xaxis_visibility(self):
1054
1054
1055
1055
@pytest .mark .slow
1056
1056
def test_if_hexbin_xaxis_label_is_visible (self ):
1057
- random_array = np .random .random ((1000 ,3 ))
1058
- df = pd .DataFrame (random_array ,columns = ['A label' ,'B label' ,'C label' ])
1057
+ random_array = np .random .random ((1000 , 3 ))
1058
+ df = pd .DataFrame (random_array ,columns = ['A label' , 'B label' , 'C label' ])
1059
1059
1060
- ax = df .plot .hexbin ('A label' ,'B label' , gridsize = 12 )
1060
+ ax = df .plot .hexbin ('A label' , 'B label' , gridsize = 12 )
1061
1061
assert all ([vis .get_visible () for vis in
1062
1062
ax .xaxis .get_minorticklabels ()]), \
1063
1063
'minor x-axis tick labels are not visible'
0 commit comments