Skip to content
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

ColumnDataSource's columns must be of the same length. #226

Closed
orkun opened this issue Jan 29, 2019 · 3 comments
Closed

ColumnDataSource's columns must be of the same length. #226

orkun opened this issue Jan 29, 2019 · 3 comments
Milestone

Comments

@orkun
Copy link

orkun commented Jan 29, 2019

Hi,
I try to use panel 3d plotly surface when I give x,y axes parameter in 3d surface as surface =go.Surface(x=xutm , y=yutm ,z=z,colorscale='Earth') pn.panel(plotly_layout).servable() gives this error :
ColumnDataSource's columns must be of the same length. Current lengths: ('x', 78), ('y', 49), ('z', 65) when I omit x,y axes, it works.
Regards

@kcpevey
Copy link
Contributor

kcpevey commented Jan 29, 2019

I think your lengths for x, y, and z will all need to be equal.

@philippjfr
Copy link
Member

That's a faulty assumption I made when I implemented the plotly model, that requirement makes sense for columnar data but for 2D or 3D data it doesn't apply. Will have to refine the Plotly model a bit.

@philippjfr philippjfr added this to the v0.4.x milestone Feb 19, 2019
@philippjfr
Copy link
Member

Now fixed on master.

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

No branches or pull requests

3 participants