diff --git a/users/annotations.html b/users/annotations.html index 9d5ddf77c6c..d9226bf4d39 100644 --- a/users/annotations.html +++ b/users/annotations.html @@ -5,7 +5,8 @@ - + + Annotation — Matplotlib 2.0.2 documentation - + + Annotating Axes — Matplotlib 1.5.3 documentation - + + Annotating text — Matplotlib 1.5.3 documentation + + Artist tutorial — Matplotlib 2.0.2 documentation diff --git a/users/beginner.html b/users/beginner.html index d39cbd10c57..03b61b3362a 100644 --- a/users/beginner.html +++ b/users/beginner.html @@ -5,7 +5,8 @@ - + + Beginner’s Guide — Matplotlib 1.5.3 documentation - + + Citing matplotlib — Matplotlib 1.5.1 documentation - + + Colors — Matplotlib 2.0.2 documentation - + + Colormap Normalization — Matplotlib 2.0.2 documentation - + + Choosing Colormaps — Matplotlib 2.0.2 documentation - + + Specifying Colors — Matplotlib 2.0.2 documentation - + + Configuration Guide — Matplotlib 1.5.3 documentation - + + Overview — Matplotlib 1.5.1 documentation - + + Customizing matplotlib — Matplotlib 2.0.2 documentation - + + Advanced Guide — Matplotlib 1.5.3 documentation - + + Selected Examples — Matplotlib 2.0.2 documentation - + + Thumbnail gallery — Matplotlib 1.5.1 documentation - + + Index — Matplotlib 1.5.1 documentation - + + Customizing Location of Subplot Using GridSpec — Matplotlib 2.0.2 documentation - + + Image tutorial — Matplotlib 2.0.2 documentation - + + Working with text — Matplotlib 2.0.2 documentation - + + Introduction — Matplotlib 2.1.0 documentation - + + Legend guide — Matplotlib 2.0.2 documentation - + + Writing mathematical expressions — Matplotlib 2.0.2 documentation - + + Path Tutorial — Matplotlib 2.0.2 documentation - + + Path effects guide — Matplotlib 2.0.2 documentation - + + Typesetting With XeLaTeX/LuaLaTeX — Matplotlib 2.0.2 documentation ", - connectionstyle="arc3"), - ) - -plt.show() - diff --git a/users/plotting/examples/annotate_simple02.hires.png b/users/plotting/examples/annotate_simple02.hires.png deleted file mode 100644 index 393a21c9c6a..00000000000 Binary files a/users/plotting/examples/annotate_simple02.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple02.pdf b/users/plotting/examples/annotate_simple02.pdf deleted file mode 100644 index 4ecf121e729..00000000000 Binary files a/users/plotting/examples/annotate_simple02.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_simple02.png b/users/plotting/examples/annotate_simple02.png deleted file mode 100644 index 497efbbfd21..00000000000 Binary files a/users/plotting/examples/annotate_simple02.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple02.py b/users/plotting/examples/annotate_simple02.py deleted file mode 100644 index 25bb0002de5..00000000000 --- a/users/plotting/examples/annotate_simple02.py +++ /dev/null @@ -1,15 +0,0 @@ -import matplotlib.pyplot as plt - -plt.figure(1, figsize=(3,3)) -ax = plt.subplot(111) - -ax.annotate("Test", - xy=(0.2, 0.2), xycoords='data', - xytext=(0.8, 0.8), textcoords='data', - size=20, va="center", ha="center", - arrowprops=dict(arrowstyle="simple", - connectionstyle="arc3,rad=-0.2"), - ) - -plt.show() - diff --git a/users/plotting/examples/annotate_simple03.hires.png b/users/plotting/examples/annotate_simple03.hires.png deleted file mode 100644 index 0ec062df9cd..00000000000 Binary files a/users/plotting/examples/annotate_simple03.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple03.pdf b/users/plotting/examples/annotate_simple03.pdf deleted file mode 100644 index 7bd8d462297..00000000000 Binary files a/users/plotting/examples/annotate_simple03.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_simple03.png b/users/plotting/examples/annotate_simple03.png deleted file mode 100644 index 39e697abd39..00000000000 Binary files a/users/plotting/examples/annotate_simple03.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple03.py b/users/plotting/examples/annotate_simple03.py deleted file mode 100644 index 61a885afd2a..00000000000 --- a/users/plotting/examples/annotate_simple03.py +++ /dev/null @@ -1,17 +0,0 @@ -import matplotlib.pyplot as plt - -plt.figure(1, figsize=(3,3)) -ax = plt.subplot(111) - -ann = ax.annotate("Test", - xy=(0.2, 0.2), xycoords='data', - xytext=(0.8, 0.8), textcoords='data', - size=20, va="center", ha="center", - bbox=dict(boxstyle="round4", fc="w"), - arrowprops=dict(arrowstyle="-|>", - connectionstyle="arc3,rad=-0.2", - fc="w"), - ) - -plt.show() - diff --git a/users/plotting/examples/annotate_simple04.hires.png b/users/plotting/examples/annotate_simple04.hires.png deleted file mode 100644 index cad10a05eff..00000000000 Binary files a/users/plotting/examples/annotate_simple04.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple04.pdf b/users/plotting/examples/annotate_simple04.pdf deleted file mode 100644 index eb4a7c260b6..00000000000 Binary files a/users/plotting/examples/annotate_simple04.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_simple04.png b/users/plotting/examples/annotate_simple04.png deleted file mode 100644 index 3fbd0dd9bc5..00000000000 Binary files a/users/plotting/examples/annotate_simple04.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple04.py b/users/plotting/examples/annotate_simple04.py deleted file mode 100644 index cdbb1d80417..00000000000 --- a/users/plotting/examples/annotate_simple04.py +++ /dev/null @@ -1,29 +0,0 @@ -import matplotlib.pyplot as plt - -plt.figure(1, figsize=(3,3)) -ax = plt.subplot(111) - -ann = ax.annotate("Test", - xy=(0.2, 0.2), xycoords='data', - xytext=(0.8, 0.8), textcoords='data', - size=20, va="center", ha="center", - bbox=dict(boxstyle="round4", fc="w"), - arrowprops=dict(arrowstyle="-|>", - connectionstyle="arc3,rad=0.2", - relpos=(0., 0.), - fc="w"), - ) - -ann = ax.annotate("Test", - xy=(0.2, 0.2), xycoords='data', - xytext=(0.8, 0.8), textcoords='data', - size=20, va="center", ha="center", - bbox=dict(boxstyle="round4", fc="w"), - arrowprops=dict(arrowstyle="-|>", - connectionstyle="arc3,rad=-0.2", - relpos=(1., 0.), - fc="w"), - ) - -plt.show() - diff --git a/users/plotting/examples/annotate_simple_coord01.hires.png b/users/plotting/examples/annotate_simple_coord01.hires.png deleted file mode 100644 index d415bc4f4e3..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord01.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord01.pdf b/users/plotting/examples/annotate_simple_coord01.pdf deleted file mode 100644 index 6fc5829677d..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord01.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord01.png b/users/plotting/examples/annotate_simple_coord01.png deleted file mode 100644 index 6c4b91afbfc..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord01.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord01.py b/users/plotting/examples/annotate_simple_coord01.py deleted file mode 100644 index 7b53d0c2297..00000000000 --- a/users/plotting/examples/annotate_simple_coord01.py +++ /dev/null @@ -1,15 +0,0 @@ - -import matplotlib.pyplot as plt - -plt.figure(figsize=(3,2)) -ax=plt.subplot(111) -an1 = ax.annotate("Test 1", xy=(0.5, 0.5), xycoords="data", - va="center", ha="center", - bbox=dict(boxstyle="round", fc="w")) -an2 = ax.annotate("Test 2", xy=(1, 0.5), xycoords=an1, - xytext=(30,0), textcoords="offset points", - va="center", ha="left", - bbox=dict(boxstyle="round", fc="w"), - arrowprops=dict(arrowstyle="->")) -plt.show() - diff --git a/users/plotting/examples/annotate_simple_coord02.hires.png b/users/plotting/examples/annotate_simple_coord02.hires.png deleted file mode 100644 index df089c67b30..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord02.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord02.pdf b/users/plotting/examples/annotate_simple_coord02.pdf deleted file mode 100644 index 0d6c299dc3c..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord02.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord02.png b/users/plotting/examples/annotate_simple_coord02.png deleted file mode 100644 index 958901ee774..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord02.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord02.py b/users/plotting/examples/annotate_simple_coord02.py deleted file mode 100644 index d2ce74dc6cf..00000000000 --- a/users/plotting/examples/annotate_simple_coord02.py +++ /dev/null @@ -1,16 +0,0 @@ - -import matplotlib.pyplot as plt - -plt.figure(figsize=(3,2)) -ax=plt.axes([0.1, 0.1, 0.8, 0.7]) -an1 = ax.annotate("Test 1", xy=(0.5, 0.5), xycoords="data", - va="center", ha="center", - bbox=dict(boxstyle="round", fc="w")) - -an2 = ax.annotate("Test 2", xy=(0.5, 1.), xycoords=an1, - xytext=(0.5,1.1), textcoords=(an1, "axes fraction"), - va="bottom", ha="center", - bbox=dict(boxstyle="round", fc="w"), - arrowprops=dict(arrowstyle="->")) -plt.show() - diff --git a/users/plotting/examples/annotate_simple_coord03.hires.png b/users/plotting/examples/annotate_simple_coord03.hires.png deleted file mode 100644 index 613d3f30323..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord03.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord03.pdf b/users/plotting/examples/annotate_simple_coord03.pdf deleted file mode 100644 index 339b682028e..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord03.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord03.png b/users/plotting/examples/annotate_simple_coord03.png deleted file mode 100644 index eba450874c2..00000000000 Binary files a/users/plotting/examples/annotate_simple_coord03.png and /dev/null differ diff --git a/users/plotting/examples/annotate_simple_coord03.py b/users/plotting/examples/annotate_simple_coord03.py deleted file mode 100644 index b448f7513ca..00000000000 --- a/users/plotting/examples/annotate_simple_coord03.py +++ /dev/null @@ -1,19 +0,0 @@ - -import matplotlib.pyplot as plt - -plt.figure(figsize=(3,2)) -ax=plt.axes([0.1, 0.1, 0.8, 0.7]) -an1 = ax.annotate("Test 1", xy=(0.5, 0.5), xycoords="data", - va="center", ha="center", - bbox=dict(boxstyle="round", fc="w")) - -from matplotlib.text import OffsetFrom -offset_from = OffsetFrom(an1, (0.5, 0)) -an2 = ax.annotate("Test 2", xy=(0.1, 0.1), xycoords="data", - xytext=(0, -10), textcoords=offset_from, - # xytext is offset points from "xy=(0.5, 0), xycoords=an1" - va="top", ha="center", - bbox=dict(boxstyle="round", fc="w"), - arrowprops=dict(arrowstyle="->")) -plt.show() - diff --git a/users/plotting/examples/annotate_text_arrow.hires.png b/users/plotting/examples/annotate_text_arrow.hires.png deleted file mode 100644 index 8bfb17ba0d9..00000000000 Binary files a/users/plotting/examples/annotate_text_arrow.hires.png and /dev/null differ diff --git a/users/plotting/examples/annotate_text_arrow.pdf b/users/plotting/examples/annotate_text_arrow.pdf deleted file mode 100644 index 2487568b2ff..00000000000 Binary files a/users/plotting/examples/annotate_text_arrow.pdf and /dev/null differ diff --git a/users/plotting/examples/annotate_text_arrow.png b/users/plotting/examples/annotate_text_arrow.png deleted file mode 100644 index 09d2fda32a6..00000000000 Binary files a/users/plotting/examples/annotate_text_arrow.png and /dev/null differ diff --git a/users/plotting/examples/annotate_text_arrow.py b/users/plotting/examples/annotate_text_arrow.py deleted file mode 100644 index 4ed10f99670..00000000000 --- a/users/plotting/examples/annotate_text_arrow.py +++ /dev/null @@ -1,38 +0,0 @@ - -import numpy.random -import matplotlib.pyplot as plt - -fig = plt.figure(1, figsize=(5,5)) -fig.clf() - -ax = fig.add_subplot(111) -ax.set_aspect(1) - -x1 = -1 + numpy.random.randn(100) -y1 = -1 + numpy.random.randn(100) -x2 = 1. + numpy.random.randn(100) -y2 = 1. + numpy.random.randn(100) - -ax.scatter(x1, y1, color="r") -ax.scatter(x2, y2, color="g") - -bbox_props = dict(boxstyle="round", fc="w", ec="0.5", alpha=0.9) -ax.text(-2, -2, "Sample A", ha="center", va="center", size=20, - bbox=bbox_props) -ax.text(2, 2, "Sample B", ha="center", va="center", size=20, - bbox=bbox_props) - - -bbox_props = dict(boxstyle="rarrow", fc=(0.8,0.9,0.9), ec="b", lw=2) -t = ax.text(0, 0, "Direction", ha="center", va="center", rotation=45, - size=15, - bbox=bbox_props) - -bb = t.get_bbox_patch() -bb.set_boxstyle("rarrow", pad=0.6) - -ax.set_xlim(-4, 4) -ax.set_ylim(-4, 4) - -plt.draw() -plt.show() diff --git a/users/plotting/examples/colormap_normalizations_bounds.hires.png b/users/plotting/examples/colormap_normalizations_bounds.hires.png deleted file mode 100644 index 2ce92abbaf4..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_bounds.hires.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_bounds.pdf b/users/plotting/examples/colormap_normalizations_bounds.pdf deleted file mode 100644 index 5199514a807..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_bounds.pdf and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_bounds.png b/users/plotting/examples/colormap_normalizations_bounds.png deleted file mode 100644 index 7fc5d78c02b..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_bounds.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_bounds.py b/users/plotting/examples/colormap_normalizations_bounds.py deleted file mode 100644 index fb84e1d2efe..00000000000 --- a/users/plotting/examples/colormap_normalizations_bounds.py +++ /dev/null @@ -1,41 +0,0 @@ -""" -Demonstration of using norm to map colormaps onto data in non-linear ways. -""" - -import numpy as np -import matplotlib.pyplot as plt -import matplotlib.colors as colors -from matplotlib.mlab import bivariate_normal - -N = 100 -X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] -Z1 = (bivariate_normal(X, Y, 1., 1., 1.0, 1.0))**2 \ - - 0.4 * (bivariate_normal(X, Y, 1.0, 1.0, -1.0, 0.0))**2 -Z1 = Z1/0.03 - -''' -BoundaryNorm: For this one you provide the boundaries for your colors, -and the Norm puts the first color in between the first pair, the -second color between the second pair, etc. -''' - -fig, ax = plt.subplots(3, 1, figsize=(8, 8)) -ax = ax.flatten() -# even bounds gives a contour-like effect -bounds = np.linspace(-1, 1, 10) -norm = colors.BoundaryNorm(boundaries=bounds, ncolors=256) -pcm = ax[0].pcolormesh(X, Y, Z1, - norm=norm, - cmap='RdBu_r') -fig.colorbar(pcm, ax=ax[0], extend='both', orientation='vertical') - -# uneven bounds changes the colormapping: -bounds = np.array([-0.25, -0.125, 0, 0.5, 1]) -norm = colors.BoundaryNorm(boundaries=bounds, ncolors=256) -pcm = ax[1].pcolormesh(X, Y, Z1, norm=norm, cmap='RdBu_r') -fig.colorbar(pcm, ax=ax[1], extend='both', orientation='vertical') - -pcm = ax[2].pcolormesh(X, Y, Z1, cmap='RdBu_r', vmin=-np.max(Z1)) -fig.colorbar(pcm, ax=ax[2], extend='both', orientation='vertical') -fig.show() - diff --git a/users/plotting/examples/colormap_normalizations_custom.hires.png b/users/plotting/examples/colormap_normalizations_custom.hires.png deleted file mode 100644 index 33f2153f8ca..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_custom.hires.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_custom.pdf b/users/plotting/examples/colormap_normalizations_custom.pdf deleted file mode 100644 index 7661211e5db..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_custom.pdf and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_custom.png b/users/plotting/examples/colormap_normalizations_custom.png deleted file mode 100644 index fb55ca580dc..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_custom.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_custom.py b/users/plotting/examples/colormap_normalizations_custom.py deleted file mode 100644 index 89f6d7423e1..00000000000 --- a/users/plotting/examples/colormap_normalizations_custom.py +++ /dev/null @@ -1,46 +0,0 @@ -""" -Demonstration of using norm to map colormaps onto data in non-linear ways. -""" - -import numpy as np -import matplotlib.pyplot as plt -import matplotlib.colors as colors -from matplotlib.mlab import bivariate_normal - -N = 100 -''' -Custom Norm: An example with a customized normalization. This one -uses the example above, and normalizes the negative data differently -from the positive. -''' -X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] -Z1 = (bivariate_normal(X, Y, 1., 1., 1.0, 1.0))**2 \ - - 0.4 * (bivariate_normal(X, Y, 1.0, 1.0, -1.0, 0.0))**2 -Z1 = Z1/0.03 - -# Example of making your own norm. Also see matplotlib.colors. -# From Joe Kington: This one gives two different linear ramps: - - -class MidpointNormalize(colors.Normalize): - def __init__(self, vmin=None, vmax=None, midpoint=None, clip=False): - self.midpoint = midpoint - colors.Normalize.__init__(self, vmin, vmax, clip) - - def __call__(self, value, clip=None): - # I'm ignoring masked values and all kinds of edge cases to make a - # simple example... - x, y = [self.vmin, self.midpoint, self.vmax], [0, 0.5, 1] - return np.ma.masked_array(np.interp(value, x, y)) -##### -fig, ax = plt.subplots(2, 1) - -pcm = ax[0].pcolormesh(X, Y, Z1, - norm=MidpointNormalize(midpoint=0.), - cmap='RdBu_r') -fig.colorbar(pcm, ax=ax[0], extend='both') - -pcm = ax[1].pcolormesh(X, Y, Z1, cmap='RdBu_r', vmin=-np.max(Z1)) -fig.colorbar(pcm, ax=ax[1], extend='both') -fig.show() - diff --git a/users/plotting/examples/colormap_normalizations_lognorm.hires.png b/users/plotting/examples/colormap_normalizations_lognorm.hires.png deleted file mode 100644 index 795acb3312a..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_lognorm.hires.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_lognorm.pdf b/users/plotting/examples/colormap_normalizations_lognorm.pdf deleted file mode 100644 index 20a42ff0746..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_lognorm.pdf and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_lognorm.png b/users/plotting/examples/colormap_normalizations_lognorm.png deleted file mode 100644 index 0ab10a105e2..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_lognorm.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_lognorm.py b/users/plotting/examples/colormap_normalizations_lognorm.py deleted file mode 100644 index 82cd2a31bc6..00000000000 --- a/users/plotting/examples/colormap_normalizations_lognorm.py +++ /dev/null @@ -1,32 +0,0 @@ -""" -Demonstration of using norm to map colormaps onto data in non-linear ways. -""" - -import numpy as np -import matplotlib.pyplot as plt -import matplotlib.colors as colors -from matplotlib.mlab import bivariate_normal - -''' -Lognorm: Instead of pcolor log10(Z1) you can have colorbars that have -the exponential labels using a norm. -''' -N = 100 -X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] - -# A low hump with a spike coming out of the top right. Needs to have -# z/colour axis on a log scale so we see both hump and spike. linear -# scale only shows the spike. -Z1 = bivariate_normal(X, Y, 0.1, 0.2, 1.0, 1.0) + \ - 0.1 * bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0) - -fig, ax = plt.subplots(2, 1) - -pcm = ax[0].pcolor(X, Y, Z1, - norm=colors.LogNorm(vmin=Z1.min(), vmax=Z1.max()), - cmap='PuBu_r') -fig.colorbar(pcm, ax=ax[0], extend='max') - -pcm = ax[1].pcolor(X, Y, Z1, cmap='PuBu_r') -fig.colorbar(pcm, ax=ax[1], extend='max') -fig.show() diff --git a/users/plotting/examples/colormap_normalizations_power.hires.png b/users/plotting/examples/colormap_normalizations_power.hires.png deleted file mode 100644 index 28a6a84d0a4..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_power.hires.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_power.pdf b/users/plotting/examples/colormap_normalizations_power.pdf deleted file mode 100644 index f1e6b84a246..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_power.pdf and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_power.png b/users/plotting/examples/colormap_normalizations_power.png deleted file mode 100644 index 03d84bad71d..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_power.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_power.py b/users/plotting/examples/colormap_normalizations_power.py deleted file mode 100644 index 2b5b737074c..00000000000 --- a/users/plotting/examples/colormap_normalizations_power.py +++ /dev/null @@ -1,30 +0,0 @@ -""" -Demonstration of using norm to map colormaps onto data in non-linear ways. -""" - -import numpy as np -import matplotlib.pyplot as plt -import matplotlib.colors as colors -from matplotlib.mlab import bivariate_normal - -N = 100 -X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] - -''' -PowerNorm: Here a power-law trend in X partially obscures a rectified -sine wave in Y. We can remove the power law using a PowerNorm. -''' -X, Y = np.mgrid[0:3:complex(0, N), 0:2:complex(0, N)] -Z1 = (1 + np.sin(Y * 10.)) * X**(2.) - -fig, ax = plt.subplots(2, 1) - -pcm = ax[0].pcolormesh(X, Y, Z1, norm=colors.PowerNorm(gamma=1./2.), - cmap='PuBu_r') -fig.colorbar(pcm, ax=ax[0], extend='max') - -pcm = ax[1].pcolormesh(X, Y, Z1, cmap='PuBu_r') -fig.colorbar(pcm, ax=ax[1], extend='max') -fig.show() - - diff --git a/users/plotting/examples/colormap_normalizations_symlognorm.hires.png b/users/plotting/examples/colormap_normalizations_symlognorm.hires.png deleted file mode 100644 index 8713585791e..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_symlognorm.hires.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_symlognorm.pdf b/users/plotting/examples/colormap_normalizations_symlognorm.pdf deleted file mode 100644 index 80211bef2ec..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_symlognorm.pdf and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_symlognorm.png b/users/plotting/examples/colormap_normalizations_symlognorm.png deleted file mode 100644 index 812f4b7be9a..00000000000 Binary files a/users/plotting/examples/colormap_normalizations_symlognorm.png and /dev/null differ diff --git a/users/plotting/examples/colormap_normalizations_symlognorm.py b/users/plotting/examples/colormap_normalizations_symlognorm.py deleted file mode 100644 index 691b922946a..00000000000 --- a/users/plotting/examples/colormap_normalizations_symlognorm.py +++ /dev/null @@ -1,35 +0,0 @@ -""" -Demonstration of using norm to map colormaps onto data in non-linear ways. -""" - -import numpy as np -import matplotlib.pyplot as plt -import matplotlib.colors as colors -from matplotlib.mlab import bivariate_normal - -""" -SymLogNorm: two humps, one negative and one positive, The positive -with 5-times the amplitude. Linearly, you cannot see detail in the -negative hump. Here we logarithmically scale the positive and -negative data separately. - -Note that colorbar labels do not come out looking very good. -""" -N=100 -X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] -Z1 = (bivariate_normal(X, Y, 1., 1., 1.0, 1.0))**2 \ - - 0.4 * (bivariate_normal(X, Y, 1.0, 1.0, -1.0, 0.0))**2 -Z1 = Z1/0.03 - -fig, ax = plt.subplots(2, 1) - -pcm = ax[0].pcolormesh(X, Y, Z1, - norm=colors.SymLogNorm(linthresh=0.03, linscale=0.03, - vmin=-1.0, vmax=1.0), - cmap='RdBu_r') -fig.colorbar(pcm, ax=ax[0], extend='both') - -pcm = ax[1].pcolormesh(X, Y, Z1, cmap='RdBu_r', vmin=-np.max(Z1)) -fig.colorbar(pcm, ax=ax[1], extend='both') -fig.show() - diff --git a/users/plotting/examples/connect_simple01.hires.png b/users/plotting/examples/connect_simple01.hires.png deleted file mode 100644 index c7af22c221c..00000000000 Binary files a/users/plotting/examples/connect_simple01.hires.png and /dev/null differ diff --git a/users/plotting/examples/connect_simple01.pdf b/users/plotting/examples/connect_simple01.pdf deleted file mode 100644 index 86dde480472..00000000000 Binary files a/users/plotting/examples/connect_simple01.pdf and /dev/null differ diff --git a/users/plotting/examples/connect_simple01.png b/users/plotting/examples/connect_simple01.png deleted file mode 100644 index 4ab97e74ae2..00000000000 Binary files a/users/plotting/examples/connect_simple01.png and /dev/null differ diff --git a/users/plotting/examples/connect_simple01.py b/users/plotting/examples/connect_simple01.py deleted file mode 100644 index 7e251ca6bc2..00000000000 --- a/users/plotting/examples/connect_simple01.py +++ /dev/null @@ -1,31 +0,0 @@ -from matplotlib.patches import ConnectionPatch -import matplotlib.pyplot as plt - -fig = plt.figure(1, figsize=(6,3)) -ax1 = plt.subplot(121) -xyA=(0.2, 0.2) -xyB=(0.8, 0.8) -coordsA="data" -coordsB="data" -con = ConnectionPatch(xyA, xyB, coordsA, coordsB, - arrowstyle="-|>", shrinkA=5, shrinkB=5, - mutation_scale=20, fc="w") -ax1.plot([xyA[0], xyB[0]], [xyA[1], xyB[1]], "o") -ax1.add_artist(con) - -ax2 = plt.subplot(122) -#xyA=(0.7, 0.7) -xy=(0.3, 0.2) -coordsA="data" -coordsB="data" -con = ConnectionPatch(xyA=xy, xyB=xy, coordsA=coordsA, coordsB=coordsB, - axesA=ax2, axesB=ax1, - arrowstyle="->", shrinkB=5) -ax2.add_artist(con) - -ax1.set_xlim(0, 1) -ax1.set_ylim(0, 1) -ax2.set_xlim(0, .5) -ax2.set_ylim(0, .5) -plt.draw() -plt.show() diff --git a/users/plotting/examples/connectionstyle_demo.hires.png b/users/plotting/examples/connectionstyle_demo.hires.png deleted file mode 100644 index 6ec8ba3fbe5..00000000000 Binary files a/users/plotting/examples/connectionstyle_demo.hires.png and /dev/null differ diff --git a/users/plotting/examples/connectionstyle_demo.pdf b/users/plotting/examples/connectionstyle_demo.pdf deleted file mode 100644 index 3f39d73d0af..00000000000 Binary files a/users/plotting/examples/connectionstyle_demo.pdf and /dev/null differ diff --git a/users/plotting/examples/connectionstyle_demo.png b/users/plotting/examples/connectionstyle_demo.png deleted file mode 100644 index 71d1bf4f4e6..00000000000 Binary files a/users/plotting/examples/connectionstyle_demo.png and /dev/null differ diff --git a/users/plotting/examples/connectionstyle_demo.py b/users/plotting/examples/connectionstyle_demo.py deleted file mode 100644 index baa68fab5ad..00000000000 --- a/users/plotting/examples/connectionstyle_demo.py +++ /dev/null @@ -1,109 +0,0 @@ - -import matplotlib.pyplot as plt -import matplotlib.patches as mpatches - -fig = plt.figure(1, figsize=(8,5)) -fig.clf() -from mpl_toolkits.axes_grid.axes_grid import AxesGrid -from mpl_toolkits.axes_grid.anchored_artists import AnchoredText - -#from matplotlib.font_manager import FontProperties - -def add_at(ax, t, loc=2): - fp = dict(size=8) - _at = AnchoredText(t, loc=loc, prop=fp) - ax.add_artist(_at) - return _at - - -grid = AxesGrid(fig, 111, (3, 5), label_mode="1", share_all=True) - -grid[0].set_autoscale_on(False) - - -x1, y1 = 0.3, 0.3 -x2, y2 = 0.7, 0.7 - - -def demo_con_style(ax, connectionstyle, label=None): - - if label is None: - label = connectionstyle - - x1, y1 = 0.3, 0.2 - x2, y2 = 0.8, 0.6 - - ax.plot([x1, x2], [y1, y2], ".") - ax.annotate("", - xy=(x1, y1), xycoords='data', - xytext=(x2, y2), textcoords='data', - arrowprops=dict(arrowstyle="->", #linestyle="dashed", - color="0.5", - shrinkA=5, shrinkB=5, - patchA=None, - patchB=None, - connectionstyle=connectionstyle, - ), - ) - - add_at(ax, label, loc=2) - -column = grid.axes_column[0] - -demo_con_style(column[0], "angle3,angleA=90,angleB=0", - label="angle3,\nangleA=90,\nangleB=0") -demo_con_style(column[1], "angle3,angleA=0,angleB=90", - label="angle3,\nangleA=0,\nangleB=90") - - - -column = grid.axes_column[1] - -demo_con_style(column[0], "arc3,rad=0.") -demo_con_style(column[1], "arc3,rad=0.3") -demo_con_style(column[2], "arc3,rad=-0.3") - - - -column = grid.axes_column[2] - -demo_con_style(column[0], "angle,angleA=-90,angleB=180,rad=0", - label="angle,\nangleA=-90,\nangleB=180,\nrad=0") -demo_con_style(column[1], "angle,angleA=-90,angleB=180,rad=5", - label="angle,\nangleA=-90,\nangleB=180,\nrad=5") -demo_con_style(column[2], "angle,angleA=-90,angleB=10,rad=5", - label="angle,\nangleA=-90,\nangleB=10,\nrad=0") - - -column = grid.axes_column[3] - -demo_con_style(column[0], "arc,angleA=-90,angleB=0,armA=30,armB=30,rad=0", - label="arc,\nangleA=-90,\nangleB=0,\narmA=30,\narmB=30,\nrad=0") -demo_con_style(column[1], "arc,angleA=-90,angleB=0,armA=30,armB=30,rad=5", - label="arc,\nangleA=-90,\nangleB=0,\narmA=30,\narmB=30,\nrad=5") -demo_con_style(column[2], "arc,angleA=-90,angleB=0,armA=0,armB=40,rad=0", - label="arc,\nangleA=-90,\nangleB=0,\narmA=0,\narmB=40,\nrad=0") - - -column = grid.axes_column[4] - -demo_con_style(column[0], "bar,fraction=0.3", - label="bar,\nfraction=0.3") -demo_con_style(column[1], "bar,fraction=-0.3", - label="bar,\nfraction=-0.3") -demo_con_style(column[2], "bar,angle=180,fraction=-0.2", - label="bar,\nangle=180,\nfraction=-0.2") - - -#demo_con_style(column[1], "arc3,rad=0.3") -#demo_con_style(column[2], "arc3,rad=-0.3") - - -grid[0].set_xlim(0, 1) -grid[0].set_ylim(0, 1) -grid.axes_llc.axis["bottom"].toggle(ticklabels=False) -grid.axes_llc.axis["left"].toggle(ticklabels=False) -fig.subplots_adjust(left=0.05, right=0.95, bottom=0.05, top=0.95) - -plt.draw() -plt.show() diff --git a/users/plotting/examples/custom_boxstyle01.hires.png b/users/plotting/examples/custom_boxstyle01.hires.png deleted file mode 100644 index 57be7a5fd94..00000000000 Binary files a/users/plotting/examples/custom_boxstyle01.hires.png and /dev/null differ diff --git a/users/plotting/examples/custom_boxstyle01.pdf b/users/plotting/examples/custom_boxstyle01.pdf deleted file mode 100644 index 3b147a53d55..00000000000 Binary files a/users/plotting/examples/custom_boxstyle01.pdf and /dev/null differ diff --git a/users/plotting/examples/custom_boxstyle01.png b/users/plotting/examples/custom_boxstyle01.png deleted file mode 100644 index 188e75769c0..00000000000 Binary files a/users/plotting/examples/custom_boxstyle01.png and /dev/null differ diff --git a/users/plotting/examples/custom_boxstyle01.py b/users/plotting/examples/custom_boxstyle01.py deleted file mode 100644 index f53f135d38e..00000000000 --- a/users/plotting/examples/custom_boxstyle01.py +++ /dev/null @@ -1,47 +0,0 @@ -from matplotlib.path import Path - -def custom_box_style(x0, y0, width, height, mutation_size, mutation_aspect=1): - """ - Given the location and size of the box, return the path of - the box around it. - - - *x0*, *y0*, *width*, *height* : location and size of the box - - *mutation_size* : a reference scale for the mutation. - - *aspect_ratio* : aspect-ration for the mutation. - """ - - # note that we are ignoring mutation_aspect. This is okay in general. - - # padding - mypad = 0.3 - pad = mutation_size * mypad - - # width and height with padding added. - width, height = width + 2.*pad, \ - height + 2.*pad, - - # boundary of the padded box - x0, y0 = x0-pad, y0-pad, - x1, y1 = x0+width, y0 + height - - cp = [(x0, y0), - (x1, y0), (x1, y1), (x0, y1), - (x0-pad, (y0+y1)/2.), (x0, y0), - (x0, y0)] - - com = [Path.MOVETO, - Path.LINETO, Path.LINETO, Path.LINETO, - Path.LINETO, Path.LINETO, - Path.CLOSEPOLY] - - path = Path(cp, com) - - return path - - -import matplotlib.pyplot as plt - -plt.figure(1, figsize=(3,3)) -ax = plt.subplot(111) -ax.text(0.5, 0.5, "Test", size=30, va="center", ha="center", - bbox=dict(boxstyle=custom_box_style, alpha=0.2)) diff --git a/users/plotting/examples/custom_boxstyle02.hires.png b/users/plotting/examples/custom_boxstyle02.hires.png deleted file mode 100644 index a79093fd75d..00000000000 Binary files a/users/plotting/examples/custom_boxstyle02.hires.png and /dev/null differ diff --git a/users/plotting/examples/custom_boxstyle02.pdf b/users/plotting/examples/custom_boxstyle02.pdf deleted file mode 100644 index bb6f236ccbb..00000000000 Binary files a/users/plotting/examples/custom_boxstyle02.pdf and /dev/null differ diff --git a/users/plotting/examples/custom_boxstyle02.png b/users/plotting/examples/custom_boxstyle02.png deleted file mode 100644 index 0eea83560fb..00000000000 Binary files a/users/plotting/examples/custom_boxstyle02.png and /dev/null differ diff --git a/users/plotting/examples/custom_boxstyle02.py b/users/plotting/examples/custom_boxstyle02.py deleted file mode 100644 index bd6616c8158..00000000000 --- a/users/plotting/examples/custom_boxstyle02.py +++ /dev/null @@ -1,74 +0,0 @@ -from matplotlib.path import Path -from matplotlib.patches import BoxStyle -import matplotlib.pyplot as plt - -# we may derive from matplotlib.patches.BoxStyle._Base class. -# You need to override transmute method in this case. - -class MyStyle(BoxStyle._Base): - """ - A simple box. - """ - - def __init__(self, pad=0.3): - """ - The arguments need to be floating numbers and need to have - default values. - - *pad* - amount of padding - """ - - self.pad = pad - super(MyStyle, self).__init__() - - def transmute(self, x0, y0, width, height, mutation_size): - """ - Given the location and size of the box, return the path of - the box around it. - - - *x0*, *y0*, *width*, *height* : location and size of the box - - *mutation_size* : a reference scale for the mutation. - - Often, the *mutation_size* is the font size of the text. - You don't need to worry about the rotation as it is - automatically taken care of. - """ - - # padding - pad = mutation_size * self.pad - - # width and height with padding added. - width, height = width + 2.*pad, \ - height + 2.*pad, - - # boundary of the padded box - x0, y0 = x0-pad, y0-pad, - x1, y1 = x0+width, y0 + height - - cp = [(x0, y0), - (x1, y0), (x1, y1), (x0, y1), - (x0-pad, (y0+y1)/2.), (x0, y0), - (x0, y0)] - - com = [Path.MOVETO, - Path.LINETO, Path.LINETO, Path.LINETO, - Path.LINETO, Path.LINETO, - Path.CLOSEPOLY] - - path = Path(cp, com) - - return path - - -# register the custom style -BoxStyle._style_list["angled"] = MyStyle - -plt.figure(1, figsize=(3,3)) -ax = plt.subplot(111) -ax.text(0.5, 0.5, "Test", size=30, va="center", ha="center", rotation=30, - bbox=dict(boxstyle="angled,pad=0.5", alpha=0.2)) - -del BoxStyle._style_list["angled"] - -plt.show() diff --git a/users/plotting/examples/demo_gridspec01.hires.png b/users/plotting/examples/demo_gridspec01.hires.png deleted file mode 100644 index b6f4c43a7f4..00000000000 Binary files a/users/plotting/examples/demo_gridspec01.hires.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec01.pdf b/users/plotting/examples/demo_gridspec01.pdf deleted file mode 100644 index db1f350b482..00000000000 Binary files a/users/plotting/examples/demo_gridspec01.pdf and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec01.png b/users/plotting/examples/demo_gridspec01.png deleted file mode 100644 index ba5bba258f6..00000000000 Binary files a/users/plotting/examples/demo_gridspec01.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec01.py b/users/plotting/examples/demo_gridspec01.py deleted file mode 100644 index 55c76a7f0f4..00000000000 --- a/users/plotting/examples/demo_gridspec01.py +++ /dev/null @@ -1,20 +0,0 @@ -import matplotlib.pyplot as plt - -def make_ticklabels_invisible(fig): - for i, ax in enumerate(fig.axes): - ax.text(0.5, 0.5, "ax%d" % (i+1), va="center", ha="center") - for tl in ax.get_xticklabels() + ax.get_yticklabels(): - tl.set_visible(False) - - -plt.figure(0) -ax1 = plt.subplot2grid((3,3), (0,0), colspan=3) -ax2 = plt.subplot2grid((3,3), (1,0), colspan=2) -ax3 = plt.subplot2grid((3,3), (1, 2), rowspan=2) -ax4 = plt.subplot2grid((3,3), (2, 0)) -ax5 = plt.subplot2grid((3,3), (2, 1)) - -plt.suptitle("subplot2grid") -make_ticklabels_invisible(plt.gcf()) -plt.show() - diff --git a/users/plotting/examples/demo_gridspec02.hires.png b/users/plotting/examples/demo_gridspec02.hires.png deleted file mode 100644 index b53e2d7c11a..00000000000 Binary files a/users/plotting/examples/demo_gridspec02.hires.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec02.pdf b/users/plotting/examples/demo_gridspec02.pdf deleted file mode 100644 index d7386584d48..00000000000 Binary files a/users/plotting/examples/demo_gridspec02.pdf and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec02.png b/users/plotting/examples/demo_gridspec02.png deleted file mode 100644 index a1a27f8c83c..00000000000 Binary files a/users/plotting/examples/demo_gridspec02.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec02.py b/users/plotting/examples/demo_gridspec02.py deleted file mode 100644 index 43a7f089940..00000000000 --- a/users/plotting/examples/demo_gridspec02.py +++ /dev/null @@ -1,26 +0,0 @@ -import matplotlib.pyplot as plt -from matplotlib.gridspec import GridSpec - - -def make_ticklabels_invisible(fig): - for i, ax in enumerate(fig.axes): - ax.text(0.5, 0.5, "ax%d" % (i+1), va="center", ha="center") - for tl in ax.get_xticklabels() + ax.get_yticklabels(): - tl.set_visible(False) - - -plt.figure() - -gs = GridSpec(3, 3) -ax1 = plt.subplot(gs[0, :]) -# identical to ax1 = plt.subplot(gs.new_subplotspec((0,0), colspan=3)) -ax2 = plt.subplot(gs[1,:-1]) -ax3 = plt.subplot(gs[1:, -1]) -ax4 = plt.subplot(gs[-1,0]) -ax5 = plt.subplot(gs[-1,-2]) - -plt.suptitle("GridSpec") -make_ticklabels_invisible(plt.gcf()) - -plt.show() - diff --git a/users/plotting/examples/demo_gridspec03.hires.png b/users/plotting/examples/demo_gridspec03.hires.png deleted file mode 100644 index 57f7324d568..00000000000 Binary files a/users/plotting/examples/demo_gridspec03.hires.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec03.pdf b/users/plotting/examples/demo_gridspec03.pdf deleted file mode 100644 index a97b74c3acd..00000000000 Binary files a/users/plotting/examples/demo_gridspec03.pdf and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec03.png b/users/plotting/examples/demo_gridspec03.png deleted file mode 100644 index 3165b66afd1..00000000000 Binary files a/users/plotting/examples/demo_gridspec03.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec03.py b/users/plotting/examples/demo_gridspec03.py deleted file mode 100644 index da7c801566c..00000000000 --- a/users/plotting/examples/demo_gridspec03.py +++ /dev/null @@ -1,34 +0,0 @@ -import matplotlib.pyplot as plt -from matplotlib.gridspec import GridSpec - - -def make_ticklabels_invisible(fig): - for i, ax in enumerate(fig.axes): - ax.text(0.5, 0.5, "ax%d" % (i+1), va="center", ha="center") - for tl in ax.get_xticklabels() + ax.get_yticklabels(): - tl.set_visible(False) - - - -# demo 3 : gridspec with subplotpars set. - -f = plt.figure() - -plt.suptitle("GridSpec w/ different subplotpars") - -gs1 = GridSpec(3, 3) -gs1.update(left=0.05, right=0.48, wspace=0.05) -ax1 = plt.subplot(gs1[:-1, :]) -ax2 = plt.subplot(gs1[-1, :-1]) -ax3 = plt.subplot(gs1[-1, -1]) - -gs2 = GridSpec(3, 3) -gs2.update(left=0.55, right=0.98, hspace=0.05) -ax4 = plt.subplot(gs2[:, :-1]) -ax5 = plt.subplot(gs2[:-1, -1]) -ax6 = plt.subplot(gs2[-1, -1]) - -make_ticklabels_invisible(plt.gcf()) - -plt.show() - diff --git a/users/plotting/examples/demo_gridspec04.hires.png b/users/plotting/examples/demo_gridspec04.hires.png deleted file mode 100644 index 5547eb28d97..00000000000 Binary files a/users/plotting/examples/demo_gridspec04.hires.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec04.pdf b/users/plotting/examples/demo_gridspec04.pdf deleted file mode 100644 index b98c5a6f9da..00000000000 Binary files a/users/plotting/examples/demo_gridspec04.pdf and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec04.png b/users/plotting/examples/demo_gridspec04.png deleted file mode 100644 index ddd12ef69a5..00000000000 Binary files a/users/plotting/examples/demo_gridspec04.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec04.py b/users/plotting/examples/demo_gridspec04.py deleted file mode 100644 index f948b13d91e..00000000000 --- a/users/plotting/examples/demo_gridspec04.py +++ /dev/null @@ -1,41 +0,0 @@ -import matplotlib.pyplot as plt -import matplotlib.gridspec as gridspec - -def make_ticklabels_invisible(fig): - for i, ax in enumerate(fig.axes): - ax.text(0.5, 0.5, "ax%d" % (i+1), va="center", ha="center") - for tl in ax.get_xticklabels() + ax.get_yticklabels(): - tl.set_visible(False) - - - -# gridspec inside gridspec - -f = plt.figure() - -gs0 = gridspec.GridSpec(1, 2) - -gs00 = gridspec.GridSpecFromSubplotSpec(3, 3, subplot_spec=gs0[0]) - -ax1 = plt.Subplot(f, gs00[:-1, :]) -f.add_subplot(ax1) -ax2 = plt.Subplot(f, gs00[-1, :-1]) -f.add_subplot(ax2) -ax3 = plt.Subplot(f, gs00[-1, -1]) -f.add_subplot(ax3) - - -gs01 = gridspec.GridSpecFromSubplotSpec(3, 3, subplot_spec=gs0[1]) - -ax4 = plt.Subplot(f, gs01[:, :-1]) -f.add_subplot(ax4) -ax5 = plt.Subplot(f, gs01[:-1, -1]) -f.add_subplot(ax5) -ax6 = plt.Subplot(f, gs01[-1, -1]) -f.add_subplot(ax6) - -plt.suptitle("GirdSpec Inside GridSpec") -make_ticklabels_invisible(plt.gcf()) - -plt.show() - diff --git a/users/plotting/examples/demo_gridspec05.hires.png b/users/plotting/examples/demo_gridspec05.hires.png deleted file mode 100644 index bc2be52506e..00000000000 Binary files a/users/plotting/examples/demo_gridspec05.hires.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec05.pdf b/users/plotting/examples/demo_gridspec05.pdf deleted file mode 100644 index 8fb4975fa91..00000000000 Binary files a/users/plotting/examples/demo_gridspec05.pdf and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec05.png b/users/plotting/examples/demo_gridspec05.png deleted file mode 100644 index 23278afb579..00000000000 Binary files a/users/plotting/examples/demo_gridspec05.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec05.py b/users/plotting/examples/demo_gridspec05.py deleted file mode 100644 index 6bc263a8933..00000000000 --- a/users/plotting/examples/demo_gridspec05.py +++ /dev/null @@ -1,26 +0,0 @@ -import matplotlib.pyplot as plt -import matplotlib.gridspec as gridspec - -def make_ticklabels_invisible(fig): - for i, ax in enumerate(fig.axes): - ax.text(0.5, 0.5, "ax%d" % (i+1), va="center", ha="center") - for tl in ax.get_xticklabels() + ax.get_yticklabels(): - tl.set_visible(False) - - - -f = plt.figure() - -gs = gridspec.GridSpec(2, 2, - width_ratios=[1,2], - height_ratios=[4,1] - ) - -ax1 = plt.subplot(gs[0]) -ax2 = plt.subplot(gs[1]) -ax3 = plt.subplot(gs[2]) -ax4 = plt.subplot(gs[3]) - -make_ticklabels_invisible(f) -plt.show() - diff --git a/users/plotting/examples/demo_gridspec06.hires.png b/users/plotting/examples/demo_gridspec06.hires.png deleted file mode 100644 index d9ee5534329..00000000000 Binary files a/users/plotting/examples/demo_gridspec06.hires.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec06.pdf b/users/plotting/examples/demo_gridspec06.pdf deleted file mode 100644 index 0ab2964e8bc..00000000000 Binary files a/users/plotting/examples/demo_gridspec06.pdf and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec06.png b/users/plotting/examples/demo_gridspec06.png deleted file mode 100644 index 06cceb9d192..00000000000 Binary files a/users/plotting/examples/demo_gridspec06.png and /dev/null differ diff --git a/users/plotting/examples/demo_gridspec06.py b/users/plotting/examples/demo_gridspec06.py deleted file mode 100644 index e1fbaf5c5f9..00000000000 --- a/users/plotting/examples/demo_gridspec06.py +++ /dev/null @@ -1,53 +0,0 @@ -import matplotlib.pyplot as plt -import matplotlib.gridspec as gridspec -import numpy as np - -try: - from itertools import product -except ImportError: - # product is new in v 2.6 - def product(*args, **kwds): - pools = map(tuple, args) * kwds.get('repeat', 1) - result = [[]] - for pool in pools: - result = [x+[y] for x in result for y in pool] - for prod in result: - yield tuple(prod) - - -def squiggle_xy(a, b, c, d, i=np.arange(0.0, 2*np.pi, 0.05)): - return np.sin(i*a)*np.cos(i*b), np.sin(i*c)*np.cos(i*d) - -fig = plt.figure(figsize=(8, 8)) - -# gridspec inside gridspec -outer_grid = gridspec.GridSpec(4, 4, wspace=0.0, hspace=0.0) - -for i in range(16): - inner_grid = gridspec.GridSpecFromSubplotSpec(3, 3, - subplot_spec=outer_grid[i], wspace=0.0, hspace=0.0) - a, b = int(i/4)+1,i%4+1 - for j, (c, d) in enumerate(product(range(1, 4), repeat=2)): - ax = plt.Subplot(fig, inner_grid[j]) - ax.plot(*squiggle_xy(a, b, c, d)) - ax.set_xticks([]) - ax.set_yticks([]) - fig.add_subplot(ax) - -all_axes = fig.get_axes() - -#show only the outside spines -for ax in all_axes: - for sp in ax.spines.values(): - sp.set_visible(False) - if ax.is_first_row(): - ax.spines['top'].set_visible(True) - if ax.is_last_row(): - ax.spines['bottom'].set_visible(True) - if ax.is_first_col(): - ax.spines['left'].set_visible(True) - if ax.is_last_col(): - ax.spines['right'].set_visible(True) - -plt.show() - diff --git a/users/plotting/examples/simple_legend01.hires.png b/users/plotting/examples/simple_legend01.hires.png deleted file mode 100644 index c4e37939511..00000000000 Binary files a/users/plotting/examples/simple_legend01.hires.png and /dev/null differ diff --git a/users/plotting/examples/simple_legend01.pdf b/users/plotting/examples/simple_legend01.pdf deleted file mode 100644 index 5cd544ff30d..00000000000 Binary files a/users/plotting/examples/simple_legend01.pdf and /dev/null differ diff --git a/users/plotting/examples/simple_legend01.png b/users/plotting/examples/simple_legend01.png deleted file mode 100644 index 752013c8742..00000000000 Binary files a/users/plotting/examples/simple_legend01.png and /dev/null differ diff --git a/users/plotting/examples/simple_legend01.py b/users/plotting/examples/simple_legend01.py deleted file mode 100644 index 8e0ede33167..00000000000 --- a/users/plotting/examples/simple_legend01.py +++ /dev/null @@ -1,18 +0,0 @@ -import matplotlib.pyplot as plt - - -plt.subplot(211) -plt.plot([1,2,3], label="test1") -plt.plot([3,2,1], label="test2") -# Place a legend above this subplot, expanding itself to -# fully use the given bounding box. -plt.legend(bbox_to_anchor=(0., 1.02, 1., .102), loc=3, - ncol=2, mode="expand", borderaxespad=0.) - -plt.subplot(223) -plt.plot([1,2,3], label="test1") -plt.plot([3,2,1], label="test2") -# Place a legend to the right of this smaller subplot. -plt.legend(bbox_to_anchor=(1.05, 1), loc=2, borderaxespad=0.) - -plt.show() diff --git a/users/plotting/examples/simple_legend02.hires.png b/users/plotting/examples/simple_legend02.hires.png deleted file mode 100644 index 6ae71be55df..00000000000 Binary files a/users/plotting/examples/simple_legend02.hires.png and /dev/null differ diff --git a/users/plotting/examples/simple_legend02.pdf b/users/plotting/examples/simple_legend02.pdf deleted file mode 100644 index 56b9c5d5b74..00000000000 Binary files a/users/plotting/examples/simple_legend02.pdf and /dev/null differ diff --git a/users/plotting/examples/simple_legend02.png b/users/plotting/examples/simple_legend02.png deleted file mode 100644 index 99e2468b1f6..00000000000 Binary files a/users/plotting/examples/simple_legend02.png and /dev/null differ diff --git a/users/plotting/examples/simple_legend02.py b/users/plotting/examples/simple_legend02.py deleted file mode 100644 index dabd2f072e7..00000000000 --- a/users/plotting/examples/simple_legend02.py +++ /dev/null @@ -1,15 +0,0 @@ -import matplotlib.pyplot as plt - -line1, = plt.plot([1,2,3], label="Line 1", linestyle='--') -line2, = plt.plot([3,2,1], label="Line 2", linewidth=4) - -# Create a legend for the first line. -first_legend = plt.legend(handles=[line1], loc=1) - -# Add the legend manually to the current Axes. -ax = plt.gca().add_artist(first_legend) - -# Create another legend for the second line. -plt.legend(handles=[line2], loc=4) - -plt.show() diff --git a/users/py-modindex.html b/users/py-modindex.html index dadca296624..f99644fec68 100644 --- a/users/py-modindex.html +++ b/users/py-modindex.html @@ -5,7 +5,8 @@ - + + Python Module Index — Matplotlib 1.5.1 documentation - + + Pyplot tutorial — Matplotlib 2.0.2 documentation upper_bound, facecolor='blue', alpha=0.5) -ax.set_xlabel('num steps') -ax.set_ylabel('position') -ax.grid() \ No newline at end of file diff --git a/users/recipes-7.hires.png b/users/recipes-7.hires.png deleted file mode 100644 index 5d6317355ed..00000000000 Binary files a/users/recipes-7.hires.png and /dev/null differ diff --git a/users/recipes-7.pdf b/users/recipes-7.pdf deleted file mode 100644 index 79f35010e5b..00000000000 Binary files a/users/recipes-7.pdf and /dev/null differ diff --git a/users/recipes-7.png b/users/recipes-7.png deleted file mode 100644 index ff83ff02290..00000000000 Binary files a/users/recipes-7.png and /dev/null differ diff --git a/users/recipes-7.py b/users/recipes-7.py deleted file mode 100644 index 194959b8830..00000000000 --- a/users/recipes-7.py +++ /dev/null @@ -1,8 +0,0 @@ -np.random.seed(1234) -fig, ax = plt.subplots(1) -ax.plot(np.random.randn(300), 'o-', label='normal distribution') -ax.plot(np.random.rand(300), 's-', label='uniform distribution') -ax.set_ylim(-3, 3) -ax.legend(loc='best', fancybox=True, framealpha=0.5) - -ax.set_title('fancy, transparent legends') \ No newline at end of file diff --git a/users/recipes-8.hires.png b/users/recipes-8.hires.png deleted file mode 100644 index ab0216e5db3..00000000000 Binary files a/users/recipes-8.hires.png and /dev/null differ diff --git a/users/recipes-8.pdf b/users/recipes-8.pdf deleted file mode 100644 index 054124e5f2a..00000000000 Binary files a/users/recipes-8.pdf and /dev/null differ diff --git a/users/recipes-8.png b/users/recipes-8.png deleted file mode 100644 index 61099a6a67f..00000000000 Binary files a/users/recipes-8.png and /dev/null differ diff --git a/users/recipes-8.py b/users/recipes-8.py deleted file mode 100644 index b431806f37f..00000000000 --- a/users/recipes-8.py +++ /dev/null @@ -1,15 +0,0 @@ -np.random.seed(1234) -fig, ax = plt.subplots(1) -x = 30*np.random.randn(10000) -mu = x.mean() -median = np.median(x) -sigma = x.std() -textstr = '$\mu=%.2f$\n$\mathrm{median}=%.2f$\n$\sigma=%.2f$'%(mu, median, sigma) - -ax.hist(x, 50) -# these are matplotlib.patch.Patch properties -props = dict(boxstyle='round', facecolor='wheat', alpha=0.5) - -# place a text box in upper left in axes coords -ax.text(0.05, 0.95, textstr, transform=ax.transAxes, fontsize=14, - verticalalignment='top', bbox=props) \ No newline at end of file diff --git a/users/recipes.html b/users/recipes.html index ea103fa6108..84a0ae21bfa 100644 --- a/users/recipes.html +++ b/users/recipes.html @@ -5,7 +5,8 @@ - + + Our Favorite Recipes — Matplotlib 2.0.2 documentation - + + Screenshots — Matplotlib 2.0.2 documentation - + + Search — Matplotlib 1.5.1 documentation matplotlib.backend_bases","matplotlib.backends.backend_gtkagg","matplotlib.backend_managers","matplotlib.backends.backend_pdf","matplotlib.backends.backend_qt4agg","matplotlib.backend_tools","matplotlib.backends.backend_wxagg","cbook","cm (colormap)","collections","colorbar","colors","dates","dviread","figure","finance","font_manager","gridspec","image","The Matplotlib API","backends","Legend","lines","Markers","mathtext","The top level matplotlib module","mlab","offsetbox","patches","path","patheffects","pyplot","Plotting commands summary","sankey","spines","style","text","ticker","tight_layout","triangular grids","type1font","units","widgets","Overview","MEP8: PEP8","MEP9: Global interaction manager","MEP10: Docstring consistency","MEP11: Third-party dependencies","MEP12: Improve Gallery and Examples","MEP13: Use properties for Artists","MEP14: Text handling","MEP15 - Fix axis autoscaling when limits are specified for one axis only","MEP19: Continuous Integration","MEP21: color and cm refactor","MEP22: Toolbar rewrite","MEP23: Multiple Figures per GUI window","MEP24: negative radius in polar plots","MEP25: Serialization","MEP26: Artist styling","MEP27: decouple pyplot from backends","Matplotlib Enhancement Proposals","MEP Template","Adding new scales and projections to matplotlib","Coding guide","Default Color changes","Documenting matplotlib","Configure git","Development workflow","Two and three dots in difference specs","Following the latest source","Making your own copy (fork) of matplotlib","Git for development","Install git","Introduction","git resources","Working with matplotlib source code","Making a patch","Set up your fork","The Matplotlib Developers’ Guide","Licenses","Writing code for Python 2 and 3","Doing a matplotlib release","Testing","Working with transformations","animation example code: animate_decay.py","animation example code: basic_example.py","animation example code: basic_example_writer.py","animation example code: bayes_update.py","animation example code: double_pendulum_animated.py","animation example code: dynamic_image.py","animation example code: dynamic_image2.py","animation example code: histogram.py","animation Examples","animation example code: moviewriter.py","animation example code: rain.py","animation example code: random_data.py","animation example code: simple_3danim.py","animation example code: simple_anim.py","animation example code: strip_chart_demo.py","animation example code: subplots.py","animation example code: unchained.py","api example code: agg_oo.py","api example code: barchart_demo.py","api example code: bbox_intersect.py","api example code: collections_demo.py","api example code: colorbar_only.py","api example code: compound_path.py","api example code: custom_projection_example.py","api example code: custom_scale_example.py","api example code: date_demo.py","api example code: date_index_formatter.py","api example code: demo_affine_image.py","api example code: donut_demo.py","api example code: engineering_formatter.py","api example code: filled_step.py","api example code: font_family_rc.py","api example code: font_file.py","api example code: histogram_path_demo.py","api example code: image_zcoord.py","api Examples","api example code: joinstyle.py","api example code: legend_demo.py","api example code: line_with_text.py","api example code: logo2.py","api example code: mathtext_asarray.py","api example code: patch_collection.py","api example code: power_norm_demo.py","api example code: quad_bezier.py","api example code: radar_chart.py","api example code: sankey_demo_basics.py","api example code: sankey_demo_links.py","api example code: sankey_demo_old.py","api example code: sankey_demo_rankine.py","api example code: scatter_piecharts.py","api example code: skewt.py","api example code: span_regions.py","api example code: two_scales.py","api example code: unicode_minus.py","api example code: watermark_image.py","api example code: watermark_text.py","axes_grid example code: demo_axes_divider.py","axes_grid example code: demo_axes_grid.py","axes_grid example code: demo_axes_grid2.py","axes_grid example code: demo_axes_hbox_divider.py","axes_grid example code: demo_axes_rgb.py","axes_grid example code: demo_axisline_style.py","axes_grid example code: demo_colorbar_with_inset_locator.py","axes_grid example code: demo_curvelinear_grid.py","axes_grid example code: demo_curvelinear_grid2.py","axes_grid example code: demo_edge_colorbar.py","axes_grid example code: demo_floating_axes.py","axes_grid example code: demo_floating_axis.py","axes_grid example code: demo_imagegrid_aspect.py","axes_grid example code: demo_parasite_axes2.py","axes_grid Examples","axes_grid example code: inset_locator_demo.py","axes_grid example code: inset_locator_demo2.py","axes_grid example code: make_room_for_ylabel_using_axesgrid.py","axes_grid example code: parasite_simple2.py","axes_grid example code: scatter_hist.py","axes_grid example code: simple_anchored_artists.py","axes_grid example code: simple_axesgrid.py","axes_grid example code: simple_axesgrid2.py","axes_grid example code: simple_axisline4.py","color example code: color_cycle_demo.py","color example code: colormaps_reference.py","color Examples","color example code: named_colors.py","event_handling example code: close_event.py","event_handling example code: data_browser.py","event_handling example code: figure_axes_enter_leave.py","event_handling example code: idle_and_timeout.py","event_handling Examples","event_handling example code: keypress_demo.py","event_handling example code: lasso_demo.py","event_handling example code: legend_picking.py","event_handling example code: looking_glass.py","event_handling example code: path_editor.py","event_handling example code: pick_event_demo.py","event_handling example code: pick_event_demo2.py","event_handling example code: pipong.py","event_handling example code: poly_editor.py","event_handling example code: pong_gtk.py","event_handling example code: resample.py","event_handling example code: test_mouseclicks.py","event_handling example code: timers.py","event_handling example code: trifinder_event_demo.py","event_handling example code: viewlims.py","event_handling example code: zoom_window.py","images_contours_and_fields example code: contourf_log.py","images_contours_and_fields example code: image_demo.py","images_contours_and_fields example code: image_demo_clip_path.py","images_contours_and_fields Examples","images_contours_and_fields example code: interpolation_methods.py","images_contours_and_fields example code: interpolation_none_vs_nearest.py","images_contours_and_fields example code: pcolormesh_levels.py","images_contours_and_fields example code: streamplot_demo_features.py","images_contours_and_fields example code: streamplot_demo_masking.py","images_contours_and_fields example code: streamplot_demo_start_points.py","Matplotlib Examples","lines_bars_and_markers example code: barh_demo.py","lines_bars_and_markers example code: fill_demo.py","lines_bars_and_markers example code: fill_demo_features.py","lines_bars_and_markers Examples","lines_bars_and_markers example code: line_demo_dash_control.py","lines_bars_and_markers example code: line_styles_reference.py","lines_bars_and_markers example code: marker_fillstyle_reference.py","lines_bars_and_markers example code: marker_reference.py","lines_bars_and_markers example code: scatter_with_legend.py","misc example code: contour_manual.py","misc example code: font_indexing.py","misc example code: ftface_props.py","misc example code: image_thumbnail.py","misc Examples","misc example code: longshort.py","misc example code: multiprocess.py","misc example code: rasterization_demo.py","misc example code: rc_traits.py","misc example code: rec_groupby_demo.py","misc example code: rec_join_demo.py","misc example code: sample_data_demo.py","misc example code: svg_filter_line.py","misc example code: svg_filter_pie.py","misc example code: tight_bbox_test.py","mplot3d example code: 2dcollections3d_demo.py","mplot3d example code: bars3d_demo.py","mplot3d example code: contour3d_demo.py","mplot3d example code: contour3d_demo2.py","mplot3d example code: contour3d_demo3.py","mplot3d example code: contourf3d_demo.py","mplot3d example code: contourf3d_demo2.py","mplot3d example code: custom_shaded_3d_surface.py","mplot3d example code: hist3d_demo.py","mplot3d Examples","mplot3d example code: lines3d_demo.py","mplot3d example code: lorenz_attractor.py","mplot3d example code: mixed_subplots_demo.py","mplot3d example code: offset_demo.py","mplot3d example code: pathpatch3d_demo.py","mplot3d example code: polys3d_demo.py","mplot3d example code: quiver3d_demo.py","mplot3d example code: rotate_axes3d_demo.py","mplot3d example code: scatter3d_demo.py","mplot3d example code: subplot3d_demo.py","mplot3d example code: surface3d_demo.py","mplot3d example code: surface3d_demo2.py","mplot3d example code: surface3d_demo3.py","mplot3d example code: surface3d_radial_demo.py","mplot3d example code: text3d_demo.py","mplot3d example code: tricontour3d_demo.py","mplot3d example code: tricontourf3d_demo.py","mplot3d example code: trisurf3d_demo.py","mplot3d example code: trisurf3d_demo2.py","mplot3d example code: wire3d_animation_demo.py","mplot3d example code: wire3d_demo.py","mplot3d example code: wire3d_zero_stride.py","pie_and_polar_charts Examples","pie_and_polar_charts example code: pie_demo_features.py","pie_and_polar_charts example code: polar_bar_demo.py","pie_and_polar_charts example code: polar_scatter_demo.py","pylab_examples example code: accented_text.py","pylab_examples example code: agg_buffer.py","pylab_examples example code: agg_buffer_to_array.py","pylab_examples example code: alignment_test.py","pylab_examples example code: anchored_artists.py","pylab_examples example code: animation_demo.py","pylab_examples example code: annotation_demo.py","pylab_examples example code: annotation_demo2.py","pylab_examples example code: annotation_demo3.py","pylab_examples example code: anscombe.py","pylab_examples example code: arctest.py","pylab_examples example code: arrow_demo.py","pylab_examples example code: arrow_simple_demo.py","pylab_examples example code: aspect_loglog.py","pylab_examples example code: axes_demo.py","pylab_examples example code: axes_props.py","pylab_examples example code: axes_zoom_effect.py","pylab_examples example code: axhspan_demo.py","pylab_examples example code: axis_equal_demo.py","pylab_examples example code: bar_stacked.py","pylab_examples example code: barb_demo.py","pylab_examples example code: barchart_demo.py","pylab_examples example code: barchart_demo2.py","pylab_examples example code: barcode_demo.py","pylab_examples example code: boxplot_demo.py","pylab_examples example code: boxplot_demo2.py","pylab_examples example code: boxplot_demo3.py","pylab_examples example code: break.py","pylab_examples example code: broken_axis.py","pylab_examples example code: broken_barh.py","pylab_examples example code: centered_ticklabels.py","pylab_examples example code: cohere_demo.py","pylab_examples example code: color_by_yvalue.py","pylab_examples example code: color_demo.py","pylab_examples example code: colorbar_tick_labelling_demo.py","pylab_examples example code: colours.py","pylab_examples example code: contour_corner_mask.py","pylab_examples example code: contour_demo.py","pylab_examples example code: contour_image.py","pylab_examples example code: contour_label_demo.py","pylab_examples example code: contourf_demo.py","pylab_examples example code: contourf_hatching.py","pylab_examples example code: coords_demo.py","pylab_examples example code: coords_report.py","pylab_examples example code: csd_demo.py","pylab_examples example code: cursor_demo.py","pylab_examples example code: custom_cmap.py","pylab_examples example code: custom_figure_class.py","pylab_examples example code: custom_ticker1.py","pylab_examples example code: customize_rc.py","pylab_examples example code: dashpointlabel.py","pylab_examples example code: data_helper.py","pylab_examples example code: date_demo1.py","pylab_examples example code: date_demo2.py","pylab_examples example code: date_demo_convert.py","pylab_examples example code: date_demo_rrule.py","pylab_examples example code: date_index_formatter.py","pylab_examples example code: demo_agg_filter.py","pylab_examples example code: demo_annotation_box.py","pylab_examples example code: demo_bboximage.py","pylab_examples example code: demo_ribbon_box.py","pylab_examples example code: demo_text_path.py","pylab_examples example code: demo_text_rotation_mode.py","pylab_examples example code: demo_tight_layout.py","pylab_examples example code: dolphin.py","pylab_examples example code: ellipse_collection.py","pylab_examples example code: ellipse_demo.py","pylab_examples example code: ellipse_rotated.py","pylab_examples example code: equal_aspect_ratio.py","pylab_examples example code: errorbar_limits.py","pylab_examples example code: errorbar_subsample.py","pylab_examples example code: eventcollection_demo.py","pylab_examples example code: eventplot_demo.py","pylab_examples example code: fancyarrow_demo.py","pylab_examples example code: fancybox_demo.py","pylab_examples example code: fancybox_demo2.py","pylab_examples example code: fancytextbox_demo.py","pylab_examples example code: figimage_demo.py","pylab_examples example code: figlegend_demo.py","pylab_examples example code: figure_title.py","pylab_examples example code: fill_between_demo.py","pylab_examples example code: fill_betweenx_demo.py","pylab_examples example code: fill_spiral.py","pylab_examples example code: finance_demo.py","pylab_examples example code: finance_work2.py","pylab_examples example code: findobj_demo.py","pylab_examples example code: font_table_ttf.py","pylab_examples example code: fonts_demo.py","pylab_examples example code: fonts_demo_kw.py","pylab_examples example code: ganged_plots.py","pylab_examples example code: geo_demo.py","pylab_examples example code: ginput_demo.py","pylab_examples example code: ginput_manual_clabel.py","pylab_examples example code: gradient_bar.py","pylab_examples example code: griddata_demo.py","pylab_examples example code: hatch_demo.py","pylab_examples example code: hexbin_demo.py","pylab_examples example code: hexbin_demo2.py","pylab_examples example code: hist2d_demo.py","pylab_examples example code: hist2d_log_demo.py","pylab_examples example code: hist_colormapped.py","pylab_examples example code: histogram_percent_demo.py","pylab_examples example code: hyperlinks.py","pylab_examples example code: image_clip_path.py","pylab_examples example code: image_demo.py","pylab_examples example code: image_demo2.py","pylab_examples example code: image_interp.py","pylab_examples example code: image_masked.py","pylab_examples example code: image_nonuniform.py","pylab_examples example code: image_origin.py","pylab_examples example code: image_slices_viewer.py","pylab_examples Examples","pylab_examples example code: interp_demo.py","pylab_examples example code: invert_axes.py","pylab_examples example code: layer_images.py","pylab_examples example code: leftventricle_bulleye.py","pylab_examples example code: legend_demo2.py","pylab_examples example code: legend_demo3.py","pylab_examples example code: legend_demo4.py","pylab_examples example code: legend_demo5.py","pylab_examples example code: line_collection.py","pylab_examples example code: line_collection2.py","pylab_examples example code: load_converter.py","pylab_examples example code: loadrec.py","pylab_examples example code: log_bar.py","pylab_examples example code: log_demo.py","pylab_examples example code: log_test.py","pylab_examples example code: logo.py","pylab_examples example code: major_minor_demo1.py","pylab_examples example code: major_minor_demo2.py","pylab_examples example code: manual_axis.py","pylab_examples example code: marker_path.py","pylab_examples example code: markevery_demo.py","pylab_examples example code: masked_demo.py","pylab_examples example code: mathtext_demo.py","pylab_examples example code: mathtext_examples.py","pylab_examples example code: matplotlib_icon.py","pylab_examples example code: matshow.py","pylab_examples example code: movie_demo.py","pylab_examples example code: mri_demo.py","pylab_examples example code: mri_with_eeg.py","pylab_examples example code: multi_image.py","pylab_examples example code: multicolored_line.py","pylab_examples example code: multiline.py","pylab_examples example code: multipage_pdf.py","pylab_examples example code: multiple_figs_demo.py","pylab_examples example code: multiple_yaxis_with_spines.py","pylab_examples example code: nan_test.py","pylab_examples example code: newscalarformatter_demo.py","pylab_examples example code: patheffect_demo.py","pylab_examples example code: pcolor_demo.py","pylab_examples example code: pcolor_log.py","pylab_examples example code: pcolor_small.py","pylab_examples example code: pie_demo2.py","pylab_examples example code: plotfile_demo.py","pylab_examples example code: polar_demo.py","pylab_examples example code: polar_legend.py","pylab_examples example code: print_stdout.py","pylab_examples example code: psd_demo.py","pylab_examples example code: psd_demo2.py","pylab_examples example code: psd_demo3.py","pylab_examples example code: psd_demo_complex.py","pylab_examples example code: pythonic_matplotlib.py","pylab_examples example code: quadmesh_demo.py","pylab_examples example code: quiver_demo.py","pylab_examples example code: scatter_custom_symbol.py","pylab_examples example code: scatter_demo2.py","pylab_examples example code: scatter_hist.py","pylab_examples example code: scatter_masked.py","pylab_examples example code: scatter_profile.py","pylab_examples example code: scatter_star_poly.py","pylab_examples example code: scatter_symbol.py","pylab_examples example code: set_and_get.py","pylab_examples example code: shading_example.py","pylab_examples example code: shared_axis_across_figures.py","pylab_examples example code: shared_axis_demo.py","pylab_examples example code: simple_plot.py","pylab_examples example code: simple_plot_fps.py","pylab_examples example code: specgram_demo.py","pylab_examples example code: spectrum_demo.py","pylab_examples example code: spine_placement_demo.py","pylab_examples example code: spy_demos.py","pylab_examples example code: stackplot_demo.py","pylab_examples example code: stackplot_demo2.py","pylab_examples example code: stem_plot.py","pylab_examples example code: step_demo.py","pylab_examples example code: stix_fonts_demo.py","pylab_examples example code: stock_demo.py","pylab_examples example code: subplot_demo.py","pylab_examples example code: subplot_toolbar.py","pylab_examples example code: subplots_adjust.py","pylab_examples example code: subplots_demo.py","pylab_examples example code: symlog_demo.py","pylab_examples example code: system_monitor.py","pylab_examples example code: table_demo.py","pylab_examples example code: tex_demo.py","pylab_examples example code: tex_unicode_demo.py","pylab_examples example code: text_handles.py","pylab_examples example code: text_rotation.py","pylab_examples example code: text_rotation_relative_to_line.py","pylab_examples example code: titles_demo.py","pylab_examples example code: toggle_images.py","pylab_examples example code: transoffset.py","pylab_examples example code: tricontour_demo.py","pylab_examples example code: tricontour_smooth_delaunay.py","pylab_examples example code: tricontour_smooth_user.py","pylab_examples example code: tricontour_vs_griddata.py","pylab_examples example code: trigradient_demo.py","pylab_examples example code: triinterp_demo.py","pylab_examples example code: tripcolor_demo.py","pylab_examples example code: triplot_demo.py","pylab_examples example code: usetex_baseline_test.py","pylab_examples example code: usetex_demo.py","pylab_examples example code: usetex_fonteffects.py","pylab_examples example code: vline_hline_demo.py","pylab_examples example code: webapp_demo.py","pylab_examples example code: xcorr_demo.py","pylab_examples example code: zorder_demo.py","scales Examples","scales example code: scales.py","shapes_and_collections example code: artist_reference.py","shapes_and_collections Examples","shapes_and_collections example code: path_patch_demo.py","shapes_and_collections example code: scatter_demo.py","showcase example code: bachelors_degrees_by_gender.py","showcase Examples","showcase example code: integral_demo.py","showcase example code: xkcd.py","specialty_plots example code: advanced_hillshading.py","specialty_plots example code: hinton_demo.py","specialty_plots Examples","specialty_plots example code: topographic_hillshading.py","statistics example code: boxplot_color_demo.py","statistics example code: boxplot_demo.py","statistics example code: boxplot_vs_violin_demo.py","statistics example code: bxp_demo.py","statistics example code: errorbar_demo.py","statistics example code: errorbar_demo_features.py","statistics example code: errorbar_limits.py","statistics example code: histogram_demo_cumulative.py","statistics example code: histogram_demo_features.py","statistics example code: histogram_demo_histtypes.py","statistics example code: histogram_demo_multihist.py","statistics Examples","statistics example code: multiple_histograms_side_by_side.py","statistics example code: violinplot_demo.py","style_sheets Examples","style_sheets example code: plot_bmh.py","style_sheets example code: plot_dark_background.py","style_sheets example code: plot_fivethirtyeight.py","style_sheets example code: plot_ggplot.py","style_sheets example code: plot_grayscale.py","subplots_axes_and_figures example code: fahrenheit_celsius_scales.py","subplots_axes_and_figures Examples","subplots_axes_and_figures example code: subplot_demo.py","tests example code: backend_driver.py","tests Examples","text_labels_and_annotations example code: autowrap_demo.py","text_labels_and_annotations Examples","text_labels_and_annotations example code: rainbow_text.py","text_labels_and_annotations example code: text_demo_fontdict.py","text_labels_and_annotations example code: unicode_demo.py","ticks_and_spines Examples","ticks_and_spines example code: spines_demo.py","ticks_and_spines example code: spines_demo_bounds.py","ticks_and_spines example code: spines_demo_dropped.py","ticks_and_spines example code: tick_labels_from_values.py","ticks_and_spines example code: ticklabels_demo_rotation.py","units example code: annotate_with_units.py","units example code: artist_tests.py","units example code: bar_demo2.py","units example code: bar_unit_demo.py","units example code: basic_units.py","units example code: ellipse_with_units.py","units example code: evans_test.py","units Examples","units example code: radian_demo.py","units example code: units_sample.py","units example code: units_scatter.py","user_interfaces example code: embedding_in_gtk.py","user_interfaces example code: embedding_in_gtk2.py","user_interfaces example code: embedding_in_gtk3.py","user_interfaces example code: embedding_in_gtk3_panzoom.py","user_interfaces example code: embedding_in_qt4.py","user_interfaces example code: embedding_in_qt4_wtoolbar.py","user_interfaces example code: embedding_in_qt5.py","user_interfaces example code: embedding_in_tk.py","user_interfaces example code: embedding_in_tk2.py","user_interfaces example code: embedding_in_tk_canvas.py","user_interfaces example code: embedding_in_wx2.py","user_interfaces example code: embedding_in_wx3.py","user_interfaces example code: embedding_in_wx4.py","user_interfaces example code: embedding_in_wx5.py","user_interfaces example code: embedding_webagg.py","user_interfaces example code: fourier_demo_wx.py","user_interfaces example code: gtk_spreadsheet.py","user_interfaces example code: histogram_demo_canvasagg.py","user_interfaces Examples","user_interfaces example code: interactive.py","user_interfaces example code: interactive2.py","user_interfaces example code: lineprops_dialog_gtk.py","user_interfaces example code: mathtext_wx.py","user_interfaces example code: mpl_with_glade.py","user_interfaces example code: mpl_with_glade_316.py","user_interfaces example code: pylab_with_gtk.py","user_interfaces example code: rec_edit_gtk_custom.py","user_interfaces example code: rec_edit_gtk_simple.py","user_interfaces example code: svg_histogram.py","user_interfaces example code: svg_tooltip.py","user_interfaces example code: toolmanager.py","user_interfaces example code: wxcursor_demo.py","widgets example code: buttons.py","widgets example code: check_buttons.py","widgets example code: cursor.py","widgets Examples","widgets example code: lasso_selector_demo.py","widgets example code: menu.py","widgets example code: multicursor.py","widgets example code: radio_buttons.py","widgets example code: rectangle_selector.py","widgets example code: slider_demo.py","widgets example code: span_selector.py","Environment Variables","How-To","The Matplotlib FAQ","Installation","Troubleshooting","Usage","Working with Matplotlib in Virtual environments","Glossary","mpl_toolkits.axes_grid.axes_divider","mpl_toolkits.axes_grid.axes_grid","mpl_toolkits.axes_grid.axes_size","mpl_toolkits.axes_grid.axis_artist","The Matplotlib AxesGrid Toolkit API","mpl_toolkits.axes_grid1.inset_locator","Matplotlib AxesGrid Toolkit","AxesDivider","AXISARTIST namespace","The Matplotlib AxesGrid Toolkit User’s Guide","Overview of AxesGrid toolkit","Toolkits","mplot3d API","mplot3d FAQ","mplot3d","mplot3d tutorial","External Resources","Default Style Changes","Annotating Axes","Annotating text","Artist tutorial","Beginner’s Guide","Colormap Normalization","Choosing Colormaps","Configuration Guide","Credits","Customizing matplotlib","Advanced Guide","Event handling and picking","Github Stats","Customizing Location of Subplot Using GridSpec","Image tutorial","User’s Guide","Working with text","Installing","Introduction","Legend guide","License","Writing mathematical expressions","Interactive navigation","Path Tutorial","Path effects guide","Typesetting With XeLaTeX/LuaLaTeX","Pyplot tutorial","Our Favorite Recipes","Screenshots","Using matplotlib in a python shell","Customizing plots with style sheets","Text introduction","Text properties and layout","Tight Layout guide","Transformations Tutorial","Text rendering With LaTeX","What’s new in matplotlib"],titleterms:{"2dcollections3d_demo":230,"__call__":2,"__future__":86,"_ax":2,"_usetex":649,"abstract":[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67],"break":293,"catch":649,"class":[2,619,649],"default":[43,70,604,613,649],"float":606,"function":[2,32,69,593,594,649],"import":627,"new":[2,68,69,73,88,589,649],"static":71,about:2,accent:634,accented_text:266,accident:73,account:76,across:589,activ:649,add:[2,649],addit:[54,649],adjust:[604,626],adob:0,advanc:[80,614,623],advanced_hillshad:494,afm:0,agg_buff:267,agg_buffer_to_arrai:268,agg_oo:107,agreement:633,aka:632,alias:72,align:[589,604,649],alignment_test:269,all:[2,589,649],allow:649,alpha:[640,649],altern:[50,51,52,53,54,55,56,57,58,59,61,62,63,64,65,67,649],amplitud:649,anchor:[614,649],anchored_artist:270,anchoredartist:606,angl:609,anim:[1,71,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,649],animate_decai:90,animation_demo:271,annot:[2,614,615,639,649],annotate_with_unit:534,annotation_demo2:273,annotation_demo3:274,annotation_demo:272,announc:87,annoy:640,anscomb:275,apach:589,api:[2,25,68,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,600,608,649],appear:589,appendix:64,appli:627,applic:[2,589],arbitrari:649,arctest:276,arg:2,argument:[2,69,649],arrai:[32,627,649],arrow:[614,649],arrow_demo:277,arrow_simple_demo:278,art3d:608,art:58,articl:612,artist:[2,3,55,64,593,614,616,632,637,649],artist_refer:486,artist_test:535,ask:73,aspect:589,aspect_loglog:279,attribut:[64,624],auto:649,automat:589,autosc:[2,57],autosummari:52,autowrap_demo:523,axes3d:[608,649],axes_demo:280,axes_divid:596,axes_grid1:[600,601,606],axes_grid:[146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,596,597,598,599],axes_prop:281,axes_s:598,axes_zoom_effect:282,axesdivid:[603,606],axesgrid1:646,axesgrid:[600,602,605,606,607],axhspan_demo:283,axi:[2,5,57,589,593,616,639,640,649],axis3d:608,axis_artist:599,axis_equal_demo:284,axisartist:[604,606],axislabel:604,bachelors_degrees_by_gend:490,backend:[7,9,10,12,26,65,69,593,607,649],backend_bas:[2,6],backend_driv:521,backend_gtkagg:7,backend_manag:8,backend_pdf:9,backend_qt4agg:10,backend_tool:11,backend_wxagg:12,background:649,backward:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67],bar:[611,641,649],bar_demo2:536,bar_stack:285,bar_unit_demo:537,barb_demo:286,barchart_demo2:288,barchart_demo:[108,287],barcode_demo:289,barh:649,barh_demo:206,bars3d_demo:231,base:649,baselin:649,basemap:[607,641],bash:588,basic:[626,644],basic_exampl:91,basic_example_writ:92,basic_unit:538,bayes_upd:93,bbox_inch:649,bbox_intersect:109,been:649,beginn:617,behavior:53,behaviour:2,better:649,between:[2,614,640,649],beyond:2,binari:591,binomi:634,blend:647,bnf:64,book:612,bound:[2,618,649],box:[2,589,614,640,649],boxplot:649,boxplot_color_demo:498,boxplot_demo2:291,boxplot_demo3:292,boxplot_demo:[290,499],boxplot_vs_violin_demo:500,boxstyl:614,branch:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,69,73,87],broken_axi:294,broken_barh:295,browser:52,bsd:85,bug:[589,649],bugfix:649,build:[630,649],built:630,bundl:2,button:577,bxp_demo:501,bézier:636,cach:592,cairo:[593,649],call:649,can:649,canva:649,carpentri:649,cartopi:607,caveat:646,cbook:[2,13,649],cell:626,center:649,centered_ticklabel:296,centr:649,central:73,certain:[589,609],chang:[2,70,73,609,613,649],chapter:612,chart:[641,649],check:591,check_button:578,checklist:69,choos:[619,638],circl:2,cite:589,clean:54,clickabl:589,clip:[2,649],clippath:2,clone:83,close:649,close_ev:174,code:[2,69,73,75,81,86,90,91,92,93,94,95,96,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,161,162,163,164,165,166,167,168,169,170,171,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200,201,202,203,204,206,207,208,210,211,212,213,214,215,216,217,218,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,485,486,488,489,490,492,493,494,495,497,498,499,500,501,502,503,504,505,506,507,508,510,511,513,514,515,516,517,518,520,521,523,525,526,527,529,530,531,532,533,534,535,536,537,538,539,540,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,581,582,583,584,585,586,587,593],cohere_demo:297,collect:[2,15,649],collections_demo:110,color:[2,17,59,70,170,171,172,173,619,627,649],color_by_yvalu:298,color_cycl:2,color_cycle_demo:170,color_demo:299,colorbar:[16,606,646,649],colorbar_onli:111,colorbar_tick_labelling_demo:300,colormap:[14,70,613,618,619,649],colormaps_refer:171,colour:301,command:[38,627,644],commit:73,common:640,comparison:88,compat:[32,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,85],compil:[591,594],complet:591,complex:[614,626],complianc:649,compos:643,compound:636,compound_path:112,concept:593,config:649,configur:[2,71,72,76,589,592,620,649],connect:624,connectorpatch:614,consid:649,consist:[52,649],constructor:2,contain:616,content:[588,589,591,592,593,594,608,611,649],continu:58,contour3d_demo2:233,contour3d_demo3:234,contour3d_demo:232,contour:[2,611,649],contour_corner_mask:302,contour_demo:303,contour_imag:304,contour_label_demo:305,contour_manu:215,contourf3d_demo2:236,contourf3d_demo:235,contourf_demo:306,contourf_hatch:307,contourf_log:195,contribut:589,control:[589,632,637,639,642,649],convers:[619,649],coordin:[2,614,647,649],coords_demo:308,coords_report:309,copi:[75,76],copyright:633,corner:649,correctli:649,creat:[68,76,88,632,640,647],creation:[2,649],credit:621,cross:52,csd_demo:310,csh:588,cstride:649,current:[51,53,58,604],cursor:[579,649],cursor_demo:311,curvilinear:606,custom:[2,614,616,618,622,626,632,634,638,643],custom_cmap:312,custom_figure_class:313,custom_projection_exampl:113,custom_scale_exampl:114,custom_shaded_3d_surfac:237,custom_ticker1:314,customiz:649,customize_rc:315,cycl:70,dashpointlabel:316,data:[589,627,647,649],data_brows:175,data_help:317,datafram:649,date:[18,73,589,640,641,649],date_demo1:318,date_demo2:319,date_demo:115,date_demo_convert:320,date_demo_rrul:321,date_index_formatt:[116,322],dateformatt:649,datetim:649,decoupl:65,defici:619,defin:[614,643],delet:73,demo:641,demo_affine_imag:117,demo_agg_filt:323,demo_annotation_box:324,demo_axes_divid:146,demo_axes_grid2:148,demo_axes_grid:147,demo_axes_hbox_divid:149,demo_axes_rgb:150,demo_axisline_styl:151,demo_bboximag:325,demo_colorbar_with_inset_loc:152,demo_curvelinear_grid2:154,demo_curvelinear_grid:153,demo_edge_colorbar:155,demo_floating_ax:156,demo_floating_axi:157,demo_imagegrid_aspect:158,demo_parasite_axes2:159,demo_ribbon_box:326,demo_text_path:327,demo_text_rotation_mod:328,demo_tight_layout:329,dens:649,depend:[53,630,649],deprec:2,depth:589,descript:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67],desir:53,detail:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,72,73,78,82,83],detrend:649,develop:[69,73,77,84],diagram:[71,649],differ:[74,609],direct:[71,649],directori:[592,649],disabl:649,disallow:2,discret:618,displai:649,distribut:630,diverg:619,django:589,docstr:[52,71,649],document:[52,68,69,71,87,589,649],doesn:609,dolphin:330,don:609,donut_demo:118,dot:74,double_pendulum_anim:94,dpi:[2,649],draggabl:624,draw:649,drawingarea:2,dread:86,duplic:52,dviread:19,dynam:[71,622],dynamic_imag:95,dynamic_image2:96,easi:[591,649],easier:649,easili:640,edg:[589,649],edit:73,editor:72,eeg:641,effect:[614,637,647,649],element:589,ellips:641,ellipse_collect:331,ellipse_demo:332,ellipse_rot:333,ellipse_with_unit:539,ellipseselector:649,els:613,emac:71,email:72,embed:649,embedding_in_gtk2:546,embedding_in_gtk3:547,embedding_in_gtk3_panzoom:548,embedding_in_gtk:545,embedding_in_qt4:549,embedding_in_qt4_wtoolbar:550,embedding_in_qt5:551,embedding_in_tk2:553,embedding_in_tk:552,embedding_in_tk_canva:554,embedding_in_wx2:555,embedding_in_wx3:556,embedding_in_wx4:557,embedding_in_wx5:558,embedding_webagg:559,enabl:649,engineering_formatt:119,enhanc:[66,649],enter:624,entri:632,environ:[588,594],equal:589,equal_aspect_ratio:334,errorbar:649,errorbar_demo:502,errorbar_demo_featur:503,errorbar_limit:[335,504],errorbar_subsampl:336,escap:86,etc:71,evans_test:540,event:624,event_handl:[174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],eventcollection_demo:337,eventplot:649,eventplot_demo:338,everyth:613,examin:627,exampl:[52,54,55,63,69,70,71,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,589,593,606,624,626,632,634,636,646,649],excel:607,exercis:624,expect:649,explor:73,express:[634,639],extens:[52,69,649],extern:[612,630],face:649,facet:2,fahrenheit_celsius_scal:518,fail:88,fanci:[640,649],fancyarrow_demo:339,fancybox_demo2:341,fancybox_demo:340,fancytextbox_demo:342,faq:[590,609],favorit:640,featur:[73,589,649],fifobuff:2,fig:649,figimag:649,figimage_demo:343,figlegend_demo:344,fignum_exist:649,figur:[2,20,61,64,71,589,593,616,639,649],figure_axes_enter_leav:176,figure_titl:345,figuremanagerbas:61,file:[589,622],fill:[611,640,641,649],fill_between:649,fill_between_demo:346,fill_betweenx_demo:347,fill_demo:207,fill_demo_featur:208,fill_spir:348,filled_step:120,financ:[2,21],finance_demo:349,finance_work2:350,financi:641,find:[86,589,649],findobj_demo:351,fine:591,fix:[57,640,649],floatingaxi:604,follow:75,font:[0,634,638,649],font_family_rc:121,font_fil:122,font_index:216,font_manag:22,font_table_ttf:352,fontconfig_pattern:22,fonts_demo:353,fonts_demo_kw:354,fork:[76,83],format:[43,52,71,649],formatt:[18,43,649],fourier_demo_wx:560,fraction:634,frame:649,framework:[58,594,630],freetyp:88,from:[2,65,73,589,591,609,630],ftface_prop:217,full:649,fulli:649,futur:65,gae:649,galleri:54,ganged_plot:355,gener:[71,589,593,607],geo_demo:356,get:[2,71,75,592,611,649],get_act:649,get_autoscalex_on:55,get_children:2,get_titl:55,get_xlim:55,get_xticklabel:55,ggplot:607,gid:64,ginput_demo:357,ginput_manual_clabel:358,git:[72,77,78,80,591,592],github:[73,76,625],give:649,global:51,glossari:595,gradient_bar:359,grammar:64,graph:649,graphicscontextbas:2,grayscal:619,greater:637,grid:[45,606,649],griddata_demo:360,gridhelp:604,gridspec:[23,626,646],gtk3agg:649,gtk:[593,607],gtk_spreadsheet:561,gui:[48,61,594,630],guid:[69,84,605,617,620,623,628,632,637,646],guidelin:54,handl:[56,624,649],handler:[2,632],hangout:58,hangup:648,hatch:649,hatch_demo:361,have:589,heat:70,height:606,help:[52,592],helper:[32,71],hexbin_demo2:363,hexbin_demo:362,high:607,hint:69,hinton_demo:495,hist2d_demo:364,hist2d_log_demo:365,hist3d_demo:238,hist:649,hist_colormap:366,histogram:[97,641],histogram_demo_canvasagg:562,histogram_demo_cumul:505,histogram_demo_featur:506,histogram_demo_histtyp:507,histogram_demo_multihist:508,histogram_path_demo:123,histogram_percent_demo:367,holoview:607,homebrew:591,hook:649,horizont:649,houseclean:649,how:[589,591,593,609],howto:[589,604],html5:649,html:589,hyperlink:368,idle_and_timeout:177,idle_ev:2,ifi:2,ignor:649,imag:[2,24,88,589,627,649],image_clip_path:369,image_demo2:371,image_demo:[196,370],image_demo_clip_path:197,image_interp:372,image_mask:373,image_nonuniform:374,image_origin:375,image_slices_view:376,image_thumbnail:218,image_util:2,image_zcoord:124,imagegrid:[606,649],images_contours_and_field:[195,196,197,198,199,200,201,202,203,204],implement:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,632],improv:[2,54,649],imread:649,independ:649,inf:2,infrastructur:[58,649],inherit:71,initi:649,input:[2,593],inset_loc:601,inset_locator_demo2:162,inset_locator_demo:161,insetloc:606,instal:[69,78,591,592,630],integr:[58,73,649],integral_demo:492,interact:[51,564,593,635,642,649],interactive2:565,interfac:[0,2,649],intern:71,interp_demo:378,interpol:[627,649],interpolation_method:199,interpolation_none_vs_nearest:200,interpret:[589,642],introduct:[79,594,631,644],invert_ax:379,ipython:[642,649],ipython_:2,is_sequence_of_str:649,issu:[62,649],iter:86,iterm2:607,itself:58,joinstyl:126,jpeg_qual:649,jqueri:2,kei:649,keyboard:635,keypress_demo:179,keyword:[2,69],known:[88,632,649],ksh:588,kwarg:[2,649],label:[589,649],laid:609,lasso_demo:180,lasso_selector_demo:581,latest:75,latex:648,law:[618,649],layer_imag:380,layout:[626,645,646,649],leav:624,left:649,leftventricle_bulley:381,legend:[2,27,632,640,641,649],legend_demo2:382,legend_demo3:383,legend_demo4:384,legend_demo5:385,legend_demo:127,legend_handl:27,legend_pick:181,lena:2,length:649,level:[31,607,649],librari:630,licens:[85,633],light:619,like:[609,649],limit:[57,604,640,649],line2d:649,line:[28,604,611,639,649],line_collect:386,line_collection2:387,line_demo_dash_control:210,line_styles_refer:211,line_with_text:128,linear:618,linecollect:2,lineprops_dialog_gtk:566,lines3d_demo:240,lines_bars_and_mark:[206,207,208,209,210,211,212,213,214],linestyl:649,linewidth:589,link:[52,83],linux:[588,591,630],list:649,load_convert:388,loadrec:389,local:75,locat:[2,43,592,614,626,632,649],lod:2,log:641,log_bar:390,log_demo:391,log_test:392,logarithm:[618,639],logit:649,logo2:129,logo:393,longshort:220,look:609,looking_glass:182,lorenz_attractor:241,lot:649,lower:649,ls_mapper:2,lualatex:638,mac:630,macport:591,main:2,major:649,major_minor_demo1:394,major_minor_demo2:395,major_tick:604,major_ticklabel:604,make:[73,76,82,589,637],make_room_for_ylabel_using_axesgrid:163,manag:[51,630],mani:649,manual:[80,649],manual_axi:396,map:[70,607],marathon:649,marker:[2,29,649],marker_fillstyle_refer:212,marker_path:397,marker_refer:213,markeveri:649,markevery_demo:398,mask:649,masked_demo:399,master:[73,606],mathemat:[634,639],mathtex:2,mathtext:[2,30],mathtext_asarrai:130,mathtext_demo:400,mathtext_exampl:[401,641],mathtext_wx:567,matlab:[2,32],matplotlib:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,58,64,66,68,71,76,81,84,87,88,89,205,589,590,591,592,593,594,600,602,605,607,610,619,622,630,633,642,649],matplotlib_icon:402,matplotlibrc:[622,649],matshow:403,mayavi:609,menu:582,mep10:52,mep11:53,mep12:54,mep13:55,mep14:56,mep15:57,mep19:58,mep21:59,mep22:60,mep23:61,mep24:62,mep25:63,mep26:64,mep27:65,mep8:50,mep9:51,mep:67,merg:72,method:[2,649],metric:0,microsecondloc:2,minor:649,minor_tick:604,minor_ticklabel:604,misc:[215,216,217,218,219,220,221,222,223,224,225,226,227,228,229],miscellan:[32,619],mixed_subplots_demo:242,mixin:51,mlab:[2,32,649],mode:593,modul:[31,88],more:[73,649],most:630,mostli:649,mous:[624,649],move:[2,589,649],movie_demo:404,moviewrit:99,mpkg:591,mpl:[2,71],mpl_toolkit:[596,597,598,599,601],mpl_with_glad:568,mpl_with_glade_316:569,mpldatacursor:607,mplot3d:[230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,607,608,609,610,611,641,649],mplstereonet:607,mri_demo:405,mri_with_eeg:406,much:649,multi:649,multi_imag:407,multicolored_lin:408,multicursor:[583,649],multilin:409,multipage_pdf:410,multipl:[61,589,632,639,649],multiple_figs_demo:411,multiple_histograms_side_by_sid:510,multiple_yaxis_with_spin:412,multiprocess:221,name:[71,72,649],named_color:173,namespac:[2,604],nan_test:413,natgrid:607,nativ:[641,649],navig:635,navigationbas:[60,61],navigationtoolbar2qtagg:2,nbagg:649,neg:62,nest:626,neutral:48,new_figure_manag:61,new_figure_manager_given_figur:61,newscalarformatter_demo:414,non:593,none:2,nonlinear:639,normal:[618,649],note:[2,58,591,649],notebook:649,noth:591,now:649,number:634,numerix:649,numpi:[52,86,627],numpydoc:649,object:[2,60,589,616,624,649],obtain:592,offset:[589,647],offset_demo:243,offsetbox:[2,33,649],onli:[57,649],onlin:80,open:[73,649],option:[71,630,648,649],order:649,org:591,organ:71,osx:[591,594,630],other:[73,639,642,649],our:640,out:[609,637],overrid:52,overview:[49,72,73,78,82,83,606,619],own:[76,643],packag:[87,591,630,649],pad:[604,649],page:[80,649],panda:649,paramet:649,parasite_simple2:164,parasiteax:606,pars:64,part:593,parti:53,patch:[2,34,82,589,649],patch_collect:131,path:[35,636,637,641,649],path_editor:183,path_patch_demo:488,patheffect:[2,36,649],patheffect_demo:415,pathpatch3d_demo:244,pattern:[64,649],pcolor:2,pcolor_demo:416,pcolor_log:417,pcolor_smal:418,pcolormesh_level:201,pdf:[589,649],pdfpage:649,peculiar:58,pep8:50,per:[61,649],perform:649,pgf:649,pick:624,pick_event_demo2:185,pick_event_demo:184,picklabl:649,pie:[641,649],pie_and_polar_chart:[262,263,264,265],pie_demo2:419,pie_demo_featur:263,pip:[591,630],pipelin:647,pipong:186,pivot:[2,649],pixel:649,pkg:649,place:[86,614,640],placement:649,platform:630,plot:[2,38,62,71,589,593,607,609,611,627,641,643,649],plot_bmh:513,plot_dark_background:514,plot_fivethirtyeight:515,plot_ggplot:516,plot_grayscal:517,plot_wirefram:649,plotfile_demo:420,polar:[62,68,641,649],polar_bar_demo:264,polar_demo:421,polar_legend:422,polar_scatter_demo:265,polici:633,poly_editor:187,polycollect:649,polygon:[611,649],polys3d_demo:245,pong_gtk:188,posit:[2,649],possibl:648,postscript:648,power:[618,649],power_norm_demo:132,pre:630,preambl:638,prefix:649,prepca:2,preserv:2,prettyplotlib:607,prevent:[2,589],primit:64,print_stdout:423,prior:633,problem:[591,592],process:69,program:630,programm:2,proj3d:608,project:68,prop_cycl:649,properti:[2,55,639,645,649],propos:[66,70],proxi:632,psd:649,psd_demo2:425,psd_demo3:426,psd_demo:424,psd_demo_complex:427,pseudocolor:627,pull:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,69,73],pylab:593,pylab_exampl:[266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483],pylab_with_gtk:570,pypi:87,pyplot:[37,65,69,593,639,649],pyqt4:[593,649],pysid:[593,649],python:[86,591,630,642,649],pythonhom:594,pythonic_matplotlib:428,pythonw:594,qt4:649,qt5:649,quad_bezi:133,quadmesh_demo:429,qualit:[70,619],question:65,quickli:649,quiver3d_demo:246,quiver:[2,611,649],quiver_demo:430,radar_chart:134,radian_demo:542,radic:634,radio_button:584,radiu:62,rain:100,rainbow_text:525,random_data:101,rang:[618,627],raster:649,rasterization_demo:222,rather:52,ratio:589,rc_trait:223,rcparam:[2,649],rec_edit_gtk_custom:571,rec_edit_gtk_simpl:572,rec_groupby_demo:224,rec_join_demo:225,recent:592,recip:640,recogn:649,record:32,recov:73,rectangl:[624,649],rectangle_selector:585,rectangleselector:649,rectangular:649,refactor:[2,59],refer:[52,71,619,627],relat:[2,62,593,649],releas:[87,649],relev:52,rememb:649,remov:[2,591,649],render:[641,648,649],rendererbas:2,reorder:2,reorgan:649,repo:83,report:[589,591],repositori:[73,83],request:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,69,73,589],requir:[58,88,630],resampl:189,rescu:642,resiz:649,resourc:[80,612],respect:2,review:73,rewrit:60,rgb:606,right:[609,649],robust:649,room:589,rotat:[604,649],rotate_axes3d_demo:247,run:88,salt:2,same:[632,649],sampl:622,sample_data:2,sample_data_demo:226,sankei:[39,649],sankey_demo_bas:135,sankey_demo_link:136,sankey_demo_old:137,sankey_demo_rankin:138,save:[589,649],savefig:649,scalarmapp:2,scale:[68,484,485,589,627,649],scatter3d_demo:248,scatter:[2,70,611,641],scatter_custom_symbol:431,scatter_demo2:432,scatter_demo:489,scatter_hist:[165,433,606],scatter_mask:434,scatter_piechart:139,scatter_profil:435,scatter_star_poli:436,scatter_symbol:437,scatter_with_legend:214,scheme:627,scientif:630,screenshot:641,script:[70,594,649],seaborn:607,search:589,section:[54,71],select:[69,593,649],selector:[64,649],separ:649,sequenti:619,sequential2:619,serial:63,server:589,set:[2,76,83,588,622,649],set_act:649,set_and_get:438,set_autoscalex_on:55,set_axis_off:55,set_axis_on:55,set_colorbar:2,set_graylevel:2,set_param:[2,649],set_titl:55,set_xlim:55,set_xticklabel:55,setup:649,shade:2,shading_exampl:439,shadow:[637,647],shapes_and_collect:[486,487,488,489],share:640,shared_axis_across_figur:440,shared_axis_demo:441,sheet:[622,643],shell:642,ship:[630,649],shortcut:635,show:[589,591,649],showcas:[490,491,492,493],side:649,signatur:52,simpl:[88,624,641,646,649],simple_3danim:102,simple_anchored_artist:166,simple_anim:103,simple_axesgrid2:168,simple_axesgrid:167,simple_axisline4:169,simple_plot:442,simple_plot_fp:443,six:86,size:[626,649],sizebar:649,sketch:[641,649],skew:649,skewt:140,skip:589,slider:641,slider_demo:586,snap:2,softwar:649,sophist:649,sourc:[75,81,591,630],space:2,span:649,span_region:141,span_selector:587,spec:74,specgram_demo:444,special:649,specialty_plot:[494,495,496,497],specif:[86,627,632,638],specifi:[57,649],spectrum:649,spectrum_demo:445,sphinx:649,spine:[40,649],spine_placement_demo:446,spines_demo:529,spines_demo_bound:530,spines_demo_drop:531,spinxext:2,split:2,spy_demo:447,squar:649,stack:634,stackplot:649,stackplot_demo2:449,stackplot_demo:448,stai:73,stand:637,standalon:591,start:[71,611],startup:627,stat:625,state:[58,649],statist:[498,499,500,501,502,503,504,505,506,507,508,509,510,511],statu:[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67],stem_plot:450,step:649,step_demo:451,stix_fonts_demo:452,stock_demo:453,streamplot:[641,649],streamplot_demo_featur:202,streamplot_demo_mask:203,streamplot_demo_start_point:204,strftime:649,stride:649,string:649,strip_chart_demo:104,style:[41,64,69,593,613,622,641,643,649],style_sheet:[512,513,514,515,516,517],submit:589,subplot2grid:626,subplot3d_demo:249,subplot:[105,589,611,626,640,641,649],subplot_demo:[454,520],subplot_toolbar:455,subplots_adjust:456,subplots_axes_and_figur:[518,519,520],subplots_demo:457,subplotspec:626,subscript:634,subset:649,suggest:54,summari:[38,51,73,80,593],superscript:634,support:649,surfac:[611,649],surface3d_demo2:251,surface3d_demo3:252,surface3d_demo:250,surface3d_radial_demo:253,svg:[2,649],svg_filter_lin:227,svg_filter_pi:228,svg_histogram:573,svg_tooltip:574,symbol:634,symlog_demo:458,symmetr:618,sync:606,syntax:64,system:638,system_monitor:459,tabl:[641,649],table_demo:460,tag:54,take:649,tcsh:588,templat:67,temporari:643,termin:607,test:[2,58,69,87,88,521,522,649],test_mouseclick:190,tex:[638,641],tex_demo:461,tex_unicode_demo:462,text3d_demo:254,text:[2,42,56,611,614,615,629,639,640,644,645,648,649],text_demo_fontdict:526,text_handl:463,text_labels_and_annot:[523,524,525,526,527],text_rot:464,text_rotation_relative_to_lin:465,than:52,thei:593,theta:649,thing:86,third:53,thread:2,three:74,threshold:2,tick:[43,589,616,649],tick_labels_from_valu:532,tick_param:649,ticker:[18,43],ticklabel:[589,604],ticklabels_demo_rot:533,ticks_and_spin:[528,529,530,531,532,533],tight:[2,646,649],tight_bbox_test:229,tight_layout:[44,649],tikz:649,timer:191,titl:649,titles_demo:466,titleweight:649,todo:604,toggle_imag:467,too:649,tool:[607,649],toolbar:60,toolbarbas:60,toolbas:60,toolcontain:649,toolkit:[600,602,605,606,607,610,649],toolmanag:[575,649],tooltogglebas:60,top:31,topic:614,topographic_hillshad:497,tox:88,transform:[2,89,647,649],transoffset:468,transpar:[589,640,649],travi:88,tri:[2,45,611,649],triangular:[45,649],tricontour3d_demo:255,tricontour_demo:469,tricontour_smooth_delaunai:470,tricontour_smooth_us:471,tricontour_vs_griddata:472,tricontourf3d_demo:256,trifinder_event_demo:192,trigradient_demo:473,triinterp_demo:474,tripcolor:[2,649],tripcolor_demo:475,triplot:649,triplot_demo:476,trisurf3d_demo2:258,trisurf3d_demo:257,troubleshoot:[592,638,648],tutori:[80,611,612,616,627,636,639,647],twin:606,twinx:606,two:[2,74,618],two_scal:142,type1font:46,type:[2,589,593,649],typeset:638,unchain:106,unicod:648,unicode_demo:527,unicode_minu:143,unifi:649,unit:[2,47,534,535,536,537,538,539,540,541,542,543,544],units_sampl:543,units_scatt:544,updat:[75,87,642,649],upper:649,upstream:83,url:649,usag:[593,649],useoffset:649,user:[72,605,628],user_interfac:[545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576],usetex:648,usetex_baseline_test:477,usetex_demo:478,usetex_fonteffect:479,valid:2,valu:[2,64,649],valueerror:2,vari:626,variabl:588,venn:607,version:[88,592,633],vertic:649,via:591,video:612,view:[2,609,640],viewlim:193,violin:[589,649],violinplot_demo:511,virtual:594,visibl:649,vision:619,visitor:64,visual:2,vline_hline_demo:480,watermark_imag:144,watermark_text:145,web:589,webagg:649,webapp_demo:481,wedg:649,welcom:86,what:[593,606,649],wheel:591,when:[57,591],where:589,which:591,whose:606,why:85,widget:[48,577,578,579,580,581,582,583,584,585,586,587,649],width:606,window:[61,588,589,591,630,649],wire3d_animation_demo:259,wire3d_demo:260,wire3d_zero_strid:261,wirefram:611,within:649,without:[589,649],work:[81,89,594,629,639,649],workflow:[73,80],wrap:[2,649],write:[69,86,88,634],wrong:649,wxcursor_demo:576,xcorr_demo:482,xdg:649,xelatex:638,xkcd:[493,641,649],xmargin:649,yearloc:2,ylabel:589,ymargin:649,your:[73,76,83,591,616,630,643],zero:649,zoom:614,zoom_window:194,zope:589,zorder_demo:483}}) \ No newline at end of file diff --git a/users/style_changes.html b/users/style_changes.html index 49a37278ca3..24e1daae6f3 100644 --- a/users/style_changes.html +++ b/users/style_changes.html @@ -5,7 +5,8 @@ - + + Default Style Changes — Matplotlib 1.5.1 documentation - + + Customizing plots with style sheets — Matplotlib 1.5.3 documentation - + + Text introduction — Matplotlib 2.0.2 documentation - + + Text properties and layout — Matplotlib 2.0.2 documentation - + + Tight Layout guide — Matplotlib 2.0.2 documentation - + + Transformations Tutorial — Matplotlib 2.0.2 documentation - + + Tutorials — Matplotlib 2.0.2 documentation - + + Text rendering With LaTeX — Matplotlib 2.0.2 documentation