I have completely installed and re-installed matplotlib 3 times, 3 different ways. If I open idle, it will let me add import matplotlib, but as soon as I try to run sample code from the matplotlib website, I get errors, always when using the convention:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
from matplotlib.path import Path
from matplotlib.spines import Spine
from matplotlib.projections.polar import PolarAxes
from matplotlib.projections import register_projection
From the statement it can be anything. The only thing that follows is an errors saying
ImportError: No module named backends.backend_wxagg
Anon@TBCC-DELL-Mobile1:/home/tjohnson/python# python matplotlib.py
Traceback (most recent call last):
File "matplotlib.py", line 16, in <module>
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
File "/home/tjohnson/python/matplotlib.py", line 16, in <module>
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
ImportError: No module named backends.backend_wxagg
Anon@TBCC-DELL-Mobile1:/home/tjohnson/python# python radar_chart.py
Traceback (most recent call last):
File "radar_chart.py", line 14, in <module>
import matplotlib.pyplot as plt
File "/home/tjohnson/python/matplotlib.py", line 16, in <module>
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
ImportError: No module named backends.backend_wxagg
I have tried with several different versions of matplotlib and still same result. Suggestions?