1

I am running python 3.5, via an up-to-date anaconda distribution, on windows 7. When I use Qt5Agg as the matplotlib backend (set via my matplotlibrc file), I get the error in the subject line. It is very simple to reproduce:

  • Start python from a cmd.exe prompt
  • from pylab import *
  • figure(1)

Same problem in ipython.

Thoughts? Thanks.

1 Answer 1

2

I had the same issue. I found the solution here

Specifically, the following now works:

import matplotlib matplotlib.use('Qt4Agg') from matplotlib import pyplot as plt plt.figure(figsize=(12,8)) plt.title("Score") plt.show() 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.