Ipywidgets: Notebook Validation Failed

Created on 4 Mar 2020  路  14Comments  路  Source: jupyter-widgets/ipywidgets

The save operation succeeded, but the notebook does not appear to be valid.

The validation error was:

Notebook validation failed: {'config': {'linkText': 'Export to plot.ly', 'plotlyServerURL': 'https://plot.ly', 'showLink': False}, 'data': [{'type': 'bar', 'x': ['alt.atheism', 'comp.graphics', 'comp.os.ms-windows.misc', 'comp.sys.ibm.pc.hardware', 'comp.sys.mac.hardware', 'comp.windows.x', 'misc.forsale', 'rec.autos', 'rec.motorcycles', 'rec.sport.baseball', 'rec.sport.hockey', 'sci.crypt', 'sci.electronics', 'sci.med', 'sci.space', 'soc.religion.christian', 'talk.politics.guns', 'talk.politics.mideast', 'talk.politics.misc', 'talk.religion.misc'], 'y': [799, 973, 985, 982, 963, 988, 975, 990, 996, 994, 999, 991, 984, 990, 987, 997, 910, 940, 775, 628]}], 'layout': {'template': {'data': {'bar': [{'error_x': {'color': '#2a3f5f'}, 'error_y': {'color': '#2a3f5f'}, 'marker': {'line': {'color': '#E5ECF6', 'width': 0.5}}, 'type': 'bar'}], 'barpolar': [{'marker': {'line': {'color': '#E5ECF6', 'width': 0.5}}, 'type': 'barpolar'}], 'carpet': [{'aaxis': {'endlinecolor': '#2a3f5f', 'gridcolor': 'white', 'linecolor': 'white', 'minorgridcolor': 'white', 'startlinecolor': '#2a3f5f'}, 'baxis': {'endlinecolor': '#2a3f5f', 'gridcolor': 'white', 'linecolor': 'white', 'minorgridcolor': 'white', 'startlinecolor': '#2a3f5f'}, 'type': 'carpet'}], 'choropleth': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'type': 'choropleth'}], 'contour': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'contour'}], 'contourcarpet': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'type': 'contourcarpet'}], 'heatmap': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'heatmap'}], 'heatmapgl': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'heatmapgl'}], 'histogram': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'histogram'}], 'histogram2d': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'histogram2d'}], 'histogram2dcontour': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'histogram2dcontour'}], 'mesh3d': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'type': 'mesh3d'}], 'parcoords': [{'line': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'parcoords'}], 'pie': [{'automargin': True, 'type': 'pie'}], 'scatter': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatter'}], 'scatter3d': [{'line': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatter3d'}], 'scattercarpet': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattercarpet'}], 'scattergeo': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattergeo'}], 'scattergl': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattergl'}], 'scattermapbox': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattermapbox'}], 'scatterpolar': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatterpolar'}], 'scatterpolargl': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatterpolargl'}], 'scatterternary': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatterternary'}], 'surface': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'surface'}], 'table': [{'cells': {'fill': {'color': '#EBF0F8'}, 'line': {'color': 'white'}}, 'header': {'fill': {'color': '#C8D4E3'}, 'line': {'color': 'white'}}, 'type': 'table'}]}, 'layout': {'annotationdefaults': {'arrowcolor': '#2a3f5f', 'arrowhead': 0, 'arrowwidth': 1}, 'coloraxis': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'colorscale': {'diverging': [[0, '#8e0152'], [0.1, '#c51b7d'], [0.2, '#de77ae'], [0.3, '#f1b6da'], [0.4, '#fde0ef'], [0.5, '#f7f7f7'], [0.6, '#e6f5d0'], [0.7, '#b8e186'], [0.8, '#7fbc41'], [0.9, '#4d9221'], [1, '#276419']], 'sequential': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'sequentialminus': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']]}, 'colorway': ['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#FFA15A', '#19d3f3', '#FF6692', '#B6E880', '#FF97FF', '#FECB52'], 'font': {'color': '#2a3f5f'}, 'geo': {'bgcolor': 'white', 'lakecolor': 'white', 'landcolor': '#E5ECF6', 'showlakes': True, 'showland': True, 'subunitcolor': 'white'}, 'hoverlabel': {'align': 'left'}, 'hovermode': 'closest', 'mapbox': {'style': 'light'}, 'paper_bgcolor': 'white', 'plot_bgcolor': '#E5ECF6', 'polar': {'angularaxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}, 'bgcolor': '#E5ECF6', 'radialaxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}}, 'scene': {'xaxis': {'backgroundcolor': '#E5ECF6', 'gridcolor': 'white', 'gridwidth': 2, 'linecolor': 'white', 'showbackground': True, 'ticks': '', 'zerolinecolor': 'white'}, 'yaxis': {'backgroundcolor': '#E5ECF6', 'gridcolor': 'white', 'gridwidth': 2, 'linecolor': 'white', 'showbackground': True, 'ticks': '', 'zerolinecolor': 'white'}, 'zaxis': {'backgroundcolor': '#E5ECF6', 'gridcolor': 'white', 'gridwidth': 2, 'linecolor': 'white', 'showbackground': True, 'ticks': '', 'zerolinecolor': 'white'}}, 'shapedefaults': {'line': {'color': '#2a3f5f'}}, 'ternary': {'aaxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}, 'baxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}, 'bgcolor': '#E5ECF6', 'caxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}}, 'title': {'x': 0.05}, 'xaxis': {'automargin': True, 'gridcolor': 'white', 'linecolor': 'white', 'ticks': '', 'title': {'standoff': 15}, 'zerolinecolor': 'white', 'zerolinewidth': 2}, 'yaxis': {'automargin': True, 'gridcolor': 'white', 'linecolor': 'white', 'ticks': '', 'title': {'standoff': 15}, 'zerolinecolor': 'white', 'zerolinewidth': 2}}}}} is not valid under any of the given schemas:
{
 "config": {
  "linkText": "Export to plot.ly",
  "plotlyServerURL": "https://plot.ly",
  "showLink": false
 },
 "data": [
  {
   "type": "bar",
   "x": [
    "alt.atheism",
    "comp.graphics",
    "comp.os.ms-windows.misc",
    "comp.sys.ibm.pc.hardware",
    "comp.sys.mac.hardware",
    "comp.windows.x",
    "misc.forsale",
    "rec.autos",
    "rec.motorcycles",
    "rec.sport.baseball",
    "rec.sport.hockey",
    "sci.crypt",
    "sci.electronics",
    "sci.med",
    "sci.space",
    "soc.religion.christian",
    "talk.politics.guns",
    "talk.politics.mideast",
    "talk.politics.misc",
    "talk.religion.misc"
   ],
   "y": [
    799,
    973,
    985,
    982,
    963,
    988,
    975,
    990,
    996,
    994,
    999,
    991,
    984,
    990,
    987,
    997,
    910,
    940,
    775,
    628
   ]
  }
 ],
 "layout": {
  "template": {
   "data": {
    "bar": [
     {
      "error_x": {
       "color": "#2a3f5f"
      },
      "error_y": {
       "color": "#2a3f5f"
      },
      "marker": {
       "line": {
        "color": "#E5ECF6",
        "width": 0.5
       }
      },
      "type": "bar"
     }
    ],
    "barpolar": [
     {
      "marker": {
       "line": {
        "color": "#E5ECF6",
        "width": 0.5
       }
      },
      "type": "barpolar"
     }
    ],
    "carpet": [
     {
      "aaxis": {
       "endlinecolor": "#2a3f5f",
       "gridcolor": "white",
       "linecolor": "white",
       "minorgridcolor": "white",
       "startlinecolor": "#2a3f5f"
      },
      "baxis": {
       "endlinecolor": "#2a3f5f",
       "gridcolor": "white",
       "linecolor": "white",
       "minorgridcolor": "white",
       "startlinecolor": "#2a3f5f"
      },
      "type": "carpet"
     }
    ],
    "choropleth": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "type": "choropleth"
     }
    ],
    "contour": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "contour"
     }
    ],
    "contourcarpet": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "type": "contourcarpet"
     }
    ],
    "heatmap": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "heatmap"
     }
    ],
    "heatmapgl": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "heatmapgl"
     }
    ],
    "histogram": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "histogram"
     }
    ],
    "histogram2d": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "histogram2d"
     }
    ],
    "histogram2dcontour": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "histogram2dcontour"
     }
    ],
    "mesh3d": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "type": "mesh3d"
     }
    ],
    "parcoords": [
     {
      "line": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "parcoords"
     }
    ],
    "pie": [
     {
      "automargin": true,
      "type": "pie"
     }
    ],
    "scatter": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatter"
     }
    ],
    "scatter3d": [
     {
      "line": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatter3d"
     }
    ],
    "scattercarpet": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattercarpet"
     }
    ],
    "scattergeo": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattergeo"
     }
    ],
    "scattergl": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattergl"
     }
    ],
    "scattermapbox": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattermapbox"
     }
    ],
    "scatterpolar": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatterpolar"
     }
    ],
    "scatterpolargl": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatterpolargl"
     }
    ],
    "scatterternary": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatterternary"
     }
    ],
    "surface": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "surface"
     }
    ],
    "table": [
     {
      "cells": {
       "fill": {
        "color": "#EBF0F8"
       },
       "line": {
        "color": "white"
       }
      },
      "header": {
       "fill": {
        "color": "#C8D4E3"
       },
       "line": {
        "color": "white"
       }
      },
      "type": "table"
     }
    ]
   },
   "layout": {
    "annotationdefaults": {
     "arrowcolor": "#2a3f5f",
     "arrowhead": 0,
     "arrowwidth": 1
    },
    "coloraxis": {
     "colorbar": {
      "outlinewidth": 0,
      "ticks": ""
     }
    },
    "colorscale": {
     "diverging": [
      [
       0,
       "#8e0152"
      ],
      [
       0.1,
       "#c51b7d"
      ],
      [
       0.2,
       "#de77ae"
      ],
      [
       0.3,
       "#f1b6da"
      ],
      [
       0.4,
       "#fde0ef"
      ],
      [
       0.5,
       "#f7f7f7"
      ],
      [
       0.6,
       "#e6f5d0"
      ],
      [
       0.7,
       "#b8e186"
      ],
      [
       0.8,
       "#7fbc41"
      ],
      [
       0.9,
       "#4d9221"
      ],
      [
       1,
       "#276419"
      ]
     ],
     "sequential": [
      [
       0,
       "#0d0887"
      ],
      [
       0.1111111111111111,
       "#46039f"
      ],
      [
       0.2222222222222222,
       "#7201a8"
      ],
      [
       0.3333333333333333,
       "#9c179e"
      ],
      [
       0.4444444444444444,
       "#bd3786"
      ],
      [
       0.5555555555555556,
       "#d8576b"
      ],
      [
       0.6666666666666666,
       "#ed7953"
      ],
      [
       0.7777777777777778,
       "#fb9f3a"
      ],
      [
       0.8888888888888888,
       "#fdca26"
      ],
      [
       1,
       "#f0f921"
      ]
     ],
     "sequentialminus": [
      [
       0,
       "#0d0887"
      ],
      [
       0.1111111111111111,
       "#46039f"
      ],
      [
       0.2222222222222222,
       "#7201a8"
      ],
      [
       0.3333333333333333,
       "#9c179e"
      ],
      [
       0.4444444444444444,
       "#bd3786"
      ],
      [
       0.5555555555555556,
       "#d8576b"
      ],
      [
       0.6666666666666666,
       "#ed7953"
      ],
      [
       0.7777777777777778,
       "#fb9f3a"
      ],
      [
       0.8888888888888888,
       "#fdca26"
      ],
      [
       1,
       "#f0f921"
      ]
     ]
    },
    "colorway": [
     "#636efa",
     "#EF553B",
     "#00cc96",
     "#ab63fa",
     "#FFA15A",
     "#19d3f3",
     "#FF6692",
     "#B6E880",
     "#FF97FF",
     "#FECB52"
    ],
    "font": {
     "color": "#2a3f5f"
    },
    "geo": {
     "bgcolor": "white",
     "lakecolor": "white",
     "landcolor": "#E5ECF6",
     "showlakes": true,
     "showland": true,
     "subunitcolor": "white"
    },
    "hoverlabel": {
     "align": "left"
    },
    "hovermode": "closest",
    "mapbox": {
     "style": "light"
    },
    "paper_bgcolor": "white",
    "plot_bgcolor": "#E5ECF6",
    "polar": {
     "angularaxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     },
     "bgcolor": "#E5ECF6",
     "radialaxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     }
    },
    "scene": {
     "xaxis": {
      "backgroundcolor": "#E5ECF6",
      "gridcolor": "white",
      "gridwidth": 2,
      "linecolor": "white",
      "showbackground": true,
      "ticks": "",
      "zerolinecolor": "white"
     },
     "yaxis": {
      "backgroundcolor": "#E5ECF6",
      "gridcolor": "white",
      "gridwidth": 2,
      "linecolor": "white",
      "showbackground": true,
      "ticks": "",
      "zerolinecolor": "white"
     },
     "zaxis": {
      "backgroundcolor": "#E5ECF6",
      "gridcolor": "white",
      "gridwidth": 2,
      "linecolor": "white",
      "showbackground": true,
      "ticks": "",
      "zerolinecolor": "white"
     }
    },
    "shapedefaults": {
     "line": {
      "color": "#2a3f5f"
     }
    },
    "ternary": {
     "aaxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     },
     "baxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     },
     "bgcolor": "#E5ECF6",
     "caxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     }
    },
    "title": {
     "x": 0.05
    },
    "xaxis": {
     "automargin": true,
     "gridcolor": "white",
     "linecolor": "white",
     "ticks": "",
     "title": {
      "standoff": 15
     },
     "zerolinecolor": "white",
     "zerolinewidth": 2
    },
    "yaxis": {
     "automargin": true,
     "gridcolor": "white",
     "linecolor": "white",
     "ticks": "",
     "title": {
      "standoff": 15
     },
     "zerolinecolor": "white",
     "zerolinewidth": 2
    }
   }
  }
 }
}

Most helpful comment

I got this issue when I modify a notebook downloaded from google colab.

All 14 comments

Same issue here:

Notebook validation failed
The save operation succeeded, but the notebook does not appear to be valid. The validation error was:

Notebook validation failed: {'config': {'plotlyServerURL': 'https://plot.ly'}, 'data': [{'hoverlabel': {'namelength': 0}, 'hovertemplate': 'y=%{y}', 'legendgroup': '', 'line': {'color': '#636efa', 'dash': 'solid'}, 'mode': 'lines', 'name': '', 'showlegend': False, 'type': 'scatter', 'xaxis': 'x', 'y': [-9727.45606572802, -8850.694266898683, -8551.974690522116, -8377.073637173771, -8237.225290680917, -8162.604384555714, -8092.262122023158, -8036.519948335772, -7978.459849797131, -7934.67670603467, -7893.830363071924, -7857.114990161179, -7817.446903168844, -7788.6233498992, -7759.702277378463, -7729.649305047782, -7698.866333963399, -7673.318411875659, -7652.990513271214], 'yaxis': 'y'}], 'layout': {'legend': {'tracegroupgap': 0}, 'margin': {'t': 60}, 'template': {'data': {'bar': [{'error_x': {'color': '#2a3f5f'}, 'error_y': {'color': '#2a3f5f'}, 'marker': {'line': {'color': '#E5ECF6', 'width': 0.5}}, 'type': 'bar'}], 'barpolar': [{'marker': {'line': {'color': '#E5ECF6', 'width': 0.5}}, 'type': 'barpolar'}], 'carpet': [{'aaxis': {'endlinecolor': '#2a3f5f', 'gridcolor': 'white', 'linecolor': 'white', 'minorgridcolor': 'white', 'startlinecolor': '#2a3f5f'}, 'baxis': {'endlinecolor': '#2a3f5f', 'gridcolor': 'white', 'linecolor': 'white', 'minorgridcolor': 'white', 'startlinecolor': '#2a3f5f'}, 'type': 'carpet'}], 'choropleth': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'type': 'choropleth'}], 'contour': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'contour'}], 'contourcarpet': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'type': 'contourcarpet'}], 'heatmap': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'heatmap'}], 'heatmapgl': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'heatmapgl'}], 'histogram': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'histogram'}], 'histogram2d': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'histogram2d'}], 'histogram2dcontour': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'histogram2dcontour'}], 'mesh3d': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'type': 'mesh3d'}], 'parcoords': [{'line': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'parcoords'}], 'pie': [{'automargin': True, 'type': 'pie'}], 'scatter': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatter'}], 'scatter3d': [{'line': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatter3d'}], 'scattercarpet': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattercarpet'}], 'scattergeo': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattergeo'}], 'scattergl': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattergl'}], 'scattermapbox': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scattermapbox'}], 'scatterpolar': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatterpolar'}], 'scatterpolargl': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatterpolargl'}], 'scatterternary': [{'marker': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'type': 'scatterternary'}], 'surface': [{'colorbar': {'outlinewidth': 0, 'ticks': ''}, 'colorscale': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'type': 'surface'}], 'table': [{'cells': {'fill': {'color': '#EBF0F8'}, 'line': {'color': 'white'}}, 'header': {'fill': {'color': '#C8D4E3'}, 'line': {'color': 'white'}}, 'type': 'table'}]}, 'layout': {'annotationdefaults': {'arrowcolor': '#2a3f5f', 'arrowhead': 0, 'arrowwidth': 1}, 'coloraxis': {'colorbar': {'outlinewidth': 0, 'ticks': ''}}, 'colorscale': {'diverging': [[0, '#8e0152'], [0.1, '#c51b7d'], [0.2, '#de77ae'], [0.3, '#f1b6da'], [0.4, '#fde0ef'], [0.5, '#f7f7f7'], [0.6, '#e6f5d0'], [0.7, '#b8e186'], [0.8, '#7fbc41'], [0.9, '#4d9221'], [1, '#276419']], 'sequential': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']], 'sequentialminus': [[0, '#0d0887'], [0.1111111111111111, '#46039f'], [0.2222222222222222, '#7201a8'], [0.3333333333333333, '#9c179e'], [0.4444444444444444, '#bd3786'], [0.5555555555555556, '#d8576b'], [0.6666666666666666, '#ed7953'], [0.7777777777777778, '#fb9f3a'], [0.8888888888888888, '#fdca26'], [1, '#f0f921']]}, 'colorway': ['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#FFA15A', '#19d3f3', '#FF6692', '#B6E880', '#FF97FF', '#FECB52'], 'font': {'color': '#2a3f5f'}, 'geo': {'bgcolor': 'white', 'lakecolor': 'white', 'landcolor': '#E5ECF6', 'showlakes': True, 'showland': True, 'subunitcolor': 'white'}, 'hoverlabel': {'align': 'left'}, 'hovermode': 'closest', 'mapbox': {'style': 'light'}, 'paper_bgcolor': 'white', 'plot_bgcolor': '#E5ECF6', 'polar': {'angularaxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}, 'bgcolor': '#E5ECF6', 'radialaxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}}, 'scene': {'xaxis': {'backgroundcolor': '#E5ECF6', 'gridcolor': 'white', 'gridwidth': 2, 'linecolor': 'white', 'showbackground': True, 'ticks': '', 'zerolinecolor': 'white'}, 'yaxis': {'backgroundcolor': '#E5ECF6', 'gridcolor': 'white', 'gridwidth': 2, 'linecolor': 'white', 'showbackground': True, 'ticks': '', 'zerolinecolor': 'white'}, 'zaxis': {'backgroundcolor': '#E5ECF6', 'gridcolor': 'white', 'gridwidth': 2, 'linecolor': 'white', 'showbackground': True, 'ticks': '', 'zerolinecolor': 'white'}}, 'shapedefaults': {'line': {'color': '#2a3f5f'}}, 'ternary': {'aaxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}, 'baxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}, 'bgcolor': '#E5ECF6', 'caxis': {'gridcolor': 'white', 'linecolor': 'white', 'ticks': ''}}, 'title': {'x': 0.05}, 'xaxis': {'automargin': True, 'gridcolor': 'white', 'linecolor': 'white', 'ticks': '', 'title': {'standoff': 15}, 'zerolinecolor': 'white', 'zerolinewidth': 2}, 'yaxis': {'automargin': True, 'gridcolor': 'white', 'linecolor': 'white', 'ticks': '', 'title': {'standoff': 15}, 'zerolinecolor': 'white', 'zerolinewidth': 2}}}, 'xaxis': {'anchor': 'y', 'domain': [0, 1]}, 'yaxis': {'anchor': 'x', 'domain': [0, 1], 'title': {'text': 'y'}}}} is not valid under any of the given schemas:
{
 "config": {
  "plotlyServerURL": "https://plot.ly"
 },
 "data": [
  {
   "hoverlabel": {
    "namelength": 0
   },
   "hovertemplate": "y=%{y}",
   "legendgroup": "",
   "line": {
    "color": "#636efa",
    "dash": "solid"
   },
   "mode": "lines",
   "name": "",
   "showlegend": false,
   "type": "scatter",
   "xaxis": "x",
   "y": [
    -9727.45606572802,
    -8850.694266898683,
    -8551.974690522116,
    -8377.073637173771,
    -8237.225290680917,
    -8162.604384555714,
    -8092.262122023158,
    -8036.519948335772,
    -7978.459849797131,
    -7934.67670603467,
    -7893.830363071924,
    -7857.114990161179,
    -7817.446903168844,
    -7788.6233498992,
    -7759.702277378463,
    -7729.649305047782,
    -7698.866333963399,
    -7673.318411875659,
    -7652.990513271214
   ],
   "yaxis": "y"
  }
 ],
 "layout": {
  "legend": {
   "tracegroupgap": 0
  },
  "margin": {
   "t": 60
  },
  "template": {
   "data": {
    "bar": [
     {
      "error_x": {
       "color": "#2a3f5f"
      },
      "error_y": {
       "color": "#2a3f5f"
      },
      "marker": {
       "line": {
        "color": "#E5ECF6",
        "width": 0.5
       }
      },
      "type": "bar"
     }
    ],
    "barpolar": [
     {
      "marker": {
       "line": {
        "color": "#E5ECF6",
        "width": 0.5
       }
      },
      "type": "barpolar"
     }
    ],
    "carpet": [
     {
      "aaxis": {
       "endlinecolor": "#2a3f5f",
       "gridcolor": "white",
       "linecolor": "white",
       "minorgridcolor": "white",
       "startlinecolor": "#2a3f5f"
      },
      "baxis": {
       "endlinecolor": "#2a3f5f",
       "gridcolor": "white",
       "linecolor": "white",
       "minorgridcolor": "white",
       "startlinecolor": "#2a3f5f"
      },
      "type": "carpet"
     }
    ],
    "choropleth": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "type": "choropleth"
     }
    ],
    "contour": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "contour"
     }
    ],
    "contourcarpet": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "type": "contourcarpet"
     }
    ],
    "heatmap": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "heatmap"
     }
    ],
    "heatmapgl": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "heatmapgl"
     }
    ],
    "histogram": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "histogram"
     }
    ],
    "histogram2d": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "histogram2d"
     }
    ],
    "histogram2dcontour": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "histogram2dcontour"
     }
    ],
    "mesh3d": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "type": "mesh3d"
     }
    ],
    "parcoords": [
     {
      "line": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "parcoords"
     }
    ],
    "pie": [
     {
      "automargin": true,
      "type": "pie"
     }
    ],
    "scatter": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatter"
     }
    ],
    "scatter3d": [
     {
      "line": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatter3d"
     }
    ],
    "scattercarpet": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattercarpet"
     }
    ],
    "scattergeo": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattergeo"
     }
    ],
    "scattergl": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattergl"
     }
    ],
    "scattermapbox": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scattermapbox"
     }
    ],
    "scatterpolar": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatterpolar"
     }
    ],
    "scatterpolargl": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatterpolargl"
     }
    ],
    "scatterternary": [
     {
      "marker": {
       "colorbar": {
        "outlinewidth": 0,
        "ticks": ""
       }
      },
      "type": "scatterternary"
     }
    ],
    "surface": [
     {
      "colorbar": {
       "outlinewidth": 0,
       "ticks": ""
      },
      "colorscale": [
       [
        0,
        "#0d0887"
       ],
       [
        0.1111111111111111,
        "#46039f"
       ],
       [
        0.2222222222222222,
        "#7201a8"
       ],
       [
        0.3333333333333333,
        "#9c179e"
       ],
       [
        0.4444444444444444,
        "#bd3786"
       ],
       [
        0.5555555555555556,
        "#d8576b"
       ],
       [
        0.6666666666666666,
        "#ed7953"
       ],
       [
        0.7777777777777778,
        "#fb9f3a"
       ],
       [
        0.8888888888888888,
        "#fdca26"
       ],
       [
        1,
        "#f0f921"
       ]
      ],
      "type": "surface"
     }
    ],
    "table": [
     {
      "cells": {
       "fill": {
        "color": "#EBF0F8"
       },
       "line": {
        "color": "white"
       }
      },
      "header": {
       "fill": {
        "color": "#C8D4E3"
       },
       "line": {
        "color": "white"
       }
      },
      "type": "table"
     }
    ]
   },
   "layout": {
    "annotationdefaults": {
     "arrowcolor": "#2a3f5f",
     "arrowhead": 0,
     "arrowwidth": 1
    },
    "coloraxis": {
     "colorbar": {
      "outlinewidth": 0,
      "ticks": ""
     }
    },
    "colorscale": {
     "diverging": [
      [
       0,
       "#8e0152"
      ],
      [
       0.1,
       "#c51b7d"
      ],
      [
       0.2,
       "#de77ae"
      ],
      [
       0.3,
       "#f1b6da"
      ],
      [
       0.4,
       "#fde0ef"
      ],
      [
       0.5,
       "#f7f7f7"
      ],
      [
       0.6,
       "#e6f5d0"
      ],
      [
       0.7,
       "#b8e186"
      ],
      [
       0.8,
       "#7fbc41"
      ],
      [
       0.9,
       "#4d9221"
      ],
      [
       1,
       "#276419"
      ]
     ],
     "sequential": [
      [
       0,
       "#0d0887"
      ],
      [
       0.1111111111111111,
       "#46039f"
      ],
      [
       0.2222222222222222,
       "#7201a8"
      ],
      [
       0.3333333333333333,
       "#9c179e"
      ],
      [
       0.4444444444444444,
       "#bd3786"
      ],
      [
       0.5555555555555556,
       "#d8576b"
      ],
      [
       0.6666666666666666,
       "#ed7953"
      ],
      [
       0.7777777777777778,
       "#fb9f3a"
      ],
      [
       0.8888888888888888,
       "#fdca26"
      ],
      [
       1,
       "#f0f921"
      ]
     ],
     "sequentialminus": [
      [
       0,
       "#0d0887"
      ],
      [
       0.1111111111111111,
       "#46039f"
      ],
      [
       0.2222222222222222,
       "#7201a8"
      ],
      [
       0.3333333333333333,
       "#9c179e"
      ],
      [
       0.4444444444444444,
       "#bd3786"
      ],
      [
       0.5555555555555556,
       "#d8576b"
      ],
      [
       0.6666666666666666,
       "#ed7953"
      ],
      [
       0.7777777777777778,
       "#fb9f3a"
      ],
      [
       0.8888888888888888,
       "#fdca26"
      ],
      [
       1,
       "#f0f921"
      ]
     ]
    },
    "colorway": [
     "#636efa",
     "#EF553B",
     "#00cc96",
     "#ab63fa",
     "#FFA15A",
     "#19d3f3",
     "#FF6692",
     "#B6E880",
     "#FF97FF",
     "#FECB52"
    ],
    "font": {
     "color": "#2a3f5f"
    },
    "geo": {
     "bgcolor": "white",
     "lakecolor": "white",
     "landcolor": "#E5ECF6",
     "showlakes": true,
     "showland": true,
     "subunitcolor": "white"
    },
    "hoverlabel": {
     "align": "left"
    },
    "hovermode": "closest",
    "mapbox": {
     "style": "light"
    },
    "paper_bgcolor": "white",
    "plot_bgcolor": "#E5ECF6",
    "polar": {
     "angularaxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     },
     "bgcolor": "#E5ECF6",
     "radialaxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     }
    },
    "scene": {
     "xaxis": {
      "backgroundcolor": "#E5ECF6",
      "gridcolor": "white",
      "gridwidth": 2,
      "linecolor": "white",
      "showbackground": true,
      "ticks": "",
      "zerolinecolor": "white"
     },
     "yaxis": {
      "backgroundcolor": "#E5ECF6",
      "gridcolor": "white",
      "gridwidth": 2,
      "linecolor": "white",
      "showbackground": true,
      "ticks": "",
      "zerolinecolor": "white"
     },
     "zaxis": {
      "backgroundcolor": "#E5ECF6",
      "gridcolor": "white",
      "gridwidth": 2,
      "linecolor": "white",
      "showbackground": true,
      "ticks": "",
      "zerolinecolor": "white"
     }
    },
    "shapedefaults": {
     "line": {
      "color": "#2a3f5f"
     }
    },
    "ternary": {
     "aaxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     },
     "baxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     },
     "bgcolor": "#E5ECF6",
     "caxis": {
      "gridcolor": "white",
      "linecolor": "white",
      "ticks": ""
     }
    },
    "title": {
     "x": 0.05
    },
    "xaxis": {
     "automargin": true,
     "gridcolor": "white",
     "linecolor": "white",
     "ticks": "",
     "title": {
      "standoff": 15
     },
     "zerolinecolor": "white",
     "zerolinewidth": 2
    },
    "yaxis": {
     "automargin": true,
     "gridcolor": "white",
     "linecolor": "white",
     "ticks": "",
     "title": {
      "standoff": 15
     },
     "zerolinecolor": "white",
     "zerolinewidth": 2
    }
   }
  },
  "xaxis": {
   "anchor": "y",
   "domain": [
    0,
    1
   ]
  },
  "yaxis": {
   "anchor": "x",
   "domain": [
    0,
    1
   ],
   "title": {
    "text": "y"
   }
  }
 }
}

Please post a sample notebook so we can see if it is valid.

What were you using that gave you this error? classic Jupyter Notebook? If so, what version?

What were you using that gave you this error? classic Jupyter Notebook? If so, what version?

This is always happening when I am using Plotly interactive plots in my notebook... version details are below:

About Jupyter Notebook
Server Information:
You are using Jupyter notebook.

The version of the notebook server is: 6.0.3
The server is running on this version of Python:
Python 3.7.6 (default, Jan  8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]

Current Kernel Information:
Python 3.7.6 (default, Jan  8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.

If I clear the cell with the plotly plot this no longer occurs

This is always happening when I am using Plotly interactive plots in my notebook... version details are below

Did you create an issue on the plotly repository as well? If not, please do and cross link them 馃憤

This is always happening when I am using Plotly interactive plots in my notebook... version details are below

Did you create an issue on the plotly repository as well? If not, please do and cross link them 馃憤

No. I also think it should be the problem of plotly.

It may be that you can just update your notebook format version (see the majorVersion and minorVersion keys in the .ipynb file if you open it in a text editor).

What version of the python nbformat package do you have? Does it fix it if you downgrade to nbformat 4.x?

Same here with plotly interactive plots

I got this issue when I modify a notebook downloaded from google colab.

I got the same issue when I open a notebook downloaded from google colab.

I got the same issue when I open a notebook downloaded from google colab.

Please attach or link to a sample notebook that has this issue, preferably a simple small notebook.

Also, please make sure you have the newest version of the python nbformat package installed. That is the package that is doing the validation.

Hi @jasongrout, thank you so much for the reply. That problem disappears somehow today. I didn't make any changes to the software/code. My nbformat version is 5.0.4, but I found the newest version is 5.0.8. I will try to upgrade it if the same issue comes again.

Thanks

Was this page helpful?
0 / 5 - 0 ratings