Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Milestone
Description
I get clipping errors when I usefill_between()
, setylim
such that not all of the graph is inside the plotting area, and export to PGF. See code below:
Python:
import numpy as npfrom matplotlib import pyplot as pltnp.random.seed(3)n = 100m = np.random.random(n)M = m + np.random.random(n)M[80] = 3plt.fill_between(np.arange(n), m, M)plt.ylim(0,2.1)plt.savefig('test.pgf')
LaTeX:
\documentclass{standalone}\usepackage{tikz}\begin{document}\input{test.pgf}\end{document}
System:
matplotlib: 1.3.1
Python: 2.7.6
numpy: 1.8.2
OS: 64bit Linux (Ubuntu 14.04.1)