You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

plotly

Package Overview
Dependencies
Maintainers
8
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plotly - pypi Package Compare versions

Comparing version
6.5.2
to
6.6.0
plotly/labextension/static/340.330950829c5d59eca692.js

Sorry, the diff of this file is too big to display

+1
var _JUPYTERLAB;(()=>{"use strict";var e,r,t={987:(e,r,t)=>{var o={"./index":()=>t.e(340).then((()=>()=>t(340))),"./mimeExtension":()=>t.e(340).then((()=>()=>t(340)))},a=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),n=(e,r)=>{if(t.S){var o="default",a=t.S[o];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>a,init:()=>n})}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,a),n.exports}a.m=t,a.c=o,a.amdO={},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>e+".330950829c5d59eca692.js?v=330950829c5d59eca692",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyterlab-plotly:",a.l=(t,o,n,i)=>{if(e[t])e[t].push(o);else{var l,u;if(void 0!==n)for(var p=document.getElementsByTagName("script"),s=0;s<p.length;s++){var d=p[s];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==r+n){l=d;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",r+n),l.src=t),e[t]=[o];var c=(r,o)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(o))),r)return r(o)},f=setTimeout(c.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=c.bind(null,l.onerror),l.onload=c.bind(null,l.onload),u&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},r={};a.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];a.o(a.S,t)||(a.S[t]={});var i=a.S[t],l="jupyterlab-plotly",u=[];return"default"===t&&((e,r,t,o)=>{var n=i[e]=i[e]||{},u=n[r];(!u||!u.loaded&&(1!=!u.eager?o:l>u.from))&&(n[r]={get:()=>a.e(340).then((()=>()=>a(340))),from:l,eager:!1})})("jupyterlab-plotly","6.0.1"),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var r=a.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={80:0};a.f.j=(r,t)=>{var o=a.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else{var n=new Promise(((t,a)=>o=e[r]=[t,a]));t.push(o[2]=n);var i=a.p+a.u(r),l=new Error;a.l(i,(t=>{if(a.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",l.name="ChunkLoadError",l.type=n,l.request=i,o[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[i,l,u]=t,p=0;if(i.some((r=>0!==e[r]))){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);u&&u(a)}for(r&&r(t);p<i.length;p++)n=i[p],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunkjupyterlab_plotly=self.webpackChunkjupyterlab_plotly||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=a(987);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["jupyterlab-plotly"]=n})();
+1
-1
Metadata-Version: 2.4
Name: plotly
Version: 6.5.2
Version: 6.6.0
Summary: An open-source interactive data visualization library for Python

@@ -5,0 +5,0 @@ Author-email: Chris P <chris@plot.ly>

Metadata-Version: 2.4
Name: plotly
Version: 6.5.2
Version: 6.6.0
Summary: An open-source interactive data visualization library for Python

@@ -5,0 +5,0 @@ Author-email: Chris P <chris@plot.ly>

@@ -28,2 +28,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"title",
"titleclick",
"titledoubleclick",
"tracegroupgap",

@@ -378,2 +380,51 @@ "traceorder",

@property
def titleclick(self):
"""
Determines the behavior on legend title click. "toggle" toggles
the visibility of all items in the legend. "toggleothers"
toggles the visibility of all other legends. False disables
legend title click interactions. Defaults to "toggle" when
there are multiple legends, False otherwise. Not supported for
legends containing pie and pie-like traces.
The 'titleclick' property is an enumeration that may be specified as:
- One of the following enumeration values:
['toggle', 'toggleothers', False]
Returns
-------
Any
"""
return self["titleclick"]
@titleclick.setter
def titleclick(self, val):
self["titleclick"] = val
@property
def titledoubleclick(self):
"""
Determines the behavior on legend title double-click. "toggle"
toggles the visibility of all items in the legend.
"toggleothers" toggles the visibility of all other legends.
False disables legend title double-click interactions. Defaults
to "toggleothers" when there are multiple legends, False
otherwise. Not supported for legends containing pie and pie-
like traces.
The 'titledoubleclick' property is an enumeration that may be specified as:
- One of the following enumeration values:
['toggle', 'toggleothers', False]
Returns
-------
Any
"""
return self["titledoubleclick"]
@titledoubleclick.setter
def titledoubleclick(self, val):
self["titledoubleclick"] = val
@property
def tracegroupgap(self):

@@ -685,2 +736,18 @@ """

instance or dict with compatible properties
titleclick
Determines the behavior on legend title click. "toggle"
toggles the visibility of all items in the legend.
"toggleothers" toggles the visibility of all other
legends. False disables legend title click
interactions. Defaults to "toggle" when there are
multiple legends, False otherwise. Not supported for
legends containing pie and pie-like traces.
titledoubleclick
Determines the behavior on legend title double-click.
"toggle" toggles the visibility of all items in the
legend. "toggleothers" toggles the visibility of all
other legends. False disables legend title double-click
interactions. Defaults to "toggleothers" when there are
multiple legends, False otherwise. Not supported for
legends containing pie and pie-like traces.
tracegroupgap

@@ -771,2 +838,4 @@ Sets the amount of vertical space (in px) between

title=None,
titleclick=None,
titledoubleclick=None,
tracegroupgap=None,

@@ -856,2 +925,18 @@ traceorder=None,

instance or dict with compatible properties
titleclick
Determines the behavior on legend title click. "toggle"
toggles the visibility of all items in the legend.
"toggleothers" toggles the visibility of all other
legends. False disables legend title click
interactions. Defaults to "toggle" when there are
multiple legends, False otherwise. Not supported for
legends containing pie and pie-like traces.
titledoubleclick
Determines the behavior on legend title double-click.
"toggle" toggles the visibility of all items in the
legend. "toggleothers" toggles the visibility of all
other legends. False disables legend title double-click
interactions. Defaults to "toggleothers" when there are
multiple legends, False otherwise. Not supported for
legends containing pie and pie-like traces.
tracegroupgap

@@ -962,2 +1047,4 @@ Sets the amount of vertical space (in px) between

self._set_property("title", arg, title)
self._set_property("titleclick", arg, titleclick)
self._set_property("titledoubleclick", arg, titledoubleclick)
self._set_property("tracegroupgap", arg, tracegroupgap)

@@ -964,0 +1051,0 @@ self._set_property("traceorder", arg, traceorder)

@@ -36,2 +36,3 @@ # --- THIS FILE IS AUTO-GENERATED ---

"xref",
"xrefsrc",
"xsizemode",

@@ -44,2 +45,3 @@ "y0",

"yref",
"yrefsrc",
"ysizemode",

@@ -563,3 +565,8 @@ }

position of 0.5 refers to the point between the left and the
right of the domain of the second x axis.
right of the domain of the second x axis. If an array of axis
IDs is provided, each `x` value will refer to the corresponding
axis, e.g., ['x', 'x2'] for a rectangle, line, or circle means
`x0` uses the `x` axis and `x1` uses the `x2` axis. Path shapes
using an array should have one entry for each x coordinate in
the string.

@@ -571,6 +578,7 @@ The 'xref' property is an enumeration that may be specified as:

['^x([2-9]|[1-9][0-9]+)?( domain)?$']
- A tuple, list, or one-dimensional numpy array of the above
Returns
-------
Any
Any|numpy.ndarray
"""

@@ -584,2 +592,20 @@ return self["xref"]

@property
def xrefsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `xref`.
The 'xrefsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["xrefsrc"]
@xrefsrc.setter
def xrefsrc(self, val):
self["xrefsrc"] = val
@property
def xsizemode(self):

@@ -594,3 +620,4 @@ """

to `xanchor`. This way, the shape can have a fixed width while
maintaining a position relative to data or plot fraction.
maintaining a position relative to data or plot fraction. Note:
`xsizemode` "pixel" is not supported when `xref` is an array.

@@ -723,3 +750,8 @@ The 'xsizemode' property is an enumeration that may be specified as:

y axis and a y position of 0.5 refers to the point between the
bottom and the top of the domain of the second y axis.
bottom and the top of the domain of the second y axis. If an
array of axis IDs is provided, each `y` value will refer to the
corresponding axis, e.g., ['y', 'y2'] for a rectangle, line, or
circle means `y0` uses the `y` axis and `y1` uses the `y2`
axis. Path shapes using an array should have one entry for each
y coordinate in the string.

@@ -731,6 +763,7 @@ The 'yref' property is an enumeration that may be specified as:

['^y([2-9]|[1-9][0-9]+)?( domain)?$']
- A tuple, list, or one-dimensional numpy array of the above
Returns
-------
Any
Any|numpy.ndarray
"""

@@ -744,2 +777,20 @@ return self["yref"]

@property
def yrefsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `yref`.
The 'yrefsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["yrefsrc"]
@yrefsrc.setter
def yrefsrc(self, val):
self["yrefsrc"] = val
@property
def ysizemode(self):

@@ -754,3 +805,4 @@ """

to `yanchor`. This way, the shape can have a fixed height while
maintaining a position relative to data or plot fraction.
maintaining a position relative to data or plot fraction. Note:
`ysizemode` "pixel" is not supported when `yref` is an array.

@@ -924,3 +976,11 @@ The 'ysizemode' property is an enumeration that may be specified as:

refers to the point between the left and the right of
the domain of the second x axis.
the domain of the second x axis. If an array of axis
IDs is provided, each `x` value will refer to the
corresponding axis, e.g., ['x', 'x2'] for a rectangle,
line, or circle means `x0` uses the `x` axis and `x1`
uses the `x2` axis. Path shapes using an array should
have one entry for each x coordinate in the string.
xrefsrc
Sets the source reference on Chart Studio Cloud for
`xref`.
xsizemode

@@ -935,3 +995,5 @@ Sets the shapes's sizing mode along the x axis. If set

way, the shape can have a fixed width while maintaining
a position relative to data or plot fraction.
a position relative to data or plot fraction. Note:
`xsizemode` "pixel" is not supported when `xref` is an
array.
y0

@@ -973,3 +1035,11 @@ Sets the shape's starting y position. See `type` and

refers to the point between the bottom and the top of
the domain of the second y axis.
the domain of the second y axis. If an array of axis
IDs is provided, each `y` value will refer to the
corresponding axis, e.g., ['y', 'y2'] for a rectangle,
line, or circle means `y0` uses the `y` axis and `y1`
uses the `y2` axis. Path shapes using an array should
have one entry for each y coordinate in the string.
yrefsrc
Sets the source reference on Chart Studio Cloud for
`yref`.
ysizemode

@@ -985,3 +1055,4 @@ Sets the shapes's sizing mode along the y axis. If set

maintaining a position relative to data or plot
fraction.
fraction. Note: `ysizemode` "pixel" is not supported
when `yref` is an array.
"""

@@ -1016,2 +1087,3 @@

xref=None,
xrefsrc=None,
xsizemode=None,

@@ -1024,2 +1096,3 @@ y0=None,

yref=None,
yrefsrc=None,
ysizemode=None,

@@ -1186,3 +1259,11 @@ **kwargs,

refers to the point between the left and the right of
the domain of the second x axis.
the domain of the second x axis. If an array of axis
IDs is provided, each `x` value will refer to the
corresponding axis, e.g., ['x', 'x2'] for a rectangle,
line, or circle means `x0` uses the `x` axis and `x1`
uses the `x2` axis. Path shapes using an array should
have one entry for each x coordinate in the string.
xrefsrc
Sets the source reference on Chart Studio Cloud for
`xref`.
xsizemode

@@ -1197,3 +1278,5 @@ Sets the shapes's sizing mode along the x axis. If set

way, the shape can have a fixed width while maintaining
a position relative to data or plot fraction.
a position relative to data or plot fraction. Note:
`xsizemode` "pixel" is not supported when `xref` is an
array.
y0

@@ -1235,3 +1318,11 @@ Sets the shape's starting y position. See `type` and

refers to the point between the bottom and the top of
the domain of the second y axis.
the domain of the second y axis. If an array of axis
IDs is provided, each `y` value will refer to the
corresponding axis, e.g., ['y', 'y2'] for a rectangle,
line, or circle means `y0` uses the `y` axis and `y1`
uses the `y2` axis. Path shapes using an array should
have one entry for each y coordinate in the string.
yrefsrc
Sets the source reference on Chart Studio Cloud for
`yref`.
ysizemode

@@ -1247,3 +1338,4 @@ Sets the shapes's sizing mode along the y axis. If set

maintaining a position relative to data or plot
fraction.
fraction. Note: `ysizemode` "pixel" is not supported
when `yref` is an array.

@@ -1298,2 +1390,3 @@ Returns

self._set_property("xref", arg, xref)
self._set_property("xrefsrc", arg, xrefsrc)
self._set_property("xsizemode", arg, xsizemode)

@@ -1306,4 +1399,5 @@ self._set_property("y0", arg, y0)

self._set_property("yref", arg, yref)
self._set_property("yrefsrc", arg, yrefsrc)
self._set_property("ysizemode", arg, ysizemode)
self._process_kwargs(**dict(arg, **kwargs))
self._skip_invalid = False

@@ -153,8 +153,9 @@ # --- THIS FILE IS AUTO-GENERATED ---

template string has access to variables `x0`, `x1`, `y0`, `y1`,
`slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and
`ycenter`. Variables that can't be found will be replaced with
the specifier. For example, a template of "data: %{x}, %{y}"
will result in a value of "data: 1, %{y}" if x is 1 and y is
missing. Variables with an undefined value will be replaced
with the fallback value.
`slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter`,
`ycenter`, `simpleXVariables` and `simpleYVariables`. Variables
that can't be found will be replaced with the specifier. For
example, a template of "data: %{x}, %{y}" will result in a
value of "data: 1, %{y}" if x is 1 and y is missing. Variables
with an undefined value will be replaced with the fallback
value.

@@ -289,8 +290,9 @@ The 'texttemplate' property is a string and must be specified as:

`slope`, `dx`, `dy`, `width`, `height`, `length`,
`xcenter` and `ycenter`. Variables that can't be found
will be replaced with the specifier. For example, a
template of "data: %{x}, %{y}" will result in a value
of "data: 1, %{y}" if x is 1 and y is missing.
Variables with an undefined value will be replaced with
the fallback value.
`xcenter`, `ycenter`, `simpleXVariables` and
`simpleYVariables`. Variables that can't be found will
be replaced with the specifier. For example, a template
of "data: %{x}, %{y}" will result in a value of "data:
1, %{y}" if x is 1 and y is missing. Variables with an
undefined value will be replaced with the fallback
value.
texttemplatefallback

@@ -385,8 +387,9 @@ Fallback string that's displayed when a variable

`slope`, `dx`, `dy`, `width`, `height`, `length`,
`xcenter` and `ycenter`. Variables that can't be found
will be replaced with the specifier. For example, a
template of "data: %{x}, %{y}" will result in a value
of "data: 1, %{y}" if x is 1 and y is missing.
Variables with an undefined value will be replaced with
the fallback value.
`xcenter`, `ycenter`, `simpleXVariables` and
`simpleYVariables`. Variables that can't be found will
be replaced with the specifier. For example, a template
of "data: %{x}, %{y}" will result in a value of "data:
1, %{y}" if x is 1 and y is missing. Variables with an
undefined value will be replaced with the fallback
value.
texttemplatefallback

@@ -393,0 +396,0 @@ Fallback string that's displayed when a variable

@@ -152,8 +152,9 @@ # --- THIS FILE IS AUTO-GENERATED ---

template string has access to variables `x0`, `x1`, `y0`, `y1`,
`slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and
`ycenter`. Variables that can't be found will be replaced with
the specifier. For example, a template of "data: %{x}, %{y}"
will result in a value of "data: 1, %{y}" if x is 1 and y is
missing. Variables with an undefined value will be replaced
with the fallback value.
`slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter`,
`ycenter`, `simpleXVariables` and `simpleYVariables`. Variables
that can't be found will be replaced with the specifier. For
example, a template of "data: %{x}, %{y}" will result in a
value of "data: 1, %{y}" if x is 1 and y is missing. Variables
with an undefined value will be replaced with the fallback
value.

@@ -288,8 +289,9 @@ The 'texttemplate' property is a string and must be specified as:

`slope`, `dx`, `dy`, `width`, `height`, `length`,
`xcenter` and `ycenter`. Variables that can't be found
will be replaced with the specifier. For example, a
template of "data: %{x}, %{y}" will result in a value
of "data: 1, %{y}" if x is 1 and y is missing.
Variables with an undefined value will be replaced with
the fallback value.
`xcenter`, `ycenter`, `simpleXVariables` and
`simpleYVariables`. Variables that can't be found will
be replaced with the specifier. For example, a template
of "data: %{x}, %{y}" will result in a value of "data:
1, %{y}" if x is 1 and y is missing. Variables with an
undefined value will be replaced with the fallback
value.
texttemplatefallback

@@ -384,8 +386,9 @@ Fallback string that's displayed when a variable

`slope`, `dx`, `dy`, `width`, `height`, `length`,
`xcenter` and `ycenter`. Variables that can't be found
will be replaced with the specifier. For example, a
template of "data: %{x}, %{y}" will result in a value
of "data: 1, %{y}" if x is 1 and y is missing.
Variables with an undefined value will be replaced with
the fallback value.
`xcenter`, `ycenter`, `simpleXVariables` and
`simpleYVariables`. Variables that can't be found will
be replaced with the specifier. For example, a template
of "data: %{x}, %{y}" will result in a value of "data:
1, %{y}" if x is 1 and y is missing. Variables with an
undefined value will be replaced with the fallback
value.
texttemplatefallback

@@ -392,0 +395,0 @@ Fallback string that's displayed when a variable

@@ -21,2 +21,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"colorsrc",
"dash",
"dashsrc",
"reversescale",

@@ -264,2 +266,44 @@ "width",

@property
def dash(self):
"""
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
The 'dash' property is an enumeration that may be specified as:
- One of the following dash styles:
['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
- A string containing a dash length list in pixels or percentages
(e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
Returns
-------
str|numpy.ndarray
"""
return self["dash"]
@dash.setter
def dash(self, val):
self["dash"] = val
@property
def dashsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `dash`.
The 'dashsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["dashsrc"]
@dashsrc.setter
def dashsrc(self, val):
self["dashsrc"] = val
@property
def reversescale(self):

@@ -392,2 +436,10 @@ """

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -419,2 +471,4 @@ Reverses the color mapping if true. Has an effect only

colorsrc=None,
dash=None,
dashsrc=None,
reversescale=None,

@@ -500,2 +554,10 @@ width=None,

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -547,2 +609,4 @@ Reverses the color mapping if true. Has an effect only

self._set_property("colorsrc", arg, colorsrc)
self._set_property("dash", arg, dash)
self._set_property("dashsrc", arg, dashsrc)
self._set_property("reversescale", arg, reversescale)

@@ -549,0 +613,0 @@ self._set_property("width", arg, width)

@@ -21,2 +21,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"colorsrc",
"dash",
"dashsrc",
"reversescale",

@@ -264,2 +266,44 @@ "width",

@property
def dash(self):
"""
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
The 'dash' property is an enumeration that may be specified as:
- One of the following dash styles:
['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
- A string containing a dash length list in pixels or percentages
(e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
Returns
-------
str|numpy.ndarray
"""
return self["dash"]
@dash.setter
def dash(self, val):
self["dash"] = val
@property
def dashsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `dash`.
The 'dashsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["dashsrc"]
@dashsrc.setter
def dashsrc(self, val):
self["dashsrc"] = val
@property
def reversescale(self):

@@ -392,2 +436,10 @@ """

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -419,2 +471,4 @@ Reverses the color mapping if true. Has an effect only

colorsrc=None,
dash=None,
dashsrc=None,
reversescale=None,

@@ -500,2 +554,10 @@ width=None,

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -547,2 +609,4 @@ Reverses the color mapping if true. Has an effect only

self._set_property("colorsrc", arg, colorsrc)
self._set_property("dash", arg, dash)
self._set_property("dashsrc", arg, dashsrc)
self._set_property("reversescale", arg, reversescale)

@@ -549,0 +613,0 @@ self._set_property("width", arg, width)

@@ -21,2 +21,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"colorsrc",
"dash",
"dashsrc",
"reversescale",

@@ -264,2 +266,44 @@ "width",

@property
def dash(self):
"""
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
The 'dash' property is an enumeration that may be specified as:
- One of the following dash styles:
['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
- A string containing a dash length list in pixels or percentages
(e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
Returns
-------
str|numpy.ndarray
"""
return self["dash"]
@dash.setter
def dash(self, val):
self["dash"] = val
@property
def dashsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `dash`.
The 'dashsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["dashsrc"]
@dashsrc.setter
def dashsrc(self, val):
self["dashsrc"] = val
@property
def reversescale(self):

@@ -392,2 +436,10 @@ """

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -419,2 +471,4 @@ Reverses the color mapping if true. Has an effect only

colorsrc=None,
dash=None,
dashsrc=None,
reversescale=None,

@@ -500,2 +554,10 @@ width=None,

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -547,2 +609,4 @@ Reverses the color mapping if true. Has an effect only

self._set_property("colorsrc", arg, colorsrc)
self._set_property("dash", arg, dash)
self._set_property("dashsrc", arg, dashsrc)
self._set_property("reversescale", arg, reversescale)

@@ -549,0 +613,0 @@ self._set_property("width", arg, width)

@@ -21,2 +21,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"colorsrc",
"dash",
"dashsrc",
"reversescale",

@@ -264,2 +266,44 @@ "width",

@property
def dash(self):
"""
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
The 'dash' property is an enumeration that may be specified as:
- One of the following dash styles:
['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
- A string containing a dash length list in pixels or percentages
(e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
Returns
-------
str|numpy.ndarray
"""
return self["dash"]
@dash.setter
def dash(self, val):
self["dash"] = val
@property
def dashsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `dash`.
The 'dashsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["dashsrc"]
@dashsrc.setter
def dashsrc(self, val):
self["dashsrc"] = val
@property
def reversescale(self):

@@ -392,2 +436,10 @@ """

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -419,2 +471,4 @@ Reverses the color mapping if true. Has an effect only

colorsrc=None,
dash=None,
dashsrc=None,
reversescale=None,

@@ -500,2 +554,10 @@ width=None,

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -547,2 +609,4 @@ Reverses the color mapping if true. Has an effect only

self._set_property("colorsrc", arg, colorsrc)
self._set_property("dash", arg, dash)
self._set_property("dashsrc", arg, dashsrc)
self._set_property("reversescale", arg, reversescale)

@@ -549,0 +613,0 @@ self._set_property("width", arg, width)

@@ -21,2 +21,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"colorsrc",
"dash",
"dashsrc",
"reversescale",

@@ -264,2 +266,44 @@ "width",

@property
def dash(self):
"""
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
The 'dash' property is an enumeration that may be specified as:
- One of the following dash styles:
['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
- A string containing a dash length list in pixels or percentages
(e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
Returns
-------
str|numpy.ndarray
"""
return self["dash"]
@dash.setter
def dash(self, val):
self["dash"] = val
@property
def dashsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `dash`.
The 'dashsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["dashsrc"]
@dashsrc.setter
def dashsrc(self, val):
self["dashsrc"] = val
@property
def reversescale(self):

@@ -392,2 +436,10 @@ """

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -419,2 +471,4 @@ Reverses the color mapping if true. Has an effect only

colorsrc=None,
dash=None,
dashsrc=None,
reversescale=None,

@@ -500,2 +554,10 @@ width=None,

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -547,2 +609,4 @@ Reverses the color mapping if true. Has an effect only

self._set_property("colorsrc", arg, colorsrc)
self._set_property("dash", arg, dash)
self._set_property("dashsrc", arg, dashsrc)
self._set_property("reversescale", arg, reversescale)

@@ -549,0 +613,0 @@ self._set_property("width", arg, width)

@@ -21,2 +21,4 @@ # --- THIS FILE IS AUTO-GENERATED ---

"colorsrc",
"dash",
"dashsrc",
"reversescale",

@@ -264,2 +266,44 @@ "width",

@property
def dash(self):
"""
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
The 'dash' property is an enumeration that may be specified as:
- One of the following dash styles:
['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
- A string containing a dash length list in pixels or percentages
(e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
Returns
-------
str|numpy.ndarray
"""
return self["dash"]
@dash.setter
def dash(self, val):
self["dash"] = val
@property
def dashsrc(self):
"""
Sets the source reference on Chart Studio Cloud for `dash`.
The 'dashsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["dashsrc"]
@dashsrc.setter
def dashsrc(self, val):
self["dashsrc"] = val
@property
def reversescale(self):

@@ -392,2 +436,10 @@ """

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -419,2 +471,4 @@ Reverses the color mapping if true. Has an effect only

colorsrc=None,
dash=None,
dashsrc=None,
reversescale=None,

@@ -500,2 +554,10 @@ width=None,

`color`.
dash
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").
dashsrc
Sets the source reference on Chart Studio Cloud for
`dash`.
reversescale

@@ -547,2 +609,4 @@ Reverses the color mapping if true. Has an effect only

self._set_property("colorsrc", arg, colorsrc)
self._set_property("dash", arg, dash)
self._set_property("dashsrc", arg, dashsrc)
self._set_property("reversescale", arg, reversescale)

@@ -549,0 +613,0 @@ self._set_property("width", arg, width)

@@ -276,3 +276,3 @@ import base64

script = """\
<script type="text/javascript">
<script>
{win_config}

@@ -292,3 +292,3 @@ {mathjax_config}

script = """\
<script type="text/javascript">
<script>
{win_config}

@@ -295,0 +295,0 @@ {mathjax_config}

@@ -25,3 +25,3 @@ import uuid

_window_plotly_config = """\
<script type="text/javascript">\
<script>\
window.PlotlyConfig = {MathJaxConfig: 'local'};\

@@ -31,3 +31,3 @@ </script>"""

_mathjax_config = """\
<script type="text/javascript">\
<script>\
if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: "STIX-Web"}});}\

@@ -287,3 +287,3 @@ </script>"""

{win_config}
<script type="text/javascript">{plotlyjs}</script>\
<script>{plotlyjs}</script>\
""".format(win_config=_window_plotly_config, plotlyjs=get_plotlyjs())

@@ -329,3 +329,3 @@

style="height:{height}; width:{width};"></div>\
<script type="text/javascript">\
<script>\
window.PLOTLYENV=window.PLOTLYENV || {{}};{base_url_line}\

@@ -332,0 +332,0 @@ {script};\

@@ -432,3 +432,3 @@ import os

# Deprecated
engine: Union[str, None] = "auto",
engine: Union[str, None] = None,
):

@@ -435,0 +435,0 @@ """

@@ -22,3 +22,3 @@ {

"lodash-es": "^4.17.21",
"plotly.js": "3.3.1",
"plotly.js": "3.4.0",
"@lumino/widgets": "~2.4.0"

@@ -36,3 +36,3 @@ },

"_build": {
"load": "static/remoteEntry.a1fdd5414cdd3506ffce.js",
"load": "static/remoteEntry.bbf25df5110252151416.js",
"mimeExtension": "./mimeExtension"

@@ -39,0 +39,0 @@ }

@@ -17,10 +17,2 @@ """

# Warning format
def warning_on_one_line(msg, category, filename, lineno, file=None, line=None):
return "%s:%s: %s:\n\n%s\n\n" % (filename, lineno, category.__name__, msg)
warnings.formatwarning = warning_on_one_line
class PlotlyRenderer(Renderer):

@@ -27,0 +19,0 @@ """A renderer class inheriting from base for rendering mpl plots in plotly.

# DO NOT EDIT
# This file is generated by the updatebundle commands.py command
__plotlyjs_version__ = "3.3.1"
__plotlyjs_version__ = "3.4.0"

@@ -73,3 +73,3 @@ """Plotly Offline

... <head>
... <script type="text/javascript">{plotlyjs}</script>
... <script>{plotlyjs}</script>
... </head>

@@ -93,3 +93,3 @@ ... <body>

resize_script = (
'<script type="text/javascript">'
"<script>"
'window.addEventListener("resize", function(){{'

@@ -182,3 +182,3 @@ 'if (document.getElementById("{id}")) {{'

_window_plotly_config = """\
<script type="text/javascript">\
<script>\
window.PlotlyConfig = {MathJaxConfig: 'local'};\

@@ -188,3 +188,3 @@ </script>"""

_mathjax_config = """\
<script type="text/javascript">\
<script>\
if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: "STIX-Web"}});}\

@@ -191,0 +191,0 @@ </script>"""

@@ -58,10 +58,2 @@ """

# Warning format
def warning_on_one_line(message, category, filename, lineno, file=None, line=None):
return "%s:%s: %s:\n\n%s\n\n" % (filename, lineno, category.__name__, message)
warnings.formatwarning = warning_on_one_line
### mpl-related tools ###

@@ -68,0 +60,0 @@ def mpl_to_plotly(fig, resize=False, strip_style=False, verbose=False):

@@ -35,3 +35,3 @@ [build-system]

license = {file="LICENSE.txt"}
version = "6.5.2"
version = "6.6.0"
dependencies = [

@@ -38,0 +38,0 @@ "narwhals>=1.15.1",

Sorry, the diff of this file is too big to display

var _JUPYTERLAB;(()=>{"use strict";var e,r,t={987:(e,r,t)=>{var o={"./index":()=>t.e(340).then((()=>()=>t(340))),"./mimeExtension":()=>t.e(340).then((()=>()=>t(340)))},a=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),n=(e,r)=>{if(t.S){var o="default",a=t.S[o];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>a,init:()=>n})}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,a),n.exports}a.m=t,a.c=o,a.amdO={},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>e+".b079a9b51d0cddaf4ab3.js?v=b079a9b51d0cddaf4ab3",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyterlab-plotly:",a.l=(t,o,n,i)=>{if(e[t])e[t].push(o);else{var l,u;if(void 0!==n)for(var p=document.getElementsByTagName("script"),s=0;s<p.length;s++){var c=p[s];if(c.getAttribute("src")==t||c.getAttribute("data-webpack")==r+n){l=c;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",r+n),l.src=t),e[t]=[o];var d=(r,o)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(o))),r)return r(o)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},r={};a.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];a.o(a.S,t)||(a.S[t]={});var i=a.S[t],l="jupyterlab-plotly",u=[];return"default"===t&&((e,r,t,o)=>{var n=i[e]=i[e]||{},u=n[r];(!u||!u.loaded&&(1!=!u.eager?o:l>u.from))&&(n[r]={get:()=>a.e(340).then((()=>()=>a(340))),from:l,eager:!1})})("jupyterlab-plotly","6.0.1"),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var r=a.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={80:0};a.f.j=(r,t)=>{var o=a.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else{var n=new Promise(((t,a)=>o=e[r]=[t,a]));t.push(o[2]=n);var i=a.p+a.u(r),l=new Error;a.l(i,(t=>{if(a.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",l.name="ChunkLoadError",l.type=n,l.request=i,o[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[i,l,u]=t,p=0;if(i.some((r=>0!==e[r]))){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);u&&u(a)}for(r&&r(t);p<i.length;p++)n=i[p],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunkjupyterlab_plotly=self.webpackChunkjupyterlab_plotly||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=a(987);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["jupyterlab-plotly"]=n})();

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display