Skip to content

Decoupling hatch from edges #7059

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

Open
mdepitta opened this issue Sep 8, 2016 · 8 comments
Open

Decoupling hatch from edges #7059

mdepitta opened this issue Sep 8, 2016 · 8 comments
Labels
Difficulty: Medium https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues keep Items to be ignored by the “Stale” Github Action New feature topic: hatch

Comments

@mdepitta
Copy link

mdepitta commented Sep 8, 2016

  • Fedora 20; Python 2.7.5; Matplotlib 1.4.3 (installed by yum/pip)

I look around but this seems still to be an open issue. Do you confirm it? I have a polygon filled y hatches but I would like to plot only those hatches rather than the edge of the polygon too. Like:

ax.add_artist(mpatches.Polygon(..., ec='none', fc='none', hatch='//'))

But in this fashion, as hatch is bound to ec if I set this latter to none, hatches disappear as well...

@anntzer
Copy link
Contributor

anntzer commented Sep 8, 2016

You could set the linewidth to zero (lw=0), which makes the edge of the polygon invisible but does not affect the hatching.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Sep 8, 2016
@tacaswell
Copy link
Member

API control of the hatching is something that needs work

@tacaswell tacaswell added New feature Difficulty: Medium https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues labels Sep 8, 2016
@mdepitta
Copy link
Author

mdepitta commented Sep 8, 2016

Thanks.
The workaround suggested by @anntzer however currently fulfills my aim.
So let me know if you prefer to keep the issue open or whether I can close it.

@tacaswell
Copy link
Member

Leave it open, at somepoint we are going to have to go through and collect all of the hatch related issues into a single tracker issue.

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Oct 3, 2017
@orangeSi
Copy link

orangeSi commented May 27, 2019

API control of the hatching is something that needs work

API control of every hatching is implemented now (something like set_hatch_color)?

@tacaswell
Copy link
Member

There is control at the graphic context level, but there is not an API at the artist or user facing levels.

@github-actions
Copy link

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Mar 28, 2023
@dopplershift dopplershift removed the status: inactive Marked by the “Stale” Github Action label Apr 21, 2023
Copy link

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Apr 22, 2024
@github-actions github-actions bot added the status: closed as inactive Issues closed by the "Stale" Github Action. Please comment on any you think should still be open. label May 22, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
@story645 story645 added keep Items to be ignored by the “Stale” Github Action and removed status: inactive Marked by the “Stale” Github Action status: closed as inactive Issues closed by the "Stale" Github Action. Please comment on any you think should still be open. labels May 22, 2024
@story645 story645 reopened this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Medium https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues keep Items to be ignored by the “Stale” Github Action New feature topic: hatch
Projects
None yet
Development

No branches or pull requests

6 participants