From fa72dfd72377ef59bfeaae170ced8f3df40dcd60 Mon Sep 17 00:00:00 2001 From: hisham waleed karam Date: Sun, 2 Jun 2019 12:34:50 +0200 Subject: [PATCH 1/2] mapbox raster --- plotly/validators/layout/mapbox/layer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plotly/validators/layout/mapbox/layer/__init__.py b/plotly/validators/layout/mapbox/layer/__init__.py index f6d71041dc3..f4403a6c56c 100644 --- a/plotly/validators/layout/mapbox/layer/__init__.py +++ b/plotly/validators/layout/mapbox/layer/__init__.py @@ -33,7 +33,7 @@ def __init__( parent_name=parent_name, edit_type=kwargs.pop('edit_type', 'plot'), role=kwargs.pop('role', 'info'), - values=kwargs.pop('values', ['circle', 'line', 'fill', 'symbol']), + values=kwargs.pop("values", ["circle", "line", "fill", "symbol", "raster"]), **kwargs ) @@ -125,7 +125,7 @@ def __init__( parent_name=parent_name, edit_type=kwargs.pop('edit_type', 'plot'), role=kwargs.pop('role', 'info'), - values=kwargs.pop('values', ['geojson', 'vector']), + values=kwargs.pop("values", ["geojson", "vector", "raster"]), **kwargs ) From 4a35b99444dfea78a982641db5a567c6bbb4e3cc Mon Sep 17 00:00:00 2001 From: hisham waleed karam Date: Sun, 2 Jun 2019 13:10:46 +0200 Subject: [PATCH 2/2] fix code formatting --- plotly/validators/layout/mapbox/layer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plotly/validators/layout/mapbox/layer/__init__.py b/plotly/validators/layout/mapbox/layer/__init__.py index f4403a6c56c..a0384a0af38 100644 --- a/plotly/validators/layout/mapbox/layer/__init__.py +++ b/plotly/validators/layout/mapbox/layer/__init__.py @@ -33,7 +33,7 @@ def __init__( parent_name=parent_name, edit_type=kwargs.pop('edit_type', 'plot'), role=kwargs.pop('role', 'info'), - values=kwargs.pop("values", ["circle", "line", "fill", "symbol", "raster"]), + values=kwargs.pop('values', ['circle', 'line', 'fill', 'symbol', 'raster']), **kwargs ) @@ -125,7 +125,7 @@ def __init__( parent_name=parent_name, edit_type=kwargs.pop('edit_type', 'plot'), role=kwargs.pop('role', 'info'), - values=kwargs.pop("values", ["geojson", "vector", "raster"]), + values=kwargs.pop('values', ['geojson', 'vector', 'raster']), **kwargs )