mirror of https://github.com/snachodog/mybuddy.git
Remove redundant "changes" from Diaper Change types graph key.
This commit is contained in:
parent
17abac0829
commit
5a2983d30e
|
@ -29,18 +29,18 @@ def diaperchange_types(child):
|
|||
|
||||
solid_trace = go.Scatter(
|
||||
mode='markers',
|
||||
name='Solid changes',
|
||||
name='Solid',
|
||||
x=list(changes.values_list('date', flat=True)),
|
||||
y=list(changes.values_list('solid_count', flat=True)),
|
||||
)
|
||||
wet_trace = go.Scatter(
|
||||
mode='markers',
|
||||
name='Wet changes',
|
||||
name='Wet',
|
||||
x=list(changes.values_list('date', flat=True)),
|
||||
y=list(changes.values_list('wet_count', flat=True))
|
||||
)
|
||||
total_trace = go.Scatter(
|
||||
name='Total changes',
|
||||
name='Total',
|
||||
x=list(changes.values_list('date', flat=True)),
|
||||
y=list(changes.values_list('total', flat=True))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue