-
Notifications
You must be signed in to change notification settings - Fork 112
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
Constant lines are splited #117
Comments
hi @mosc9575 , thanks for submitting this issue. this is indeed a weird behaviour and I have to look at the code why this happens. When I just plot this via Bokeh, I cannot see this behaviour: |
Hello, I was curious about this bug. Hence, to reproduce this problem with "pure" bokeh you can use the following code where all parameters used are the same as in pandas_bokeh. p = figure(title='', toolbar_location='right', active_scroll='wheel_zoom', plot_width=600, plot_height=400, output_backend='webgl', sizing_mode='fixed', x_axis_location='below', x_axis_label='')
p.line(df.index, df.x, legend_label=" x", color="#1f77b4")
p.line(df.index, df.y, legend_label=" y", color="#ff7f0e")
show(p) By removing the |
Meanwhile, I added an issue on the bokeh repository: bokeh/bokeh#12058 |
@vroger11 Your investigation is gold worth. Thanks a lot. |
Environment
Pandas 1.3.3
Python 3.9.7
pandas_bokeh 0.5.5
Problem
When drawing constant lines in with
pandas-bokeh
it looks like there are multiple shorter lines instead on large on. When using a zoom tool this looks very odd.This problem was first mentioned on SO.
The text was updated successfully, but these errors were encountered: