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

Skip to content

Commit d2dffee

Browse files
committed
Merged revisions 6960 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r6960 | efiring | 2009-03-07 09:19:40 -1000 (Sat, 07 Mar 2009) | 4 lines Remove references to handle graphics; it is registered trademark of Mathworks, and the pyplot resemblance is only superficial. ........ svn path=/trunk/matplotlib/; revision=6961
1 parent 28f01af commit d2dffee

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

doc/_templates/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>Welcome</h1>
3535

3636
<p>For the power user, you have full control of line styles, font
3737
properties, axes properties, etc, via an object oriented interface
38-
or via a handle graphics interface familiar to Matlab&reg; users.
38+
or via a set of functions familiar to Matlab&reg; users.
3939
The pylab mode provides all of the <a href="api/pyplot_api.html">pyplot</a> plotting
4040
functions listed below, as well as non-plotting functions from
4141
<a href="http://scipy.org/Numpy_Example_List_With_Doc">numpy</a> and
@@ -473,7 +473,7 @@ <h3>Plotting commands</h3> <br/>
473473
</th>
474474

475475
<td align="left">
476-
get a handle graphics property
476+
get a graphics property
477477
</td>
478478

479479
</tr>
@@ -792,7 +792,7 @@ <h3>Plotting commands</h3> <br/>
792792
</th>
793793

794794
<td align="left">
795-
set a handle graphics property
795+
set a graphics property
796796
</td>
797797

798798
</tr>

doc/pyplots/tex_demo.png

284 Bytes
Loading

doc/users/pyplot_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ several ways to set line properties
7878
line.set_antialiased(False) # turn off antialising
7979

8080
* Use the :func:`~matplotlib.pyplot.setp` command. The example below
81-
uses matlab handle graphics style command to set multiple properties
81+
uses a Matlab-style command to set multiple properties
8282
on a list of lines. ``setp`` works transparently with a list of objects
8383
or a single object. You can either use python keyword arguments or
84-
matlab-style string/value pairs::
84+
Matlab-style string/value pairs::
8585

8686
lines = plt.plot(x1, y1, x2, y2)
8787
# use keyword args

examples/pylab_examples/axes_props.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
plot(t, s)
1111
grid(True)
1212

13-
# matlab handle graphics style
13+
# matlab style
1414
xticklines = getp(gca(), 'xticklines')
1515
yticklines = getp(gca(), 'yticklines')
1616
xgridlines = getp(gca(), 'xgridlines')

lib/matplotlib/pylab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
gca - return the current axes
4343
gcf - return the current figure
4444
gci - get the current image, or None
45-
getp - get a handle graphics property
45+
getp - get a graphics property
4646
grid - set whether gridding is on
4747
hist - make a histogram
4848
hold - set the axes hold state
@@ -70,7 +70,7 @@
7070
rgrids - customize the radial grids and labels for polar
7171
savefig - save the current figure
7272
scatter - make a scatter plot
73-
setp - set a handle graphics property
73+
setp - set a graphics property
7474
semilogx - log x axis
7575
semilogy - log y axis
7676
show - show the figures

lib/matplotlib/pyplot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
194194
*number* attribute holding this number.
195195
196196
If *num* is an integer, and ``figure(num)`` already exists, make it
197-
active and return the handle to it. If ``figure(num)`` does not exist
197+
active and return a reference to it. If ``figure(num)`` does not exist
198198
it will be created. Numbering starts at 1, matlab style::
199199
200200
figure(1)
@@ -265,7 +265,7 @@ def make_active(event):
265265
return figManager.canvas.figure
266266

267267
def gcf():
268-
"Return a handle to the current figure."
268+
"Return a reference to the current figure."
269269

270270
figManager = _pylab_helpers.Gcf.get_active()
271271
if figManager is not None:
@@ -1177,7 +1177,7 @@ def plotting():
11771177
gca return the current axes
11781178
gcf return the current figure
11791179
gci get the current image, or None
1180-
getp get a handle graphics property
1180+
getp get a graphics property
11811181
hist make a histogram
11821182
hold set the hold state on current axes
11831183
legend add a legend to the axes
@@ -1194,7 +1194,7 @@ def plotting():
11941194
rc control the default params
11951195
savefig save the current figure
11961196
scatter make a scatter plot
1197-
setp set a handle graphics property
1197+
setp set a graphics property
11981198
semilogx log x axis
11991199
semilogy log y axis
12001200
show show the figures
@@ -1241,7 +1241,7 @@ def get_plot_commands(): return ( 'axes', 'axis', 'bar', 'boxplot', 'cla', 'clf'
12411241

12421242
def colors():
12431243
"""
1244-
This is a do nothing function to provide you with help on how
1244+
This is a do-nothing function to provide you with help on how
12451245
matplotlib handles colors.
12461246
12471247
Commands which take color arguments can use several formats to

0 commit comments

Comments
 (0)