You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/chart_maker/ReadMe.md
+92-90Lines changed: 92 additions & 90 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ SeleniumBase Chart Maker allows you to create HTML charts with Python. (Using Hi
8
8
9
9
([Click to see a presentation with multiple charts](https://seleniumbase.io/other/chart_presentation.html))
10
10
11
-
Here's how to run the example presentation with a pie chart from [GitHub => seleniumbase/SeleniumBase/examples/chart_maker](https://github.com/seleniumbase/SeleniumBase/tree/master/examples/chart_maker):
11
+
Here's how to run a simple pie chart presentation from [GitHub => seleniumbase/SeleniumBase/examples/chart_maker](https://github.com/seleniumbase/SeleniumBase/tree/master/examples/chart_maker):
12
12
13
13
```bash
14
14
cd examples/chart_maker
@@ -31,7 +31,7 @@ class MyChartMakerClass(BaseCase):
31
31
self.begin_presentation(filename="my_chart.html")
32
32
```
33
33
34
-
Here's how to run an example presentation with multiple charts: (Press the right arrow to advance to the next slide)
34
+
Here's how to run an example presentation with multiple charts:
35
35
36
36
```bash
37
37
cd examples/chart_maker
@@ -53,7 +53,92 @@ Here are screenshots from the examples:
#### This example is from [test_line_chart.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/chart_maker/test_line_chart.py), which you can run from the ``examples/chart_maker`` folder with the following command:
78
+
79
+
```bash
80
+
pytest test_line_chart.py
81
+
```
82
+
83
+
Because that presentation above has an ``interval`` set to ``8``, it will automatically advance to the next slide after 8 seconds. (Or exit if there are no more slides.)
84
+
85
+
86
+
### For a more advanced example (multiple charts in a presentation):
#### This example is from [test_line_chart.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/chart_maker/test_line_chart.py), which you can run from the ``examples/chart_maker`` folder with the following command:
261
-
262
-
```bash
263
-
pytest test_line_chart.py
264
-
```
265
-
266
-
Because that presentation above has an ``interval`` set to ``8``, it will automatically advance to the next slide after 8 seconds. (Or exit if there are no more slides.)
267
-
268
-
### For a more advanced example (multiple charts in a presentation):
0 commit comments