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

No plot when using Path with timeseries dataset #3464

Closed
henriqueribeiro opened this issue Feb 5, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@henriqueribeiro
Copy link
Contributor

commented Feb 5, 2019

Hey, I'm trying to create a Path plot with a timeseries dataset but the output plot is totally empty.

For non timeseries data it works fine

import holoviews as hv
import pandas as pd
hv.extension('bokeh')

ds = hv.Dataset([(0, 1), (1, 2), (2, 2), (3, 4)], ['x', 'y'])
hv.Path(ds, kdims=['x','y'])

bokeh_plot 9

For timeseries

ds = hv.Dataset([(pd.Timestamp('2018-01-01'), 1), (pd.Timestamp('2018-01-02'), 2), (pd.Timestamp('2018-01-03'), 2), (pd.Timestamp('2018-01-04'), 4)], ['x', 'y'])
hv.Path(ds, kdims=['x','y'])

bokeh_plot 10

Am I doing something wrong?

@philippjfr philippjfr added the bug label Feb 5, 2019

@philippjfr

This comment has been minimized.

Copy link
Contributor

commented Feb 8, 2019

Definitely looks like a bug to me.

@gdk-gagan

This comment has been minimized.

Copy link

commented Mar 19, 2019

Hi, I am facing a similar issue with .to on Dataset. (trying to run the examples in scipy-holoviews-2017 tutorial notebook 04-working-with-tabular-data)

04-working-with-tabular-data-issue

@philippjfr

This comment has been minimized.

Copy link
Contributor

commented Mar 19, 2019

@gdk-gagan I doubt those are the same issue, could you try running the PyViz tutorial instead, it's a much more recent version of the same content.

@gdk-gagan

This comment has been minimized.

Copy link

commented Mar 19, 2019

Yep, got it, thanks @philippjfr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.