Istnieje klasa matplotlib.axes.AxesSubplot, ale moduł matplotlib.axes nie ma atrybutu AxesSubplot

Kod

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
print type(ax)

daje wyjście

<class 'matplotlib.axes.AxesSubplot'>

Potem kod

import matplotlib.axes
matplotlib.axes.AxesSubplot

podnosi wyjątek

AttributeError: 'module' object has no attribute 'AxesSubplot'

Podsumowując, istnieje klasamatplotlib.axes.AxesSubplot, ale modułmatplotlib.axes nie ma atrybutuAxesSubplot. Co u licha się dzieje?

Używam Matplotlib 1.1.0 i Python 2.7.3.

questionAnswers(1)

yourAnswerToTheQuestion