Skip to content

Instantly share code, notes, and snippets.

@goulu

goulu/Bug.ipynb Secret

Created November 17, 2015 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goulu/ba518d1a0a5267c0d3f3 to your computer and use it in GitHub Desktop.
Save goulu/ba518d1a0a5267c0d3f3 to your computer and use it in GitHub Desktop.
Matplotlib IPython Bug
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nicolaroberto-tesla
Copy link

Found out the solution at system level.

matplotlib.rcParams['axes.unicode_minus'] = False

Idea from here: https://stackoverflow.com/questions/30201310/use-of-hyphen-or-minus-sign-in-matplotlib-versus-compatibility-with-latex

Send beers.

Cheers,

NRZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment