1
1
<!-- SeleniumBase Docs -->
2
2
3
- ## [ <img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " >] ( https://github.com/seleniumbase/SeleniumBase/ ) 📊 ChartMaker 📶
3
+ ## [ <img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " >] ( https://github.com/seleniumbase/SeleniumBase/ ) 📊 ChartMaker 📶
4
4
5
5
<p >SeleniumBase ChartMaker lets you use Python to generate HTML charts.</p >
6
6
7
- <a href =" https://seleniumbase.io/other/chart_presentation.html " ><img width =" 480 " src =" https://seleniumbase.io/cdn/gif/chart_pres.gif " title =" Chart Presentation " ></a ><br >
7
+ <a href =" https://seleniumbase.github. io/other/chart_presentation.html " ><img width =" 480 " src =" https://seleniumbase.github .io/cdn/gif/chart_pres.gif " title =" Chart Presentation " ></a ><br >
8
8
9
- ([ Click to see a presentation with multiple charts] ( https://seleniumbase.io/other/chart_presentation.html ) )
9
+ ([ Click to see a presentation with multiple charts] ( https://seleniumbase.github. io/other/chart_presentation.html ) )
10
10
11
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
@@ -40,20 +40,20 @@ pytest chart_presentation.py
40
40
41
41
Here are screenshots from the examples:
42
42
43
- <a href =" https://seleniumbase.io/other/chart_presentation.html " ><img width =" 500 " src =" https://seleniumbase.io/other/sample_pie_chart.png " title =" Screenshot " ></a ><br >
43
+ <a href =" https://seleniumbase.github. io/other/chart_presentation.html " ><img width =" 500 " src =" https://seleniumbase.github .io/other/sample_pie_chart.png " title =" Screenshot " ></a ><br >
44
44
45
- <a href =" https://seleniumbase.io/other/sample_column_chart.png " ><img width =" 500 " src =" https://seleniumbase.io/other/sample_column_chart.png " title =" Screenshot " ></a ><br >
45
+ <a href =" https://seleniumbase.github. io/other/sample_column_chart.png " ><img width =" 500 " src =" https://seleniumbase.github .io/other/sample_column_chart.png " title =" Screenshot " ></a ><br >
46
46
47
- <a href =" https://seleniumbase.io/other/sample_bar_chart.png " ><img width =" 500 " src =" https://seleniumbase.io/other/sample_bar_chart.png " title =" Screenshot " ></a ><br >
47
+ <a href =" https://seleniumbase.github. io/other/sample_bar_chart.png " ><img width =" 500 " src =" https://seleniumbase.github .io/other/sample_bar_chart.png " title =" Screenshot " ></a ><br >
48
48
49
- <a href =" https://seleniumbase.io/other/sample_line_chart.png " ><img width =" 500 " src =" https://seleniumbase.io/other/sample_line_chart.png " title =" Screenshot " ></a ><br >
49
+ <a href =" https://seleniumbase.github. io/other/sample_line_chart.png " ><img width =" 500 " src =" https://seleniumbase.github .io/other/sample_line_chart.png " title =" Screenshot " ></a ><br >
50
50
51
- <a href =" https://seleniumbase.io/other/sample_area_chart.png " ><img width =" 500 " src =" https://seleniumbase.io/other/sample_area_chart.png " title =" Screenshot " ></a ><br >
51
+ <a href =" https://seleniumbase.github. io/other/sample_area_chart.png " ><img width =" 500 " src =" https://seleniumbase.github .io/other/sample_area_chart.png " title =" Screenshot " ></a ><br >
52
52
53
- <a href =" https://seleniumbase.io/other/multi_series_chart.png " ><img width =" 500 " src =" https://seleniumbase.io/other/multi_series_chart.png " title =" Screenshot " ></a ><br >
53
+ <a href =" https://seleniumbase.github. io/other/multi_series_chart.png " ><img width =" 500 " src =" https://seleniumbase.github .io/other/multi_series_chart.png " title =" Screenshot " ></a ><br >
54
54
55
55
56
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Here's a line chart example:</h3 >
56
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Here's a line chart example:</h3 >
57
57
58
58
``` python
59
59
from seleniumbase import BaseCase
@@ -83,7 +83,7 @@ pytest test_line_chart.py
83
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
84
85
85
86
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> For a more advanced example (multiple charts in a presentation):</h3 >
86
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> For a more advanced example (multiple charts in a presentation):</h3 >
87
87
88
88
``` python
89
89
from seleniumbase import BaseCase
@@ -133,12 +133,12 @@ pytest chart_presentation.py
133
133
134
134
(Press the Right Arrow to advance to the next slide in that chart presentation)
135
135
136
- ([ Click to see a live example of that presentation] ( https://seleniumbase.io/other/chart_presentation.html ) )
136
+ ([ Click to see a live example of that presentation] ( https://seleniumbase.github. io/other/chart_presentation.html ) )
137
137
138
138
Multi-Series charts can also be created. Try the available examples to learn more.
139
139
140
140
141
- <h2 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> ChartMaker API</h2 >
141
+ <h2 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> ChartMaker API</h2 >
142
142
143
143
``` python
144
144
self .create_pie_chart(
@@ -260,7 +260,7 @@ self.create_area_chart(
260
260
If creating multiple charts at the same time, you can pass the `` chart_name `` parameter to distinguish between different charts.
261
261
262
262
263
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Adding a data point to a chart:</h3 >
263
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Adding a data point to a chart:</h3 >
264
264
265
265
``` python
266
266
self .add_data_point(label, value, color = None , chart_name = None ):
@@ -277,7 +277,7 @@ self.add_data_point(label, value, color=None, chart_name=None):
277
277
```
278
278
279
279
280
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Adding a new data series to an existing chart:</h3 >
280
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Adding a new data series to an existing chart:</h3 >
281
281
282
282
``` python
283
283
self .add_series_to_chart(self , data_name = None , chart_name = None ):
@@ -291,7 +291,7 @@ self.add_series_to_chart(self, data_name=None, chart_name=None):
291
291
```
292
292
293
293
294
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Saving a chart to a file:</h3 >
294
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Saving a chart to a file:</h3 >
295
295
296
296
``` python
297
297
self .save_chart(chart_name = None , filename = None ):
@@ -307,7 +307,7 @@ self.save_chart(chart_name=None, filename=None):
307
307
The full HTML of the chart is saved to the `` saved_charts/ `` folder.
308
308
309
309
310
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Extracting the HTML of a chart:</h3 >
310
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Extracting the HTML of a chart:</h3 >
311
311
312
312
``` python
313
313
self .extract_chart(chart_name = None ):
@@ -319,7 +319,7 @@ self.extract_chart(chart_name=None):
319
319
```
320
320
321
321
322
- <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Displaying a chart in the browser window:</h3 >
322
+ <h3 ><img src =" https://seleniumbase.github. io/img/logo6.png " title =" SeleniumBase " width =" 32 " /> Displaying a chart in the browser window:</h3 >
323
323
324
324
``` python
325
325
self .display_chart(chart_name = None , filename = None ):
0 commit comments