Skip to content

Commit 8e8154a

Browse files
committed
ENH: expand notes a bit
1 parent 02b4d87 commit 8e8154a

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

notes.org

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
* introduction
2-
- post-it notes
32
- if you have used the pan / zoom tools or the 'g', 'l', 'k',
4-
... keys in mpl, you have used the mpl event framework
3+
etc keys in mpl, you have used the mpl event framework
54
- show demo of keys / pan / zoom
65
- the updating coordinates
7-
- this is the first time I have given this, thanks for being guinea pigs!
8-
- events has always been in mpl
9-
- think about this work with an eye towards embedding in your own GUI
6+
- events has always been in mpl (Event class came into codebase on
7+
Tue Dec 28 2004 as a refactoring of existing functionality
8+
109

1110
** There is at least a book of material here
1211

@@ -24,13 +23,13 @@ next!" - Ben Root
2423
https://www.packtpub.com/application-development/interactive-applications-using-matplotlib
2524

2625
- http://matplotlib.org/users/event_handling.html
27-
- this material will probably be folded into this page
2826
- http://matplotlib.org/examples/event_handling/index.html
2927
- http://matplotlib.org/api/widgets_api.html
3028

3129
** install
3230

33-
$ conda create -p /tmp/demo -c conda-forge -c conda-forge/label/rc 'matplotlib>1.6' pandas pytables ipython python=3
31+
$ conda create mpl_tut -c anaconda matplotlib pandas pytables ipython python=3.6
32+
$ source activate mpl_tut
3433

3534
* 00-explore
3635
- 'hello world' of event processing
@@ -66,7 +65,7 @@ $ conda create -p /tmp/demo -c conda-forge -c conda-forge/label/rc 'matplotlib>1
6665

6766
* 02-event filtering
6867
- use an object with several methods, hook them all up to events
69-
- look at the values in the events to decide what to do
68+
- look at the values in the events to decide what to do
7069
- hold an artist as state and mutate on user input
7170

7271
* interlude about data
@@ -110,3 +109,21 @@ bwi = load_bwi_data()
110109
- $ conda install -c conda-forge cartopy proj4
111110
- click on the stations to print station name + template
112111
- use
112+
113+
* Examples to look at
114+
** event_handling
115+
- data_browser.py
116+
- legend_picking.py
117+
- path_editor.py
118+
- poly_editor.py
119+
- viewlims.py
120+
- zoom_window.py
121+
** widgets
122+
- buttons.py
123+
- check_buttons.py
124+
- cursor.py
125+
- lasso_selector_demo_sgskip.py
126+
- polygon_selector_demo.py
127+
- rectangle_selector.py
128+
- slider_demo.py
129+
- span_selector.py

0 commit comments

Comments
 (0)