holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.7k stars 404 forks source link

Disable interpolation as default for non equal size input #5411

Open hoxbro opened 2 years ago

hoxbro commented 2 years ago

I find it non-intuitive that interpolation is done by default.

An example of this:

import holoviews as hv
hv.extension()
hv.Scatter((range(4), range(3)))

image

I discussed this with @jlstevens and he couldn't remember why this was done and suggested I opened an issue and added it to the v2.0 milestone.

jlstevens commented 2 years ago

Honestly, I suspect it might be an implementation detail where the components are zipped together (as opposed to an explicit design decision) but this behavior is so old I can't be sure!

At least I can say that nowadays, I would probably prefer an error for this constructor.

droumis commented 2 years ago

To avoid issues with back compatibility, we should issue a warning that the data is unequal length.