Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rendering slowdown with big invisible lines (issue #1256) #1531

Merged
merged 1 commit into from Dec 6, 2012

Commits on Dec 5, 2012

  1. fix rendering slowdown of big Lines (issue matplotlib#1256)

    About the fix:
    
    Line2D.draw method now *returns immediately*,
    if the Line is invisible (get_visible() returns False).
    
    In particular, the `self.recache` and `self._transform_path`
    calls are short-circuited.
    
    In addition to the bugfix:
    
    * adds a test case for lines rendering speed (issue matplotlib#1256)
    * adds a README in `matplotlib.tests` to redirect people
      to the testing section of the development guide.
    pierre-haessig committed Dec 5, 2012
    Copy the full SHA
    c94c730 View commit details
    Browse the repository at this point in the history