We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With HoloViews 1.19.0, #6145 brought an interesting feature with continuous axis support for hv.Bars.
However, now when the stacked option is enabled, bars are not rendered correctly on a datetime x-axis. As an aside, xlims seem to be ignored.
stacked
import datetime as dt import holoviews as hv import pandas as pd data = pd.DataFrame({"x": pd.to_datetime(["2017-01-01T00:00:00", "2017-01-01T00:00:00", "2017-01-01T01:00:00", "2017-01-01T01:00:00", "2017-01-01T02:00:00", "2017-01-01T02:00:00"]), "cat": ["A", "B", "A", "B", "A", "B"], "y": [0, 2, 1, 5, 1, 2]}) hv.Bars(data, ["x", "cat"], ["y"]).opts( width=600, stacked=True, xlim=(dt.datetime(2017, 1, 1), dt.datetime(2017, 1, 2)))
The horizontal elements displayed extend across the x-axis just as HLine or HSpan.
I have no error in python or in the browser.
The text was updated successfully, but these errors were encountered:
Any idea where to look for in order to fix this? I'm willing to spend some time as this bug prevents me from updating to 1.19.
Sorry, something went wrong.
On holiday ⛱️ find the PR adding support for continous axis. Find the file(s) that changed. Try to debug basic example and figure out how it works.
I'll take a quick look at it, I suspect we didn't consider the grouped/stacked conditions at all.
Successfully merging a pull request may close this issue.
With HoloViews 1.19.0, #6145 brought an interesting feature with continuous axis support for hv.Bars.
However, now when the
stacked
option is enabled, bars are not rendered correctly on a datetime x-axis. As an aside, xlims seem to be ignored.The horizontal elements displayed extend across the x-axis just as HLine or HSpan.
I have no error in python or in the browser.
The text was updated successfully, but these errors were encountered: