-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Backend refactor #8777
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
Backend refactor #8777
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
9813e43
Refactor pass 1. Refactoring Gcf out of specific backend (backend_gt…
OceanWolf 91cbffc
Refactor Pass 2. Refactored Gcf out of all backend code.
OceanWolf aa3ff59
Quick fix to figure for safe unpickling.
OceanWolf f046e01
GTK3Agg
OceanWolf 39ff708
Refactored making `FigureManager` a *figure* manager, plus added miss…
OceanWolf 45c5fc2
keyword
OceanWolf ebf0c57
Make add_element more general, and make sure the code complies with it.
OceanWolf 9d25441
Better destroy order.
OceanWolf 6ae52f2
GTK simplifications
OceanWolf 1a47d3b
Added doc and cleaned backend_managers, don't want our new file dirty.
OceanWolf bc17372
Improve layout!
OceanWolf 3fb46f2
Move knowledge of the backend to the manager.
8000
OceanWolf 2758f3f
Incorporate MEP22 into MEP27
OceanWolf f354d3c
Improved new toolbar and updated tool_manager example accoridingly.
OceanWolf 51c0598
fullscreen
OceanWolf 6b35d85
MEP update
OceanWolf 724b622
Finish MEP22 conversion
OceanWolf 0b42bbe
rename window method
OceanWolf ef65740
Add backend anme to widgets
OceanWolf fb5202a
Handle FigureManager destroy internaly without pyplot.
OceanWolf 26ce3e6
Make functionality more consistant for embedded applications
OceanWolf 1cfebc4
Backend getter method for FigureManager
OceanWolf bc32fb1
Improve example after new method
OceanWolf 81b9e69
Clean up the code a bit
OceanWolf 85f0668
Remove old code from backend_managers
OceanWolf 6535148
Cleanup
OceanWolf 73e1122
Explicity get set manager as None if appropiate.
OceanWolf 592c49b
figure attribute and canvas property
fariza b5d7f57
Fix FigureCanvasBase
OceanWolf b842bdc
super
OceanWolf 92de15e
figure setter
fariza b619923
Improve MEP22 Tool Searching Structure
OceanWolf a07e482
adding example file
fariza 2dd8895
super dooper
OceanWolf ce9c8e7
Revert old example and fix new one.
OceanWolf 5542c5a
Improve MEP22 tool-searching method.
OceanWolf a975717
MEP22 Save Figure Tool
OceanWolf ecf1f23
pep8
OceanWolf 4531085
Make ToolConfigureSubplots a generic tool
OceanWolf 87fbd59
Improve flow handling and make it a lot more generic
OceanWolf f7eb33d
Missing resize method
OceanWolf 0a2aa5c
Convert to new structure for finding tools
OceanWolf 777b162
doc
OceanWolf 468bdd7
Add ExpandableBase
OceanWolf 209af6b
Template Backend plus fix FigManager for non-GUI backends and add gen…
OceanWolf 06686c7
rcParam and Travis
OceanWolf 2d93df8
test always MEP27
OceanWolf 6b15982
Fix FigureManager to allow pyplot to work for non GUI backends
OceanWolf 61f61f6
Fix Gcf.show_all()
OceanWolf 71f4813
doc
OceanWolf d3064b6
pep8
OceanWolf 2ca898c
remove show_popup
OceanWolf a567af6
AttributeError
OceanWolf 09fc887
Fixes for MEP27
OceanWolf f60333d
STY: replace \ with () for line continuation
tacaswell 072c47a
ENH: make MainLoopBase a context manager
tacaswell 214b684
MNT: further simplify MainLoopBase
tacaswell 35838c9
WIP:
tacaswell 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
Refactor Pass 2. Refactored Gcf out of all backend code.
- Loading branch information
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
Oops, something went wrong.
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.
As mentioned in the other PR this should probably be a contextmanager instead, which also avoids the need of "clever magic".