Remove redundant "changes" from Diaper Change types graph key.

This commit is contained in:
Christopher Charbonneau Wells 2017-09-25 12:18:02 -04:00
parent 17abac0829
commit 5a2983d30e
1 changed files with 3 additions and 3 deletions

View File

@ -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))
)