9937d332ee11207ff2c01501cf3e1a8d5127fbb9,examples/misc/zorder_demo.py,,,#,33

Before Change


plt.rcParams["lines.linewidth"] = 10
plt.figure()
plt.plot(x, np.sin(x), label="zorder=10", zorder=10)  // on top
plt.plot(x, np.sin(1.1*x), label="zorder=1", zorder=1)  // bottom
plt.plot(x, np.sin(1.2*x), label="zorder=3",  zorder=3)
plt.axhline(0, label="zorder=2", color="grey", zorder=2)
plt.title("Custom order of elements")

After Change


import matplotlib.pyplot as plt
import numpy as np

r = np.linspace(0.3, 1, 30)
theta = np.linspace(0, 4*np.pi, 30)
x = r * np.sin(theta)
y = r * np.cos(theta)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// The following example contains a `.Line2D` created by `~.axes.Axes.plot()`
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 9937d332ee11207ff2c01501cf3e1a8d5127fbb9
Time: 2019-12-02
Author: 2836374+timhoffm@users.noreply.github.com
File Name: examples/misc/zorder_demo.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 36159c6aece4ec07aad8750f0a0b1f8465c32f78
Time: 2019-01-10
Author: 2836374+timhoffm@users.noreply.github.com
File Name: examples/lines_bars_and_markers/errorbar_limits_simple.py
Class Name:
Method Name:


Project Name: enthought/chaco
Commit Name: 97de926824b3f5cc711c42d6f81f11042b7bad7c
Time: 2007-11-29
Author: bryanv@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: examples/basic/cmap_image_plot.py
Class Name: PlotFrame
Method Name: _create_window