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

Bar chart between two dates is not showing when using vegafusion #3783

Open
samesand opened this issue Jan 28, 2025 · 0 comments
Open

Bar chart between two dates is not showing when using vegafusion #3783

samesand opened this issue Jan 28, 2025 · 0 comments
Labels
bug needs-triage Bug report needs maintainer response vega: vegafusion Requires upstream/integration action w/ `vegafusion`

Comments

@samesand
Copy link

samesand commented Jan 28, 2025

What happened?

I'm trying to plot a the following Pandas Dataframe, using alt.data_transformers.enable('vegafusion'):

test_data = pd.DataFrame([{'entity':1, 'start_time':pd.to_datetime('2024-11-03 00:15:00'), 'end_time':pd.to_datetime('2024-11-03 01:02:00')}])
alt.Chart(test_data).mark_bar().encode(x='start_time', x2='end_time', y='entity')

This returns and empty chart, and it only plots the data if the start_time is greater than 2AM.

If I don't enable vegafusion, the chart displays correctly.

What would you like to happen instead?

The chart show show a bar between the two time stamps

Which version of Altair are you using?

Altair Version 5.5.0

@samesand samesand added bug needs-triage Bug report needs maintainer response labels Jan 28, 2025
@dangotbanned dangotbanned added the vega: vegafusion Requires upstream/integration action w/ `vegafusion` label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage Bug report needs maintainer response vega: vegafusion Requires upstream/integration action w/ `vegafusion`
Projects
None yet
Development

No branches or pull requests

2 participants