Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subplots in drawmatrix_channels #53

Open
arokem opened this issue Apr 27, 2011 · 2 comments
Open

subplots in drawmatrix_channels #53

arokem opened this issue Apr 27, 2011 · 2 comments
Assignees

Comments

@arokem
Copy link
Member

arokem commented Apr 27, 2011

The ability to draw many matrices side by side in the same figure would be useful

@ghost ghost assigned arokem Apr 27, 2011
@Xunius
Copy link
Contributor

Xunius commented Sep 30, 2021

Do you think adding an optional ax=None kwarg to drawmatrix_channels() would work? If provided, for instance, from a ax = figure.add_subplot(nrows, ncols, idx), subplots could be achieved, and it opens the flexibility to people how they would like to arrange the subplots.

There is already a fig=None optional kwarg. Maybe we could make ax=None take priority if both ax and fig are given?

@arokem
Copy link
Member Author

arokem commented Sep 30, 2021

Another option is to deprecate the fig kwarg (throwing an informative error or warning when that is provided) and to add an ax_or_fig kwarg that does the right thing depending on what kind of object it got. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants