backend_macosx linewidth bug

Michiel,

In the 4th comment on

https://github.com/matplotlib/matplotlib/issues/786

I give a little example illustrating a macosx bug: it seems that when drawing a path, the linewidth, which is specified in points, is not interpreted correctly unless the figure.dpi has exactly the right value. For a high dpi, as in the example I gave, all lines are too thin, but text is still scaled correctly, and the general layout is correct.

Will you be able to take a look? We are trying to get out a release soon, so it would be nice to have this fixed.

Thank you.

Eric

Hi Eric,

I may be able to look at this over the weekend.

Best,
-Michiel.

···

--- On Sun, 9/2/12, Eric Firing <efiring@...229...> wrote:

From: Eric Firing <efiring@...229...>
Subject: backend_macosx linewidth bug
To: "Michiel de Hoon" <mjldehoon@...42...>
Cc: "matplotlib development list" <matplotlib-devel@lists.sourceforge.net>
Date: Sunday, September 2, 2012, 10:17 PM
Michiel,

In the 4th comment on

savefig() renders paths and text differently than show() · Issue #786 · matplotlib/matplotlib · GitHub

I give a little example illustrating a macosx bug: it seems
that when drawing a path, the linewidth, which is specified
in points, is not interpreted correctly unless the
figure.dpi has exactly the right value. For a high
dpi, as in the example I gave, all lines are too thin, but
text is still scaled correctly, and the general layout is
correct.

Will you be able to take a look? We are trying to get
out a release soon, so it would be nice to have this fixed.

Thank you.

Eric