Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Clipping errors in pgf export when using fill_between and set_ylim()/ylim() #3935

Closed
@tatome

Description

@tatome

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}

test

System:
matplotlib: 1.3.1
Python: 2.7.6
numpy: 1.8.2
OS: 64bit Linux (Ubuntu 14.04.1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp