☰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

Dynamic graph color change

Community Supportserver
FreeRP
FreeRP

figure adding

signal_figure.line(x='x', y='y', source=self.__pool_signal[index],
                                  name='some_name', color='black')

Is it possible to change the color of the line after the graph is already drawn?
I must dynamically change color of figure
for example something like that.:

signal_figure.color = 'red'
⌁   Link to post
p-himik
p-himik

Ah, I misread the example. Just store the result of the call to line in a variable (say, line_renderer) and use line_renderer.glyph.color = 'red'. I didn’t test it but it should work.

⌁   Link to post

End of archived discussion · Replies are disabled