Skip to content

Commit 6ee9c88

Browse files
committed
Update 3.4.0rc3 docs.
1 parent 2d80656 commit 6ee9c88

File tree

3,692 files changed

+1508521
-1529105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,692 files changed

+1508521
-1529105
lines changed

3.4.0/.buildinfo

Lines changed: 0 additions & 4 deletions
This file was deleted.

3.4.0/Matplotlib.pdf

-540 KB
Binary file not shown.

3.4.0/_downloads/003118d8eb1e7df55671bcdf18bfac3c/sample_plots.ipynb

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

3.4.0/_downloads/13b7d80b1bb64b045c82435ce9688fe8/usage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def my_plotter(ax, data1, data2, param_dict):
271271
# plotting windows pop up when they type commands. Some people run
272272
# `Jupyter <https://jupyter.org>`_ notebooks and draw inline plots for
273273
# quick data analysis. Others embed Matplotlib into graphical user
274-
# interfaces like wxpython or pygtk to build rich applications. Some
274+
# interfaces like PyQt or PyGObject to build rich applications. Some
275275
# people use Matplotlib in batch scripts to generate postscript images
276276
# from numerical simulations, and still others run web application
277277
# servers to dynamically serve up graphs.
@@ -281,8 +281,8 @@ def my_plotter(ax, data1, data2, param_dict):
281281
# "frontend" is the user facing code, i.e., the plotting code, whereas the
282282
# "backend" does all the hard work behind-the-scenes to make the figure.
283283
# There are two types of backends: user interface backends (for use in
284-
# pygtk, wxpython, tkinter, qt4, qt5, or macosx; also referred to as
285-
# "interactive backends") and hardcopy backends to make image files
284+
# PyQt/PySide, PyGObject, Tkinter, wxPython, or macOS/Cocoa); also referred to
285+
# as "interactive backends") and hardcopy backends to make image files
286286
# (PNG, SVG, PDF, PS; also referred to as "non-interactive backends").
287287
#
288288
# Selecting a backend

3.4.0/_downloads/2b8686c30ce6bcda15c2e17de950c17c/customizing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""
2+
.. redirect-from:: /users/customizing
3+
24
Customizing Matplotlib with style sheets and rcParams
35
=====================================================
46

3.4.0/_downloads/43dfdc3242d6e3f7d2a54971e771b799/boxplot.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
},
6363
"outputs": [],
6464
"source": [
65-
"boxprops = dict(linestyle='--', linewidth=3, color='darkgoldenrod')\nflierprops = dict(marker='o', markerfacecolor='green', markersize=12,\n linestyle='none')\nmedianprops = dict(linestyle='-.', linewidth=2.5, color='firebrick')\nmeanpointprops = dict(marker='D', markeredgecolor='black',\n markerfacecolor='firebrick')\nmeanlineprops = dict(linestyle='--', linewidth=2.5, color='purple')\n\nfig, axs = plt.subplots(nrows=2, ncols=3, figsize=(6, 6), sharey=True)\naxs[0, 0].boxplot(data, boxprops=boxprops)\naxs[0, 0].set_title('Custom boxprops', fontsize=fs)\n\naxs[0, 1].boxplot(data, flierprops=flierprops, medianprops=medianprops)\naxs[0, 1].set_title('Custom medianprops\\nand flierprops', fontsize=fs)\n\naxs[0, 2].boxplot(data, whis=(0, 100))\naxs[0, 2].set_title('whis=(0, 100)', fontsize=fs)\n\naxs[1, 0].boxplot(data, meanprops=meanpointprops, meanline=False,\n showmeans=True)\naxs[1, 0].set_title('Custom mean\\nas point', fontsize=fs)\n\naxs[1, 1].boxplot(data, meanprops=meanlineprops, meanline=True,\n showmeans=True)\naxs[1, 1].set_title('Custom mean\\nas line', fontsize=fs)\n\naxs[1, 2].boxplot(data, whis=[15, 85])\naxs[1, 2].set_title('whis=[15, 85]\\n#percentiles', fontsize=fs)\n\nfor ax in axs.flat:\n ax.set_yscale('log')\n ax.set_yticklabels([])\n\nfig.suptitle(\"I never said they'd be pretty\")\nfig.subplots_adjust(hspace=0.4)\nplt.show()"
65+
"boxprops = dict(linestyle='--', linewidth=3, color='darkgoldenrod')\nflierprops = dict(marker='o', markerfacecolor='green', markersize=12,\n markeredgecolor='none')\nmedianprops = dict(linestyle='-.', linewidth=2.5, color='firebrick')\nmeanpointprops = dict(marker='D', markeredgecolor='black',\n markerfacecolor='firebrick')\nmeanlineprops = dict(linestyle='--', linewidth=2.5, color='purple')\n\nfig, axs = plt.subplots(nrows=2, ncols=3, figsize=(6, 6), sharey=True)\naxs[0, 0].boxplot(data, boxprops=boxprops)\naxs[0, 0].set_title('Custom boxprops', fontsize=fs)\n\naxs[0, 1].boxplot(data, flierprops=flierprops, medianprops=medianprops)\naxs[0, 1].set_title('Custom medianprops\\nand flierprops', fontsize=fs)\n\naxs[0, 2].boxplot(data, whis=(0, 100))\naxs[0, 2].set_title('whis=(0, 100)', fontsize=fs)\n\naxs[1, 0].boxplot(data, meanprops=meanpointprops, meanline=False,\n showmeans=True)\naxs[1, 0].set_title('Custom mean\\nas point', fontsize=fs)\n\naxs[1, 1].boxplot(data, meanprops=meanlineprops, meanline=True,\n showmeans=True)\naxs[1, 1].set_title('Custom mean\\nas line', fontsize=fs)\n\naxs[1, 2].boxplot(data, whis=[15, 85])\naxs[1, 2].set_title('whis=[15, 85]\\n#percentiles', fontsize=fs)\n\nfor ax in axs.flat:\n ax.set_yscale('log')\n ax.set_yticklabels([])\n\nfig.suptitle(\"I never said they'd be pretty\")\nfig.subplots_adjust(hspace=0.4)\nplt.show()"
6666
]
6767
},
6868
{

3.4.0/_downloads/55a714c8a6e4dde456b09326202fe492/sample_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
EEG GUI
386386
=======
387387
388-
You can embed Matplotlib into pygtk, wx, Tk, or Qt applications.
388+
You can embed Matplotlib into Qt, GTK, Tk, or wxWidgets applications.
389389
Here is a screenshot of an EEG viewer called `pbrain
390390
<https://github.com/nipy/pbrain>`__.
391391

3.4.0/_downloads/603608a2d26e02b436227a8a5321f1da/autoscale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
# with requested margins.
9393
#
9494
# While sticky edges don't increase the axis limits through extra margins,
95-
# negative margins are still taken into accout. This can be seen in
95+
# negative margins are still taken into account. This can be seen in
9696
# the reduced limits of the third image.
9797
#
9898
# Controlling autoscale
Binary file not shown.

3.4.0/_downloads/66fbde84b16e47d48c1453370b36aa55/autowrap.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
66
Matplotlib can wrap text automatically, but if it's too long, the text will be
77
displayed slightly outside of the boundaries of the axis anyways.
8+
9+
Note: Auto-wrapping does not work together with
10+
``savefig(..., bbox_inches='tight')``. The 'tight' setting rescales the canvas
11+
to accommodate all content and happens before wrapping. This affects
12+
``%matplotlib inline`` in IPython and Jupyter notebooks where the inline
13+
setting uses ``bbox_inches='tight'`` by default when saving the image to
14+
embed.
815
"""
916

1017
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)