Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
livlutz wants to merge4 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromlivlutz:interpolation-support

Conversation

livlutz
Copy link
Contributor

@livlutzlivlutz commentedJul 3, 2025
edited
Loading

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

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

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

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 forplot_surface which I'd have thought would be more likepcolormesh and either usenearest orGouraud.

anntzer reacted with thumbs up emoji

@livlutz
Copy link
ContributorAuthor

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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[ENH]: Surface plot does not support interpolation
4 participants
@livlutz@jklymak@anntzer@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp