@@ -683,13 +683,6 @@ def test_bar_plt_xaxis_intervalrange(self):
683683 )
684684
685685
686- def test_plot_bar_label_count_default ():
687- df = DataFrame (
688- [(30 , 10 , 10 , 10 ), (20 , 20 , 20 , 20 ), (10 , 30 , 30 , 10 )], columns = list ("ABCD" )
689- )
690- df .plot (subplots = True , kind = "bar" , title = ["A" , "B" , "C" , "D" ])
691-
692-
693686@pytest .fixture
694687def df_bar_data ():
695688 return np .random .default_rng (3 ).integers (0 , 100 , 5 )
@@ -823,6 +816,15 @@ def test_bar_2_subplots_1_triple_stacked(df_bar_data, df_bar_df, subplot_divisio
823816 _df_bar_subplot_checker (
824817 df_bar_data , df_bar_df , subplot_data_df_list [i ], subplot_division [i ]
825818 )
819+
820+
821+ def test_plot_bar_label_count_default ():
822+ df = DataFrame (
823+ [(30 , 10 , 10 , 10 ), (20 , 20 , 20 , 20 ), (10 , 30 , 30 , 10 )], columns = list ("ABCD" )
824+ )
825+ df .plot (subplots = True , kind = "bar" , title = ["A" , "B" , "C" , "D" ])
826+
827+
826828def test_plot_bar_label_count_expected_fail ():
827829 df = DataFrame (
828830 [(30 , 10 , 10 , 10 ), (20 , 20 , 20 , 20 ), (10 , 30 , 30 , 10 )], columns = list ("ABCD" )
0 commit comments