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

pcolor does not handle non-array C data #5205

Closed
Assignees
WeatherGod
Labels
API: consistencyDifficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone
@tacaswell

Description

@tacaswell

reported viaVisTrails/VisTrails#1132

may be a regression from 1.3 series, reported against 1.4.3, verified against master. Not sure what last version it work on was.

importmatplotlib.pyplotaspltimportnumpyasnpdeffunc3(x, ):return (1-x/2+x**5+y**3)*np.exp(-x**2-y**2)# make these smaller to increase the resolutiondx,dy=0.05,0.05x=np.arange(-3.0,3.0001,dx)y=np.arange(-3.0,3.0001,dy)X,Y=np.meshgrid(x,y)Z=func3(X,Y)# failsplt.pcolor(X,Y,list(Z))# plt.pcolor(X, Y, Z)  # works

Metadata

Metadata

Assignees

Labels

API: consistencyDifficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp