Philipp Rudiger
Philipp Rudiger
The element is the right place. So this PR is totally fine, just doesn't have to be on the plotting class too.
Oh wait sorry, this PR is only on the plotting classes. It'll have to be in the holoviews/element directory.
Okay, we'll have to take a look at hv.help then. Don't love the output in any case.
>I had to realize that to get linked brushing working for categorical data I had to convert it to numerical data and then just display categorical labels on the axis....
Okay, I'll add some tests when I get a chance.
Thanks @Jhsmit. The problem is that we also need to handle 10 or 100s of millions of rows performantly and sampling is the only way to do so performantly. Completely...
Ah sorry, my fault. I had originally been thinking about a separate suggestion of adding column sums of the unsampled dataframe to reduce the pathological cases but I now notice...
I see, yes it's problematic because you have to create a new axis to plot on. I'll have to think about it a bit, one quick workaround would be to...
Here's what it could look like with a `init_hooks` parameter: ``` python def twinx(plot, element): ax = plot.handles['axis'] twinax = ax.twinx() twinax.set_ylabel(str(element.last.get_dimension(1))) plot.handles['axis'] = twinax a = hv.Curve(([1,2], [3,21]), vdims=['A'])...
No, I'm suggesting to add the `init_hooks` parameter.