diff --git a/caravel/data/__init__.py b/caravel/data/__init__.py index c11153987141..8d8c0f577d1d 100644 --- a/caravel/data/__init__.py +++ b/caravel/data/__init__.py @@ -285,7 +285,7 @@ def load_world_bank_health_n_pop(): metric="sum__SP_RUR_TOTL_ZS", num_period_compare="10")), Slice( - slice_name="Life Expexctancy VS Rural %", + slice_name="Life Expectancy VS Rural %", viz_type='bubble', datasource_type='table', table=tbl, @@ -368,7 +368,7 @@ def load_world_bank_health_n_pop(): 'sum__SP_RUR_TOTL_ZS', 'sum__SH_DYN_AIDS'], secondary_metric='sum__SP_POP_TOTL', - series=["country_name"],)), + series="country_name",)), ] for slc in slices: merge_slice(slc) @@ -1068,6 +1068,7 @@ def load_multiformat_time_series_data(): dttm_and_expr = dttm_and_expr_dict[col.column_name] col.python_date_format = dttm_and_expr[0] col.dbatabase_expr = dttm_and_expr[1] + col.is_dttm = True db.session.merge(obj) db.session.commit() obj.fetch_metadata() diff --git a/caravel/forms.py b/caravel/forms.py index 072c617fd6cc..230ba3cea6e1 100755 --- a/caravel/forms.py +++ b/caravel/forms.py @@ -551,7 +551,7 @@ def __init__(self, viz): "default": default_groupby, "description": _( "Defines the grouping of entities. " - "Each serie is shown as a specific color on the chart and " + "Each series is shown as a specific color on the chart and " "has a legend toggle") }), 'entity': (SelectField, {