11from seleniumbase import BaseCase
22
33
4- class MyChartMakerClass (BaseCase ):
4+ class ChartMakerPresentation (BaseCase ):
55
66 def test_chart_maker_presentation (self ):
77 self .create_presentation (theme = "sky" , transition = "zoom" )
@@ -12,13 +12,13 @@ def test_chart_maker_presentation(self):
1212 self .add_data_point ("Failed" , 1 , color = "#f1888f" )
1313 self .add_slide ("<p>Pie Chart</p>" + self .extract_chart ())
1414
15- self .create_bar_chart (title = "Language" , libs = False )
15+ self .create_bar_chart (title = "Language" , libs = False , legend = False )
1616 self .add_data_point ("Python" , 33 , color = "Orange" )
1717 self .add_data_point ("JavaScript" , 27 , color = "Teal" )
1818 self .add_data_point ("HTML + CSS" , 21 , color = "Purple" )
1919 self .add_slide ("<p>Bar Chart</p>" + self .extract_chart ())
2020
21- self .create_column_chart (title = "Colors" , libs = False )
21+ self .create_column_chart (title = "Colors" , libs = False , legend = False )
2222 self .add_data_point ("Red" , 10 , color = "Red" )
2323 self .add_data_point ("Green" , 25 , color = "Green" )
2424 self .add_data_point ("Blue" , 15 , color = "Blue" )
0 commit comments