Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

plt.style.use('datastory') fails #2

Closed
consideRatio opened this issue Jun 26, 2019 · 0 comments · Fixed by #4
Closed

plt.style.use('datastory') fails #2

consideRatio opened this issue Jun 26, 2019 · 0 comments · Fixed by #4

Comments

@consideRatio
Copy link
Contributor

The error...

OSError: 'datastory' not found in the style library and input is not a valid URL or path; see `style.available` for list of available styles

From running...

plt.style.use('datastory')

... can be resolved by:

plt.style.use('../assets/datastory.mpltstyle')
Notebook name Status
2019-01-23-educational-levels.ipynb OK! (style if clause)
2019-01-30-parents-education.ipynb OK! (style if clause)
2019-02-06-income-inequality.ipynb OK! (style if clause)
2019-02-21-child-birth.ipynb OK! (style if clause)
2019-02-28-migration-word-counts.ipynb Issue #1
2019-03-08-female-mps.ipynb OK! (style if clause)
2019-03-14-squad.ipynb fails on: plt.style.use('datastory')
2019-03-20-urbanization-africa.ipynb OK! (style if clause)
2019-04-04-no-friends.ipynb fails on: plt.style.use('datastory')
2019-04-10-state-budget.ipynb OK! (style if clause)
2019-04-25-age-of-leaders.ipynb OK! (style if clause)
2019-05-10-media-top-bottom.ipynb OK? No style used.
consideRatio added a commit to consideRatio/weekly-chart that referenced this issue Jun 26, 2019
- Added a mybinder.org badge
- Wrote more explicit local installation instructions
- Simplified the styling advice based on fix for datastory-org#2
consideRatio added a commit to consideRatio/weekly-chart that referenced this issue Jun 26, 2019
- Added a mybinder.org badge
- Wrote more explicit local installation instructions
- Simplified the styling advice based on fix for datastory-org#2
lapidus added a commit that referenced this issue Jul 11, 2019
Support usage of MyBinder.org - fixes #2, #3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant