Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Description
Bug report
Bug summary
The xkcd context manager does not reset the config anymore
Code for reproduction
importmatplotlib.pyplotaspltwithplt.xkcd():plt.figure()plt.plot([1,2,3])plt.savefig('xkcd.png',dpi=300)plt.figure()plt.plot([1,2,3])plt.savefig('not_xkcd.png',dpi=300)
Actual outcome
Both figures are in xkcd style
Expected outcome
Second figure should be using default style
Matplotlib version
- Operating system:
- Matplotlib version: 2.1
- Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg - Python version: 3.6
using anaconda
Metadata
Metadata
Assignees
Labels
No labels