Skip to content

Conversation

martinRenou
Copy link
Member

No description provided.

Signed-off-by: martinRenou <martin.renou@gmail.com>
@martinRenou martinRenou force-pushed the toolbar_collapsed_state branch from e6a07b4 to 8ffea99 Compare March 2, 2020 11:42
@martinRenou martinRenou merged commit 39c167e into matplotlib:master Mar 2, 2020
@martinRenou martinRenou deleted the toolbar_collapsed_state branch March 2, 2020 12:45
@pelson
Copy link
Member

pelson commented Oct 17, 2020

I tried collapsing the toolbar by default with fig.canvas.toolbar.collapsed = True, but unfortunately it didn't do anything. Is it possible to set the collapsed state on the python side?

@martinRenou
Copy link
Member Author

It should be possible you run this.

Maybe we are not calling update_collapsed when creating the toolbar in JavaScript, hence it does not take the attribute into account at the widget construction. Do you mind opening an issue for this so we can keep track of it?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants