Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4ba4766

Browse filesBrowse files
authored
Merge pull request #9503 from matplotlib/auto-backport-of-pr-9478
Backport PR #9478 on branch v2.1.0-doc
2 parents 13f912f + 1619578 commit 4ba4766
Copy full SHA for 4ba4766

File tree

Expand file treeCollapse file tree

7 files changed

+34
-0
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+34
-0
lines changed

‎examples/widgets/buttons.py

Copy file name to clipboardExpand all lines: examples/widgets/buttons.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Buttons
44
=======
55
6+
Constructing a simple button GUI to modify a sine wave.
7+
8+
The ``next`` and ``previous`` button widget helps visualize the wave with
9+
new frequencies.
610
"""
711

812
import numpy as np

‎examples/widgets/check_buttons.py

Copy file name to clipboardExpand all lines: examples/widgets/check_buttons.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Check Buttons
44
=============
55
6+
Turning visual elements on and off with check buttons.
7+
8+
This program shows the use of 'Check Buttons' which is similar to
9+
check boxes. There are 3 different sine waves shown and we can choose which
10+
waves are displayed with the check buttons.
611
"""
712
import numpy as np
813
import matplotlib.pyplot as plt

‎examples/widgets/lasso_selector_demo_sgskip.py

Copy file name to clipboardExpand all lines: examples/widgets/lasso_selector_demo_sgskip.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Lasso Selector Demo
44
===================
55
6+
Interactively selecting data points with the lasso tool.
7+
8+
This examples plots a scatter plot. You can then select a few points by drawing
9+
a lasso loop around the points on the graph. To draw, just click
10+
on the graph, hold, and drag it around the points you need to select.
611
"""
712
from __future__ import print_function
813

‎examples/widgets/multicursor.py

Copy file name to clipboardExpand all lines: examples/widgets/multicursor.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Multicursor
44
===========
55
6+
Showing a cursor on multiple plots simultaneously.
7+
8+
This example generates two subplots and on hovering
9+
the cursor over data in one subplot, the values of that datapoint
10+
are shown in both respectively.
611
"""
712
import numpy as np
813
import matplotlib.pyplot as plt

‎examples/widgets/radio_buttons.py

Copy file name to clipboardExpand all lines: examples/widgets/radio_buttons.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Radio Buttons
44
=============
55
6+
Using radio buttons to choose properties of your plot.
7+
8+
Radio buttons let you choose between multiple options in a visualization.
9+
In this case, the buttons let the user choose one of the three different sine
10+
waves to be shown in the plot.
611
"""
712
import numpy as np
813
import matplotlib.pyplot as plt

‎examples/widgets/slider_demo.py

Copy file name to clipboardExpand all lines: examples/widgets/slider_demo.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Slider Demo
44
===========
55
6+
Using the slider widget to control visual properties of your plot.
7+
8+
In this example, a slider is used to choose the frequency of a sine
9+
wave. You can control many continuously-varying properties of your plot in
10+
this way.
611
"""
712
import numpy as np
813
import matplotlib.pyplot as plt

‎examples/widgets/textbox.py

Copy file name to clipboardExpand all lines: examples/widgets/textbox.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Textbox
44
=======
55
6+
Allowing text input with the Textbox widget.
7+
8+
You can use the Textbox widget to let users provide any text that needs to be
9+
displayed, including formulas. You can use a submit button to create plots
10+
with the given input.
611
"""
712

813
import numpy as np

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.