Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9e4f38

Browse files
authored
Merge pull request #22316 from anntzer/toolbarhooks
Arbitrary figure customization hooks.
2 parents 2785adc + ac5f694 commit a9e4f38

File tree

11 files changed

+478
-1
lines changed

11 files changed

+478
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Figure hooks
2+
~~~~~~~~~~~~
3+
The new :rc:`figure.hooks` provides a mechanism to register
4+
arbitrary customizations on pyplot figures; it is a list of
5+
"dotted.module.name:dotted.callable.name" strings specifying functions
6+
that are called on each figure created by `.pyplot.figure`; these
7+
functions can e.g. attach callbacks or modify the toolbar. See
8+
:doc:`/gallery/user_interfaces/mplcvd` for an example of toolbar customization.
Lines changed: 70 additions & 0 deletions
Loading
3.44 KB
Binary file not shown.
635 Bytes
Loading
Lines changed: 70 additions & 0 deletions
Loading
1.12 KB
Loading

0 commit comments

Comments
 (0)