-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Closed
Copy link
Labels
status: needs clarificationIssues that need more information to resolve.Issues that need more information to resolve.
Description
Bug report
Bug summary
pyplot.subplotsfrommatplotlibversion 2.0.0 is returningaxas amatplotlib.axes._subplots.AxesSubplotobject instead of anAxesobjects specified in the documentation (see http://matplotlib.org/).- Note:
matplotlib.axes.Axesobjects are much more useful to work with thanmatplotlib.axes._subplots.AxesSubplotobjects.
Code for reproduction
- A minimum code snippet:
# Paste your code here
from matplotlib import pyplot as plt
f, ax = plt.subplots()
type(ax)
print type(ax)Actual outcome
# The console output:
<class 'matplotlib.axes._subplots.AxesSubplot'>
Expected outcome
- According to the documentation, the returned ax should be a
matplotlib.axes.Axesobject.
Matplotlib version
- Matplotlib version: 2.0.0
- Python version: 2.7.12
- Platform OSX (10.11.6)
- Matplotlib and Python installed via anaconda
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: needs clarificationIssues that need more information to resolve.Issues that need more information to resolve.