Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
python-uga
training-hpc
Commits
85a7e826
Commit
85a7e826
authored
Jun 12, 2019
by
Loic Huder
Browse files
Fix of first interactivity example in advanced_matplotlib
parent
6a5f64c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
ipynb/11b_advanced_matplotlib.ipynb
View file @
85a7e826
...
...
@@ -280,11 +280,11 @@
X
=
np
.
arange
(
0
,
10
,
0.01
)
l
,
=
plt
.
plot
(
X
,
X
**
2
)
def
change_color
(
event
):
ax
.
add
.
set_color
(
'green'
)
l
.
set_color
(
'green'
)
f
.
canvas
.
mpl_connect
(
'button_press_event'
,
change_color
)
```
%% Cell type:markdown id: tags:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment