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 · Fixed by #3668
Closed

No plot when using Path with timeseries dataset #3464

henriqueribeiro opened this issue Feb 5, 2019 · 4 comments · Fixed by #3668
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@henriqueribeiro
Copy link
Contributor

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 type: bug Something isn't correct or isn't working label Feb 5, 2019
@philippjfr
Copy link
Member

Definitely looks like a bug to me.

@gdk-gagan
Copy link

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
Copy link
Member

@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
Copy link

Yep, got it, thanks @philippjfr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants