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
Closed

No plot when using Path with timeseries dataset #3464

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

Comments

@henriqueribeiro
Copy link
Contributor

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

@philippjfr philippjfr commented Feb 8, 2019

Definitely looks like a bug to me.

Loading

@gdk-gagan
Copy link

@gdk-gagan gdk-gagan 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

Loading

@philippjfr
Copy link
Member

@philippjfr philippjfr 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.

Loading

@gdk-gagan
Copy link

@gdk-gagan gdk-gagan commented Mar 19, 2019

Yep, got it, thanks @philippjfr

Loading

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

Successfully merging a pull request may close this issue.

3 participants