You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: tricontourf() takes 4 positional arguments but 5 were given. I think proplot does not support tri.Triangulation?
Steps to reproduce
contour=axs[idx].tricontourf(x, y, tri, scalar, levels=1000, cmap='jet')
Expected behavior: x and y are the coordinates of 2D unstructured grid, tri is the Triangulation grid connection relation, direct use of triang = tri.Triangulation(x, y) will cause deformation of the geometric model, so I wrote tri.
Actual behavior: When these parameters are entered, the actual contour should be drawn, but proplot reports an error 'TypeError: tricontourf() takes 4 positional arguments but 5 were given' and matplotlib works perfectly.
Equivalent steps in matplotlib
contour=axs[idx].tricontourf(x, y, tri, scalar, levels=1000, cmap='jet')
Description
TypeError: tricontourf() takes 4 positional arguments but 5 were given. I think proplot does not support tri.Triangulation?
Steps to reproduce
Expected behavior: x and y are the coordinates of 2D unstructured grid, tri is the Triangulation grid connection relation, direct use of triang = tri.Triangulation(x, y) will cause deformation of the geometric model, so I wrote tri.
Refer to: https://gist.github.com/mrklein/dc19fbac73564dabdba2
Actual behavior: When these parameters are entered, the actual contour should be drawn, but proplot reports an error 'TypeError: tricontourf() takes 4 positional arguments but 5 were given' and matplotlib works perfectly.
Equivalent steps in matplotlib
Proplot version
matplotlib.version = 3.4.3
proplot.version = 0.9.7
The text was updated successfully, but these errors were encountered: