-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
MEP27 Decouple pyplot from backends (refactoring Gcf out of backend code) #4143
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
24caf2b
Refactor pass 1. Refactoring Gcf out of specific backend (backend_gt…
OceanWolf 2b05d38
Refactor Pass 2. Refactored Gcf out of all backend code.
OceanWolf f4fc354
Quick fix to figure for safe unpickling.
OceanWolf 0b31e3a
GTK3Agg
OceanWolf 6fb452e
Refactored making `FigureManager` a *figure* manager, plus added miss…
OceanWolf 0a868a2
keyword
OceanWolf 61ba2b4
Make add_element more general, and make sure the code complies with it.
OceanWolf f0eb84c
Better destroy order.
OceanWolf 8fe9cd7
GTK simplifications
OceanWolf 494e5f1
Added doc and cleaned backend_managers, don't want our new file dirty.
OceanWolf ed16178
Improve layout!
OceanWolf 21b8f58
Move knowledge of the backend to the manager.
OceanWolf cf42e3b
Incorporate MEP22 into MEP27
OceanWolf f027b16
Improved new toolbar and updated tool_manager example accoridingly.
OceanWolf 24b7b73
fullscreen
OceanWolf bc99129
MEP update
OceanWolf 7f7f05e
Finish MEP22 conversion
OceanWolf 713abcb
rename window method
OceanWolf 80adaaf
Add backend anme to widgets
OceanWolf 4e5f69d
Handle FigureManager destroy internaly without pyplot.
OceanWolf 160ef57
Make functionality more consistant for embedded applications
OceanWolf b6d6acc
Backend getter method for FigureManager
OceanWolf ecd5038
Improve example after new method
OceanWolf f8e83fe
Clean up the code a bit
OceanWolf c53b79a
Remove old code from backend_managers
OceanWolf 34c6b12
Cleanup
OceanWolf 8a4268a
Explicity get set manager as None if appropiate.
OceanWolf 44df199
figure attribute and canvas property
fariza 860a8ed
Fix FigureCanvasBase
OceanWolf c44e744
super
OceanWolf 2fe9215
figure setter
fariza 3b434ef
Improve MEP22 Tool Searching Structure
OceanWolf 490629f
adding example file
fariza 8eb987b
super dooper
OceanWolf 224a4f3
Revert old example and fix new one.
OceanWolf cdbd51b
Improve MEP22 tool-searching method.
OceanWolf 50e3719
MEP22 Save Figure Tool
OceanWolf 85be519
pep8
OceanWolf 7edaf5a
Make ToolConfigureSubplots a generic tool
OceanWolf 8e6e252
Improve flow handling and make it a lot more generic
OceanWolf 72575cb
Missing resize method
OceanWolf 4a78246
Convert to new structure for finding tools
OceanWolf e300707
doc
OceanWolf ee76451
Add ExpandableBase
OceanWolf 6f0c7ab
Template Backend plus fix FigManager for non-GUI backends and add gen…
OceanWolf ae9bf5b
rcParam and Travis
OceanWolf fb004e0
test
OceanWolf 1d2095b
test always MEP27
OceanWolf 24e43b3
Fix FigureManager to allow pyplot to work for non GUI backends
OceanWolf 208c3be
Fix Gcf.show_all()
OceanWolf a44ebd9
doc
OceanWolf f8f9cf2
pep8
OceanWolf 0e09a54
remove show_popup
OceanWolf a38b6d7
AttributeError
OceanWolf 64f0c61
Fixes for MEP27
OceanWolf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Refactor pass 1. Refactoring Gcf out of specific backend (backend_gtk…
…3.py)
- Loading branch information
commit 24caf2bccb930a7838475f0b95a3bb114756d88d
There are no files selected for viewing
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might as well stash a local copy of this so that you can always round-trip the get/set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really get this either, I just copied this from
FigureManagerBase
... when I created this, I did it to conserve as much of the original functioning as possible.I presume we did this so that non-interactive backends that didn't use their own
FigureManagerX
would report this to indicated that it just contained an image.My personal preference here lies either in getting rid of this altogether, or creating a specific non-interactive
WindowX
class for use by those backends.