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

datashade kdim dates change to float if vdim all same value #3673

Closed
douglasmacdonald opened this issue Apr 30, 2019 · 2 comments
Closed

datashade kdim dates change to float if vdim all same value #3673

douglasmacdonald opened this issue Apr 30, 2019 · 2 comments
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@douglasmacdonald
Copy link
Contributor

'1.12.1'

This renders as expected

datashade(hv.Curve(pd.DataFrame({'t':pd.date_range('2018-01-01', periods=2000, freq='H'), 'v':np.arange(2000)})))

Changing the values to all ones result in a rendered x-axis between -1 and 1.

pd.date_range('2018-01-01', periods=2000, freq='H') datashade(hv.Curve(pd.DataFrame({'t':pd.date_range('2018-01-01', periods=2000, freq='H'), 'v':np.ones(2000)})))

Full code (change to ones to break)

import pandas as pd
import holoviews as hv 
from holoviews.operation.datashader import datashade

hv.extension('bokeh')
renderer = hv.renderer('bokeh')

datashade(hv.Curve(pd.DataFrame({'t':pd.date_range('2018-01-01', periods=2000, freq='H'), 'v':np.arange(2000)})))```
@philippjfr philippjfr added the type: bug Something isn't correct or isn't working label Sep 23, 2019
@philippjfr philippjfr added this to the v1.12.6 milestone Sep 23, 2019
@philippjfr philippjfr modified the milestones: v1.12.6, v1.13.0 Oct 7, 2019
@philippjfr
Copy link
Member

Seems to be fixed.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

No branches or pull requests

2 participants