changed palette
This commit is contained in:
@@ -18,6 +18,7 @@ from django.utils import timezone
|
||||
from rowingdata import make_cumvalues
|
||||
|
||||
from bokeh.palettes import Dark2_8 as palette
|
||||
from bokeh.palettes import Set1_4 as palette2
|
||||
from bokeh.models.glyphs import MultiLine
|
||||
import itertools
|
||||
from bokeh.plotting import figure, ColumnDataSource, Figure,curdoc
|
||||
@@ -4789,10 +4790,10 @@ def interactive_flexchart_stacked(id,r,xparam='time',
|
||||
)
|
||||
plot4.y_range = Range1d(y4min,y4max)
|
||||
|
||||
plot1.line('x1','y1',source=source,color="cyan")
|
||||
plot2.line('x1','y2',source=source,color="red")
|
||||
plot3.line('x1','y3',source=source,color="green")
|
||||
plot4.line('x1','y4',source=source,color="blue")
|
||||
plot1.line('x1','y1',source=source,color=palette2[1])
|
||||
plot2.line('x1','y2',source=source,color=palette2[3])
|
||||
plot3.line('x1','y3',source=source,color=palette2[0])
|
||||
plot4.line('x1','y4',source=source,color=palette2[3])
|
||||
|
||||
layout = layoutcolumn([
|
||||
plot1,
|
||||
|
||||
@@ -249,6 +249,13 @@
|
||||
<i class="fas {{ user.rower.fav_analysis|icon }} fa-fw"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a class="small"
|
||||
href="/rowers/workout/{{ workout.id|encode }}/flexchartstacked/"
|
||||
title="Chart Stack">
|
||||
<i class="fas fa-align-justify fa-fw"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a class="small"
|
||||
href="/rowers/workout/{{ workout.id|encode }}/flexchart/"
|
||||
|
||||
Reference in New Issue
Block a user