Skip to content

Commit

Permalink
Bump plotly.js version to 2.35.3 (#7657)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jan 22, 2025
1 parent eeaa7ed commit 030487f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions panel/models/plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
from ..io.resources import JS_URLS, bundled_files
from ..util import classproperty

PLOTLY_VERSION = '2.35.3'


class PlotlyEvent(ModelEvent):

Expand All @@ -35,7 +37,7 @@ def __css__(cls):

__javascript_raw__ = [
JS_URLS['jQuery'],
'https://cdn.plot.ly/plotly-2.31.1.min.js'
f'https://cdn.plot.ly/plotly-{PLOTLY_VERSION}.min.js'
]

@classproperty
Expand All @@ -48,7 +50,7 @@ def __js_skip__(cls):

__js_require__ = {
'paths': {
'plotly': 'https://cdn.plot.ly/plotly-2.31.1.min'
'plotly': f'https://cdn.plot.ly/plotly-{PLOTLY_VERSION}.min'
},
'exports': {'plotly': 'Plotly'}
}
Expand Down

0 comments on commit 030487f

Please sign in to comment.