forked from ehmatthes/pcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to show tooltips properly in Pygal 2.
- Loading branch information
Showing
3 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
Chapter 17 | ||
=== | ||
|
||
Updates | ||
--- | ||
|
||
As you probably saw in [Chapter 15](chapter_15/README.md#updates) and [Chapter 16](chapter_16/README.md#updates), you'll need to add a line each time you make a chart in order to render tooltips correctly: | ||
|
||
<pre> | ||
chart = pygal.Bar() | ||
<b>chart.force_uri_protocol = 'http'</b> | ||
</pre> | ||
|
||
Page by page updates | ||
--- | ||
|
||
### p. 384-385, python_repos.py | ||
|
||
<pre> | ||
chart = pygal.Bar(style=my_style, x_label_rotation=45, show_legend=False) | ||
<b>chart.force_uri_protocol = 'http'</b> | ||
</pre> | ||
|
||
### p. 387-388, bar_descriptions.py | ||
|
||
<pre> | ||
chart = pygal.Bar(style=my_style, x_label_rotation=45, show_legend=False) | ||
<b>chart.force_uri_protocol = 'http'</b> | ||
</pre> |