☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Plotting Multiple lines

Community Support
David_Price
David_Price

I have a dataset where I want to plot some of the data as points and some as lines. Each dataset (points, lines) consists of subsets, which I want to plot individually.
I have the data in a dataframe. I can plot the points as I described, but, not the lines. I tried multi_line, but, I get an error

Reading the documentation it refers to xs, ys as lists of lists.

What is the best way to do this?

Can it be done from a dataframe?
Should I separate the data into two dataframes?

I have tried to search for an answer, but, with no success

thanks
.

.

Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956

···

Consultant - RESERVOIR ENGINEER

⌁   Link to post

End of archived discussion · Replies are disabled