FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add fullscreen toggle support to WxAgg backend by timhoffm · Pull Request #17843 · matplotlib/matplotlib · GitHub

Repository navigation

Add fullscreen toggle support to WxAgg backend - #17843

Merged
QuLogic merged 1 commit into
matplotlib:masterfrom
timhoffm:wxagg-fullscreen
Jul 7, 2020
Merged

QuLogic merged 1 commit into
matplotlib:masterfrom
timhoffm:wxagg-fullscreen

Conversation

timhoffm commented Jul 5, 2020

Copy link
Copy Markdown
Member

PR Summary

This implements the by default empty FigureManagerBase.full_screen_toggle for the WxAgg backend. Qt, Tk and GTK3 already have working implementations for this.

can be tested with either:

import matplotlib
matplotlib.use('wxagg')
import matplotlib.pyplot as plt
plt.plot([1,3,2])
plt.get_current_fig_manager().full_screen_toggle()

or

import matplotlib
matplotlib.use('wxagg')
import matplotlib.pyplot as plt
plt.plot([1,3,2])
plt.show()

and toggle with shortcut f.

timhoffm added this to the v3.4.0 milestone Jul 5, 2020

anntzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

"works for me" :)

QuLogic commented Jul 7, 2020

Copy link
Copy Markdown
Member

The default style says to remove menu bar, tool bar, status bar, border and caption. Does that remove our toolbar? And should we turn that off (I don't think other backends do so)?

timhoffm commented Jul 7, 2020

Copy link
Copy Markdown
Member Author

Defaults are ok. This is how it looks (blue figure background).

QuLogic merged commit bdf0177 into matplotlib:master Jul 7, 2020
timhoffm deleted the wxagg-fullscreen branch July 7, 2020 22:16
QuLogic mentioned this pull request Mar 18, 2021
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL