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

Skip to content

Commit 58883c5

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.1.0-doc' into v2.1.x
2 parents b03e0b2 + c13aeda commit 58883c5

19 files changed

Lines changed: 58 additions & 39 deletions

File tree

doc/_templates/autofunctions.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
{{ fullname | escape | underline }}
33

44

5-
.. currentmodule:: {{ fullname }}
5+
.. automodule:: {{ fullname }}
6+
:no-members:
67

78
{% block functions %}
89
{% if functions %}
910

1011
Functions
1112
---------
1213

13-
.. autosummary::
14+
.. autosummary::
1415
:template: autosummary.rst
1516
:toctree:
1617
{% for item in functions %}{% if item not in ['plotting', 'colormaps'] %}

doc/_templates/citing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<h1>Citing Matplotlib</h1>
66
<p>
77
If Matplotlib contributes to a project that leads to a scientific publication,
8-
please acknowledge this fact by citing the project. You can use this
9-
BibTeX entry:
8+
please acknowledge this fact by citing
9+
<a href ='http://doi.org/10.1109/MCSE.2007.55'>Hunter et al (2007)</a> using this ready-made BibTeX entry:
1010
</p>
1111
<pre>
1212
@Article{Hunter:2007,

doc/users/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ User's Guide
1414

1515
intro.rst
1616
installing.rst
17+
../tutorials/index.rst
1718
interactive.rst
1819
whats_new.rst
1920
github_stats.rst

examples/animation/movie_demo_sgskip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from __future__ import print_function
99

10+
import os
1011
import subprocess
1112
import matplotlib.pyplot as plt
1213
import numpy as np

examples/event_handling/close_event.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Close Event
44
===========
55
6+
Example to show connecting events that occur when the figure closes.
67
"""
78
from __future__ import print_function
89
import matplotlib.pyplot as plt

examples/event_handling/data_browser.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Data Browser
44
============
55
6+
Connecting data between multiple canvases.
7+
8+
This example covers how to interact data with multiple canvases. This
9+
let's you select and highlight a point on one axis, and generating the
10+
data of that point on the other axis.
611
"""
712
import numpy as np
813

examples/event_handling/looking_glass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Looking Glass
44
=============
55
6+
Example using mouse events to simulate a looking glass for inspecting data.
67
"""
78
import numpy as np
89
import matplotlib.pyplot as plt

examples/event_handling/path_editor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Path Editor
44
===========
55
6+
Sharing events across GUIs.
7+
8+
This example demonstrates a cross-GUI application using Matplotlib event
9+
handling to interact with and modify objects on the canvas.
610
"""
711
import numpy as np
812
import matplotlib.path as mpath

lib/matplotlib/legend_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
legend_handler(legend, orig_handle, fontsize, handlebox)
1111
1212
Where *legend* is the legend itself, *orig_handle* is the original
13-
plot, *fontsize* is the fontsize in pixles, and *handlebox* is a
13+
plot, *fontsize* is the fontsize in pixels, and *handlebox* is a
1414
OffsetBox instance. Within the call, you should create relevant
1515
artists (using relevant properties from the *legend* and/or
1616
*orig_handle*) and add them into the handlebox. The artists needs to

lib/matplotlib/patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def get_path(self):
705705
def _update_patch_transform(self):
706706
"""NOTE: This cannot be called until after this has been added
707707
to an Axes, otherwise unit conversion will fail. This
708-
maxes it very important to call the accessor method and
708+
makes it very important to call the accessor method and
709709
not directly access the transformation member variable.
710710
"""
711711
x = self.convert_xunits(self._x)
@@ -1465,7 +1465,7 @@ def __init__(self, xy, width, height, angle=0.0, **kwargs):
14651465
def _recompute_transform(self):
14661466
"""NOTE: This cannot be called until after this has been added
14671467
to an Axes, otherwise unit conversion will fail. This
1468-
maxes it very important to call the accessor method and
1468+
makes it very important to call the accessor method and
14691469
not directly access the transformation member variable.
14701470
"""
14711471
center = (self.convert_xunits(self.center[0]),

0 commit comments

Comments
 (0)