Open
Description
This is not a problem with rdatasets.
Rather, it is a problem with format_xyzc
method.
Line 1369 in 3657a03
When you pass 2d ruby array as Z to methods like contour
contourf
, it will not work as expected.
contourf(Z) # z is 2d ruby array or 2d numo array.
contourf(X,Y,Z) # x, y, z are 1d ruby array or 1d numo array.
This issue is complicated because sometimes these methods get multiple series.
contourf([Z,Z,Z])
contourf([[X,Y,Z],[X,Y,Z],[X,Y,Z]])
It is impossible to distinguish contourf([[X,Y,Z],[X,Y,Z],[X,Y,Z]])
from contourf(Z)
.
Maybe I have to reconsider APIs...
Metadata
Metadata
Assignees
Labels
No labels