Skip to content

Commit 3d55690

Browse files
committed
cleaning up wording and pep
1 parent 7f5c07b commit 3d55690

File tree

6 files changed

+34
-6
lines changed

6 files changed

+34
-6
lines changed

examples/widgets/buttons.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
=======
33
Buttons
44
=======
5-
The program shows a simple GUI with a sine wave changing its frequency.The next and previous button widget used here helps shows the wave with new frequency.
5+
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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
=============
33
Check Buttons
44
=============
5-
This program shows the use of 'Check Buttons' which is similar to our usual check boxes. There are 3 different sine waves which are shown and by checking the boxes, we can choose which waves we want to see.
5+
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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
===================
33
Lasso Selector Demo
44
===================
5-
An example to show the use of Lasso Selector widget. The graph shows a scatter plot. You can select a few points by drawing a lasso loop around the points on the graphjust like any other Lasso tool. To draw, just click on the graph,hold and drag it around the points you need to select.
65
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.
711
"""
812
from __future__ import print_function
913

examples/widgets/multicursor.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
===========
33
Multicursor
44
===========
5-
A program to show multiple cursors. The graph has two subplots and on hovering the cursor over the two seperate graphs, the values are shown respectively.
5+
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/slider_demo.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
===========
33
Slider Demo
44
===========
5-
An example to show the use of slider widget. In this example, slider is used to choose the frequency of the wave.
5+
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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
=======
33
Textbox
44
=======
5-
It shows the use of textbox widget. You can use it mention any text that needs to be displayed or formulas or values. You can further use it to take input from the user, and use a submit button to create plots using the given input(Just a use case).
5+
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)