Private
Public Access
1
0

more unit tests

This commit is contained in:
Sander Roosendaal
2021-01-11 17:43:18 +01:00
parent 82b5ece732
commit e153e63481
7 changed files with 1278 additions and 1 deletions

View File

@@ -3476,6 +3476,7 @@ def interactive_agegroupcpchart(age,normalized=False):
def interactive_otwcpchart(powerdf,promember=0,rowername="",r=None,cpfit='data',
title='',type='water'):
powerdf = powerdf[~(powerdf == 0).any(axis=1)]
# plot tools
if (promember==1):
@@ -4136,6 +4137,7 @@ def interactive_streamchart(id=0,promember=0):
return [script,div]
def interactive_chart(id=0,promember=0,intervaldata = {}):
# Add hover to this comma-separated string and see what changes
if (promember==1):
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,hover,crosshair'