8000 PolyCollection broken on all Agg backends with linewidth=0 · Issue #3901 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
< 8000 script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-99b04cc350b5.js" defer="defer">
PolyCollection broken on all Agg backends with linewidth=0  #3901
Closed
@rnelsonchem

Description

@rnelsonchem

I noticed an issue related to PolyCollections and all Agg backends. If the linewidth keyword is set to 0, then the entire Polygon patch is not shown, rather than removing only the border line. This happened with MPL release 1.4.1, because 1.4.0 works as expected. I see the same behavior on Python 2.7 and 3.4 from Gentoo Linux and in an Anaconda 3.4 environment. I ran a number of tests and posted them to Matplotlib-users. However, as a simple expample::

import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(0, np.pi*2, 1000)
y = np.sin(x)

# Change the lw != 0 and this works fine
plt.fill_between(x, y-0.1, y+0.1, lw=0)
plt.show()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0