Repository: plotly/plotly.py

Issue:
4 new colors for plotly themes
Let's add the last 4 colors from here!

https://projects.susielu.com/viz-palette?colors=[%22#636efa%22,%22#EF553B%22,%22#00cc96%22,%22#ab63fa%22,%22#19d3f3%22,%22#e763fa%22,%22#FECB52%22,%22#FFA15A%22,%22#FF6692%22,%22#B6E880%22]&backgroundColor=%22#ffffff%22&fontColor=%22black%22


Discussion:
I feel these colors would be nice to have too: [A color palette optimized for data visualization](http://www.mulinblog.com/a-color-palette-optimized-for-data-visualization/)

Resolving patch:
diff --git a/templategen/definitions.py b/templategen/definitions.py
--- a/templategen/definitions.py
+++ b/templategen/definitions.py
@@ -238,20 +238,23 @@ def seaborn():
         [1, '#276419'],
 ]
 
-
-def plotly():
-    # Define colors
-    # -------------
-    colorscale = linear_bmw_5_95_c86_n256
-
-    colorway = [
+plotly_colorway = [
         plotly_clrs['Cornflower'],
         plotly_clrs['Sienna'],
         plotly_clrs['Emerald'],
         plotly_clrs['Lavender Shade'],
         plotly_clrs['Aqua Shade'],
-        plotly_clrs['Lavender']
-    ]
+        plotly_clrs['Lavender'],
+        '#FECB52',
+        '#FFA15A',
+        '#FF6692',
+        '#B6E880'
+]
+
+def plotly():
+    # Define colors
+    # -------------
+    colorscale = linear_bmw_5_95_c86_n256
 
     # Set colorbar_common
     colorbar_common = dict(
@@ -289,7 +292,7 @@ def plotly():
         table_cell_clr=plotly_clrs['Rhino Light 2'],
         table_header_clr=plotly_clrs['Rhino Medium 2'],
         table_line_clr='white',
-        colorway=colorway,
+        colorway=plotly_colorway,
         colorbar_common=colorbar_common,
         colorscale=colorscale,
         colorscale_diverging=plotly_diverging,
@@ -310,6 +313,9 @@ def plotly():
     template.layout.xaxis.zerolinewidth = 2
     template.layout.yaxis.zerolinewidth = 2
 
+    # Mapbox light style
+    template.layout.mapbox.style = 'light'
+
     # Set table header font color to white
     return template
 
@@ -322,15 +328,6 @@ def plotly_white():
     # -------------
     colorscale = linear_bmw_5_95_c86_n256
 
-    colorway = [
-        plotly_clrs['Cornflower'],
-        plotly_clrs['Sienna'],
-        plotly_clrs['Emerald'],
-        plotly_clrs['Lavender Shade'],
-        plotly_clrs['Aqua Shade'],
-        plotly_clrs['Lavender']
-    ]
-
     # Set colorbar_common
     colorbar_common = dict(
         outlinewidth=0,
@@ -367,7 +364,7 @@ def plotly_white():
         table_cell_clr=plotly_clrs['Rhino Light 2'],
         table_header_clr=plotly_clrs['Rhino Medium 2'],
         table_line_clr='white',
-        colorway=colorway,
+        colorway=plotly_colorway,
         colorbar_common=colorbar_common,
         colorscale=colorscale,
         colorscale_diverging=plotly_diverging,
@@ -396,6 +393,9 @@ def plotly_white():
     template.layout.xaxis.zerolinewidth = 2
     template.layout.yaxis.zerolinewidth = 2
 
+    # Mapbox light style
+    template.layout.mapbox.style = 'light'
+
     # Set table header font color to white
     return template
 
@@ -408,15 +408,6 @@ def plotly_dark():
     # -------------
     colorscale = linear_bmw_5_95_c86_n256
 
-    colorway = [
-        plotly_clrs['Cornflower'],
-        plotly_clrs['Sienna'],
-        plotly_clrs['Emerald'],
-        plotly_clrs['Lavender Shade'],
-        plotly_clrs['Aqua Shade'],
-        plotly_clrs['Lavender']
-    ]
-
     # Set colorbar_common
     colorbar_common = dict(
         outlinewidth=0,
@@ -453,7 +444,7 @@ def plotly_dark():
         table_cell_clr=plotly_clrs['Rhino Dark'],
         table_header_clr=plotly_clrs['Rhino Core'],
         table_line_clr=jupyterlab_output_clr,
-        colorway=colorway,
+        colorway=plotly_colorway,
         colorbar_common=colorbar_common,
         colorscale=colorscale,
         colorscale_diverging=plotly_diverging,
@@ -490,6 +481,9 @@ def plotly_dark():
     template.layout.xaxis.zerolinewidth = 2
     template.layout.yaxis.zerolinewidth = 2
 
+    # Mapbox light style
+    template.layout.mapbox.style = 'dark'
+
     # Set marker outline color
     opts = {'marker': {'line': {'color': plotly_clrs['Rhino Darker']}}}
     template.data.scatter = [opts]


Test patch: