-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
This is not a bug, but a feature that I contend is implemented incorrectly.
When generating multiple subplots using fig, ax = plt.subplots(nrows, ncols) the returned 'axes' object(s) depend inconveniently on the number of rows and columns specified. Currently, the axes object is either a single object, a vector ax[i] or a matrix ax[i,j]. If the number of rows and/or columns is dynamically specified, this leads to convoluted programming to catch the different cases.
I believe it would be much more straightforward if it always returned an array of axes objects. If it can not be made the default, can it at least be added as a possibility via a keyword argument?
If this issue has been raised before, I apologise.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels