|
From: Michael D. <md...@st...> - 2013-08-05 18:14:43
|
The problem is that a 0-length dash or space is undefined. In Agg, it causes an infinite loop (presumably because the line cursor never moves). Saving it to a PDF file and opening it in Acrobat Reader reveals a blank page (presumably because it's doing something smarter, but also basically throwing up its hands). In SVG, you get a solid line, which may or may not be the right behavior. Given that a value of 0 doesn't make much sense anyway, I thought it best to just disallow it. Jeffrey: Do you have a good need for this? Here's the original PR: https://github.com/matplotlib/matplotlib/pull/1999 Mike On 08/05/2013 01:36 PM, Benjamin Root wrote: > @mdboom, from git blame, this looks to be specifically introduced by > you via |7e7b5320 > <https://github.com/matplotlib/matplotlib/commit/7e7b532057c08541489203697987a924e56a7aeb> > on May 15th, and you even added some tests for handling path > clipping. Perhaps the choice of "<=" should have been just "<"?| > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |