-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
ENH : add function to add displayhook #4091
Commits on May 25, 2015
-
ENH : add function to add displayhook for IPython
- add `draw_all` function to pyplot - add `install_ipython_repl_hook` to pyplot which when run monkey-patches the ipython DisplayHook to call draw_all when ever the repl comes back.
Configuration menu - View commit details
-
Copy full SHA for 96d3605 - Browse repository at this point
Copy the full SHA 96d3605View commit details -
ENH : greatly simplified last commit
- renamed to `install_repl_displayhook` - should work with all shells?
Configuration menu - View commit details
-
Copy full SHA for d9f9d2a - Browse repository at this point
Copy the full SHA d9f9d2aView commit details -
ENH : special case IPython display hook
Something funny goes on with the zeromq based kernels and we aren't modifying the namespace we think we are modifying.
Configuration menu - View commit details
-
Copy full SHA for 76a87fe - Browse repository at this point
Copy the full SHA 76a87feView commit details -
ENH : hook into IPython better
Follow advice from @minrk and use existing IPython pluggable machinery rather than terrifying monkey-patching.
Configuration menu - View commit details
-
Copy full SHA for fb994e9 - Browse repository at this point
Copy the full SHA fb994e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51f08cd - Browse repository at this point
Copy the full SHA 51f08cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28dcf3c - Browse repository at this point
Copy the full SHA 28dcf3cView commit details -
First pass at adding awareness of 'dirty' state to the draw tree. Changing properties of an artist (as indicated by a call to `self.pchanged()`) will make that artists axes and figure as 'dirty'. The state of the figure is queried by the `Gcf.draw_all` to only re-draw figure that are dirty. This is a major performance gain for expensive to draw figures. This is also (maybe) setting the stage for partial re-draws.
Configuration menu - View commit details
-
Copy full SHA for f9ac8d0 - Browse repository at this point
Copy the full SHA f9ac8d0View commit details -
ENH : add force logic to draw_all
Add kwarg to Gcf.draw_all to force redraw of all figures (even if the figure does not think it needs it).
Configuration menu - View commit details
-
Copy full SHA for 6a6f8d9 - Browse repository at this point
Copy the full SHA 6a6f8d9View commit details -
ENH : first pass at making Line2D objects dirty-aware
All set_* commands now set dirty to be True if the value is changed. This required pre-defining all of the Line2D private attributes in the `__init__` method so that all of the `set_*` methods work the first time through.
Configuration menu - View commit details
-
Copy full SHA for b8bd396 - Browse repository at this point
Copy the full SHA b8bd396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17c4461 - Browse repository at this point
Copy the full SHA 17c4461View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46af65a - Browse repository at this point
Copy the full SHA 46af65aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef08aa1 - Browse repository at this point
Copy the full SHA ef08aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8865f8 - Browse repository at this point
Copy the full SHA a8865f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 495b5a0 - Browse repository at this point
Copy the full SHA 495b5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234cc9c - Browse repository at this point
Copy the full SHA 234cc9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 771977f - Browse repository at this point
Copy the full SHA 771977fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aaae20 - Browse repository at this point
Copy the full SHA 1aaae20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 729ada7 - Browse repository at this point
Copy the full SHA 729ada7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa5cb4d - Browse repository at this point
Copy the full SHA fa5cb4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cec66f - Browse repository at this point
Copy the full SHA 9cec66fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb3562b - Browse repository at this point
Copy the full SHA fb3562bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6060a4c - Browse repository at this point
Copy the full SHA 6060a4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4bd0b - Browse repository at this point
Copy the full SHA bd4bd0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72fae28 - Browse repository at this point
Copy the full SHA 72fae28View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2df645 - Browse repository at this point
Copy the full SHA b2df645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7780821 - Browse repository at this point
Copy the full SHA 7780821View commit details -
Configuration menu - View commit details
-
Copy full SHA for cae51d3 - Browse repository at this point
Copy the full SHA cae51d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf7b91 - Browse repository at this point
Copy the full SHA ebf7b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5df792 - Browse repository at this point
Copy the full SHA c5df792View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74ebf82 - Browse repository at this point
Copy the full SHA 74ebf82View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e0039 - Browse repository at this point
Copy the full SHA e0e0039View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb0a22f - Browse repository at this point
Copy the full SHA cb0a22fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15451c7 - Browse repository at this point
Copy the full SHA 15451c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb3181b - Browse repository at this point
Copy the full SHA fb3181bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8dba5 - Browse repository at this point
Copy the full SHA 8f8dba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb82a85 - Browse repository at this point
Copy the full SHA cb82a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77450ac - Browse repository at this point
Copy the full SHA 77450acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c954e8 - Browse repository at this point
Copy the full SHA 9c954e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da78f69 - Browse repository at this point
Copy the full SHA da78f69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1939831 - Browse repository at this point
Copy the full SHA 1939831View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8d52d8 - Browse repository at this point
Copy the full SHA d8d52d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 013e1a7 - Browse repository at this point
Copy the full SHA 013e1a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 406e8ce - Browse repository at this point
Copy the full SHA 406e8ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3290982 - Browse repository at this point
Copy the full SHA 3290982View commit details -
FIX : use canonical linestyles kwarg in contour
LineCollections can have their line style set either via the explicit `linestyles` kwarg or via the imlicit `linestyle' which is set via `Artist` level `set_*` magic.
Configuration menu - View commit details
-
Copy full SHA for c541248 - Browse repository at this point
Copy the full SHA c541248View commit details -
MNT : remove unneeded call to set_linestyles
This function is called as part of the `Collection.__init__` call so does not need to be re-called. This also fixes an issue with the default value of 'linestyles` (solid) taking precedence over a passed in `linestyle` kwarg.
Configuration menu - View commit details
-
Copy full SHA for 30d1060 - Browse repository at this point
Copy the full SHA 30d1060View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1de4dd - Browse repository at this point
Copy the full SHA c1de4ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d971d - Browse repository at this point
Copy the full SHA 79d971dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c10dcb - Browse repository at this point
Copy the full SHA 2c10dcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd70834 - Browse repository at this point
Copy the full SHA cd70834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f3ef10 - Browse repository at this point
Copy the full SHA 3f3ef10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c677f - Browse repository at this point
Copy the full SHA 21c677fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9aa714 - Browse repository at this point
Copy the full SHA e9aa714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eeb64d - Browse repository at this point
Copy the full SHA 3eeb64dView commit details -
MNT : remove stale flags from Axes.draw
The first pass at getting this to work put all of the logic to label artists as not stale in the Axes.draw method. Now that all of the draw methods are marked up this is not needed.
Configuration menu - View commit details
-
Copy full SHA for 9706cc0 - Browse repository at this point
Copy the full SHA 9706cc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16bcbdf - Browse repository at this point
Copy the full SHA 16bcbdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f824578 - Browse repository at this point
Copy the full SHA f824578View commit details -
MNT : use draw_idle not draw in Gcf.draw_all
`draw_idle` has a better chance of not stepping on it's own toes and re-drawing multiple times in quick secession. I think this will also play nicer with the OSX backend?
Configuration menu - View commit details
-
Copy full SHA for 8112b43 - Browse repository at this point
Copy the full SHA 8112b43View commit details -
ENH : add stale flag to Axes.cla
Set stale after clearing (just to be safe)
Configuration menu - View commit details
-
Copy full SHA for 05f6426 - Browse repository at this point
Copy the full SHA 05f6426View commit details -
Configuration menu - View commit details
-
Copy full SHA for d29be28 - Browse repository at this point
Copy the full SHA d29be28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2970d30 - Browse repository at this point
Copy the full SHA 2970d30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83aafff - Browse repository at this point
Copy the full SHA 83aafffView commit details -
Configuration menu - View commit details
-
Copy full SHA for a555475 - Browse repository at this point
Copy the full SHA a555475View commit details -
MNT : add guards to only register repl hook once
Multiple calls to install_repl_displayhook are effectively no-ops.
Configuration menu - View commit details
-
Copy full SHA for f4efac1 - Browse repository at this point
Copy the full SHA f4efac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f41ae9e - Browse repository at this point
Copy the full SHA f41ae9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 096d714 - Browse repository at this point
Copy the full SHA 096d714View commit details -
FIX : order of operation is Poly3DCollection init
Make sure parent class is `__init__`'d before trying to use a function that requires _stale attribute.
Configuration menu - View commit details
-
Copy full SHA for 17d9ada - Browse repository at this point
Copy the full SHA 17d9adaView commit details -
ENH : integrate repl hook with is_interactive
- add calls to {un}install in plt.i{on, off} - registered functions consult `mpl.is_interactive` before triggering draws
Configuration menu - View commit details
-
Copy full SHA for 54da8cc - Browse repository at this point
Copy the full SHA 54da8ccView commit details -
FIX : logic for IPython hook registration
Only set the global _IP_REGISTERED if the registration succeeds, with the finally block it would be set if _both_ failed.
Configuration menu - View commit details
-
Copy full SHA for a26831d - Browse repository at this point
Copy the full SHA a26831dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c99420 - Browse repository at this point
Copy the full SHA 1c99420View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9faf4b - Browse repository at this point
Copy the full SHA a9faf4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3fb850 - Browse repository at this point
Copy the full SHA e3fb850View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2beb5f9 - Browse repository at this point
Copy the full SHA 2beb5f9View commit details -
MNT : hackily make boilerplate PY3 compatable
Hide the python2 only code in a conditional
Configuration menu - View commit details
-
Copy full SHA for f15c871 - Browse repository at this point
Copy the full SHA f15c871View commit details -
MNT : remove draw_if_interactive from boilerplate
With the repl callback the pyplot function do not need to call `draw_if_interactive`.
26Configuration menu - View commit details
-
Copy full SHA for b2fbae7 - Browse repository at this point
Copy the full SHA b2fbae7View commit details -
MNT : remove non-boilerplate
draw_if_interactive
There is still one `draw_if_interactive` left in the `rcdefaults` call as the current scheme does not track when rcparams change.
5Configuration menu - View commit details
-
Copy full SHA for 89923a6 - Browse repository at this point
Copy the full SHA 89923a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f00af - Browse repository at this point
Copy the full SHA 38f00afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9724f3d - Browse repository at this point
Copy the full SHA 9724f3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0abbcf6 - Browse repository at this point
Copy the full SHA 0abbcf6View commit details