Skip to content

y limit with dashed or dotted lines hangs with somewhat big data #1758

Description

@fmder

When plotting uncontinuous lines and rescaling the y axis to centre the view on some part of the data matplotlib hangs in the show() function forcing me to kill the process.

How to reproduce the bug:

import matplotlib.pyplot as plt
import numpy
a = 2**numpy.arange(0, 50)
plt.plot(a, "--")
plt.ylim([0, 100])
plt.show()

This does work perfectly with a continuous line or when the data is smaller and uncontinuous lines.
I use matplotlib 1.2.0 on OSX 10.7.5 and I have Python 2.7.3 installed as a famework (with homebrew).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions