prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Plotting styling guides are gone
  As discussed on Discourse the styling gallery notebooks for Plotly, Altair, Seaborn and Matplotlib have gone missing with Panel 1.0 release.
  
  Please re-add. Thx.
  
  </issue>
  <code>
  [start of panel/models/echarts.py]
  1 """
  2 Defines custom bokeh model to render ECharts plots.
  3 """
  4 from bokeh.core.properties import (
  5     Any, Dict, Enum, List, Nullable, String,
  6 )
  7 from bokeh.events import ModelEvent
  8 from bokeh.models import LayoutDOM
  9 
  10 from ..config import config
  11 from ..io.resources import bundled_files
  12 from ..util import classproperty
  13 
  14 
  15 class EChartsEvent(ModelEvent):
  16 
  17     event_name = 'echarts_event'
  18 
  19     def __init__(self, model, type=None, data=None, query=None):
  20         self.type = type
  21         self.data = data
  22         self.query = query
  23         super().__init__(model=model)
  24 
  25 
  26 class ECharts(LayoutDOM):
  27     """
  28     A Bokeh model that wraps around an ECharts plot and renders it
  29     inside a Bokeh.
  30     """
  31 
  32     __javascript_raw__ = [
  33         f"{config.npm_cdn}/echarts@5.4.1/dist/echarts.min.js",
  34         f"{config.npm_cdn}/echarts-gl@2.0.9/dist/echarts-gl.min.js"
  35     ]
  36 
  37     @classproperty
  38     def __javascript__(cls):
  39         return bundled_files(cls)
  40 
  41     @classproperty
  42     def __js_skip__(cls):
  43         return {
  44             'echarts': cls.__javascript__[:1]
  45         }
  46 
  47     __js_require__ = {
  48         'paths': {
  49             "echarts":  f"{config.npm_cdn}/echarts@5.4.1/dist/echarts.min",
  50             "echarts-gl": f"{config.npm_cdn}/echarts-gl@2.0.9/dist/echarts-gl.min"
  51         },
  52         'exports': {}
  53     }
  54 
  55     data = Nullable(Dict(String, Any))
  56 
  57     options = Nullable(Dict(String, Any))
  58 
  59     event_config = Dict(String, Any)
  60 
  61     js_events = Dict(String, List(Any))
  62 
  63     renderer = Enum("canvas", "svg")
  64 
  65     theme = Enum("default", "light", "dark")
  66
  [end of panel/models/echarts.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/panel/models/echarts.py b/panel/models/echarts.py
  --- a/panel/models/echarts.py
  +++ b/panel/models/echarts.py
  @@ -62,4 +62,4 @@
   
       renderer = Enum("canvas", "svg")
   
  -    theme = Enum("default", "light", "dark")
  +    theme = String("default")
  
verification_info: {"golden_diff": "diff --git a/panel/models/echarts.py b/panel/models/echarts.py\n--- a/panel/models/echarts.py\n+++ b/panel/models/echarts.py\n@@ -62,4 +62,4 @@\n \n     renderer = Enum(\"canvas\", \"svg\")\n \n-    theme = Enum(\"default\", \"light\", \"dark\")\n+    theme = String(\"default\")\n", "issue": "Plotting styling guides are gone\nAs discussed on Discourse the styling gallery notebooks for Plotly, Altair, Seaborn and Matplotlib have gone missing with Panel 1.0 release.\r\n\r\nPlease re-add. Thx.\n", "before_files": [{"content": "\"\"\"\nDefines custom bokeh model to render ECharts plots.\n\"\"\"\nfrom bokeh.core.properties import (\n    Any, Dict, Enum, List, Nullable, String,\n)\nfrom bokeh.events import ModelEvent\nfrom bokeh.models import LayoutDOM\n\nfrom ..config import config\nfrom ..io.resources import bundled_files\nfrom ..util import classproperty\n\n\nclass EChartsEvent(ModelEvent):\n\n    event_name = 'echarts_event'\n\n    def __init__(self, model, type=None, data=None, query=None):\n        self.type = type\n        self.data = data\n        self.query = query\n        super().__init__(model=model)\n\n\nclass ECharts(LayoutDOM):\n    \"\"\"\n    A Bokeh model that wraps around an ECharts plot and renders it\n    inside a Bokeh.\n    \"\"\"\n\n    __javascript_raw__ = [\n        f\"{config.npm_cdn}/echarts@5.4.1/dist/echarts.min.js\",\n        f\"{config.npm_cdn}/echarts-gl@2.0.9/dist/echarts-gl.min.js\"\n    ]\n\n    @classproperty\n    def __javascript__(cls):\n        return bundled_files(cls)\n\n    @classproperty\n    def __js_skip__(cls):\n        return {\n            'echarts': cls.__javascript__[:1]\n        }\n\n    __js_require__ = {\n        'paths': {\n            \"echarts\":  f\"{config.npm_cdn}/echarts@5.4.1/dist/echarts.min\",\n            \"echarts-gl\": f\"{config.npm_cdn}/echarts-gl@2.0.9/dist/echarts-gl.min\"\n        },\n        'exports': {}\n    }\n\n    data = Nullable(Dict(String, Any))\n\n    options = Nullable(Dict(String, Any))\n\n    event_config = Dict(String, Any)\n\n    js_events = Dict(String, List(Any))\n\n    renderer = Enum(\"canvas\", \"svg\")\n\n    theme = Enum(\"default\", \"light\", \"dark\")\n", "path": "panel/models/echarts.py"}]}