Skip to content
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

[ENH]: Add fill between support for 3D plots #28142

Open
gerazov opened this issue Apr 26, 2024 · 3 comments · May be fixed by #28225
Open

[ENH]: Add fill between support for 3D plots #28142

gerazov opened this issue Apr 26, 2024 · 3 comments · May be fixed by #28225

Comments

@gerazov
Copy link

gerazov commented Apr 26, 2024

Problem

I couldn't make fill between to work for my 3D plot of a unit circle with a spectrogram sitting on top.

I went through the example on the website (https://matplotlib.org/stable/gallery/mplot3d/polys3d.html) but couldn't adapt it to my plot.

Proposed solution

Finally I found a repo that implements a fill_between_3d function and I could easily make it work.
image

Please consider adding it to matplotlib.

@scottshambaugh
Copy link
Contributor

scottshambaugh commented Apr 29, 2024

This looks very useful, the referenced code is simple, and it's also MIT licensed so could be brought directly in to matplotlib without issues. @artmenlope would you be interested in doing that?

@scottshambaugh
Copy link
Contributor

As a side note @gerazov, do you have a link to the code you used to generate that plot? It's very nice!

@gerazov
Copy link
Author

gerazov commented Apr 29, 2024

Thanks! It took me a while to make it 😅

If it makes sense I can create a PR for your examples section?

@scottshambaugh scottshambaugh linked a pull request May 14, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants