Skip to content

Add interpolation option for facecolors in plot_surface method #30255

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
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

livlutz
Copy link
Contributor

@livlutz livlutz commented Jul 3, 2025

PR summary

This PR contains an additional interpolation parameter added to the plot_surface method enabling surface plot to support interpolation.

closes #29878

PR checklist

@jklymak
Copy link
Member

jklymak commented Jul 3, 2025

This has scipy as a conditional dependency. We don't do this anywhere in the codebase and at the very least we would need to make it a testing dependency.

@anntzer
Copy link
Contributor

anntzer commented Jul 3, 2025

I would believe that this interpolation functionality is already provided by the image extension (via agg), depending on scipy is likely a no.

@jklymak
Copy link
Member

jklymak commented Jul 3, 2025

I would believe that this interpolation functionality is already provided by the image extension (via agg), depending on scipy is likely a no.

Agreed - However, I'm not sure this kind of interpolation is even correct for plot_surface which I'd have thought would be more like pcolormesh and either use nearest or Gouraud.

@livlutz
Copy link
Contributor Author

livlutz commented Jul 4, 2025

alright, thank you for the feedback, so should we just try to use pcolormesh and either use nearest or Gouraud? Or should we just work on something else since the interpolation is already provided by the image extension via agg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENH]: Surface plot does not support interpolation
4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy