You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so it fills if any fill color is specified, and strokes if any stroke color is specified. This is not the same logic as for other objects. Specifically, a linewidth of zero should cause the paths not to be stroked (because in pdf, a zero-width line is a line of some device-specific minimum width, whereas in agg a zero-width line is a line not drawn).
I think the code needs to make the filled/stroked decisions when creating the XObjects, so the current _iter_collection_raw_paths method is not quite sufficient.
The text was updated successfully, but these errors were encountered:
Closing this as we have at least one other issue related to special casing zero-width lines in pdfs (#2910), it sounds like the bulk of this is already fixed, and this is over a year old.
Reported in: http://permalink.gmane.org/gmane.comp.python.matplotlib.general/32019
In the pdf backend, draw_path_collection contains
so it fills if any fill color is specified, and strokes if any stroke color is specified. This is not the same logic as for other objects. Specifically, a linewidth of zero should cause the paths not to be stroked (because in pdf, a zero-width line is a line of some device-specific minimum width, whereas in agg a zero-width line is a line not drawn).
I think the code needs to make the filled/stroked decisions when creating the XObjects, so the current _iter_collection_raw_paths method is not quite sufficient.
The text was updated successfully, but these errors were encountered: