Skip to content

Commit 7bcbb20

Browse files
authored
Merge pull request #4821 from plotly/fix-group-title-font
Regenerate plotly.py from plotly.js
2 parents b64f288 + 7d32019 commit 7bcbb20

File tree

14 files changed

+47
-46
lines changed

14 files changed

+47
-46
lines changed

packages/javascript/jupyterlab-plotly/package-lock.json

+7-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/javascript/jupyterlab-plotly/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@lumino/messaging": "^1.2.3",
6666
"@lumino/widgets": "^1.8.1",
6767
"lodash": "^4.17.4",
68-
"plotly.js": "https://output.circle-artifacts.com/output/job/8cb816cf-7c8e-4c5d-a30a-94b67aa1b352/artifacts/0/plotly.js.tgz"
68+
"plotly.js": "https://output.circle-artifacts.com/output/job/f0bb742f-5266-49b7-a0f9-60247be3560f/artifacts/0/plotly.js.tgz"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

packages/python/plotly/plotly/graph_objs/layout/_hoverlabel.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ def grouptitlefont(self):
236236
Sets the font for group titles in hover (unified modes).
237237
Defaults to `hoverlabel.font`.
238238
239-
The 'grouptitlefont' property is an instance of Grouptitle_font
239+
The 'grouptitlefont' property is an instance of Grouptitlefont
240240
that may be specified as:
241-
- An instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitle_font`
241+
- An instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitlefont`
242242
- A dict of string/value properties that will be passed
243-
to the Grouptitle_font constructor
243+
to the Grouptitlefont constructor
244244
245245
Supported dict properties:
246246
@@ -290,7 +290,7 @@ def grouptitlefont(self):
290290
291291
Returns
292292
-------
293-
plotly.graph_objs.layout.hoverlabel.Grouptitle_font
293+
plotly.graph_objs.layout.hoverlabel.Grouptitlefont
294294
"""
295295
return self["grouptitlefont"]
296296

packages/python/plotly/plotly/graph_objs/layout/_legend.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,11 @@ def grouptitlefont(self):
321321
Sets the font for group titles in legend. Defaults to
322322
`legend.font` with its size increased about 10%.
323323
324-
The 'grouptitlefont' property is an instance of Grouptitle_font
324+
The 'grouptitlefont' property is an instance of Grouptitlefont
325325
that may be specified as:
326-
- An instance of :class:`plotly.graph_objs.layout.legend.Grouptitle_font`
326+
- An instance of :class:`plotly.graph_objs.layout.legend.Grouptitlefont`
327327
- A dict of string/value properties that will be passed
328-
to the Grouptitle_font constructor
328+
to the Grouptitlefont constructor
329329
330330
Supported dict properties:
331331
@@ -375,7 +375,7 @@ def grouptitlefont(self):
375375
376376
Returns
377377
-------
378-
plotly.graph_objs.layout.legend.Grouptitle_font
378+
plotly.graph_objs.layout.legend.Grouptitlefont
379379
"""
380380
return self["grouptitlefont"]
381381

packages/python/plotly/plotly/graph_objs/layout/hoverlabel/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
if sys.version_info < (3, 7) or TYPE_CHECKING:
55
from ._font import Font
6-
from ._grouptitlefont import Grouptitle_font
6+
from ._grouptitlefont import Grouptitlefont
77
else:
88
from _plotly_utils.importers import relative_import
99

1010
__all__, __getattr__, __dir__ = relative_import(
11-
__name__, [], ["._font.Font", "._grouptitlefont.Grouptitle_font"]
11+
__name__, [], ["._font.Font", "._grouptitlefont.Grouptitlefont"]
1212
)

packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import copy as _copy
33

44

5-
class Grouptitle_font(_BaseLayoutHierarchyType):
5+
class Grouptitlefont(_BaseLayoutHierarchyType):
66

77
# class properties
88
# --------------------
@@ -324,7 +324,7 @@ def __init__(
324324
**kwargs,
325325
):
326326
"""
327-
Construct a new Grouptitle_font object
327+
Construct a new Grouptitlefont object
328328
329329
Sets the font for group titles in hover (unified modes).
330330
Defaults to `hoverlabel.font`.
@@ -334,7 +334,7 @@ def __init__(
334334
arg
335335
dict of properties compatible with this constructor or
336336
an instance of :class:`plotly.graph_objs.layout.hoverla
337-
bel.Grouptitle_font`
337+
bel.Grouptitlefont`
338338
color
339339
340340
family
@@ -376,9 +376,9 @@ def __init__(
376376
377377
Returns
378378
-------
379-
Grouptitle_font
379+
Grouptitlefont
380380
"""
381-
super(Grouptitle_font, self).__init__("grouptitlefont")
381+
super(Grouptitlefont, self).__init__("grouptitlefont")
382382

383383
if "_parent" in kwargs:
384384
self._parent = kwargs["_parent"]
@@ -395,9 +395,9 @@ def __init__(
395395
else:
396396
raise ValueError(
397397
"""\
398-
The first argument to the plotly.graph_objs.layout.hoverlabel.Grouptitle_font
398+
The first argument to the plotly.graph_objs.layout.hoverlabel.Grouptitlefont
399399
constructor must be a dict or
400-
an instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitle_font`"""
400+
an instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitlefont`"""
401401
)
402402

403403
# Handle skip_invalid

packages/python/plotly/plotly/graph_objs/layout/legend/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
if sys.version_info < (3, 7) or TYPE_CHECKING:
55
from ._font import Font
6-
from ._grouptitlefont import Grouptitle_font
6+
from ._grouptitlefont import Grouptitlefont
77
from ._title import Title
88
from . import title
99
else:
@@ -12,5 +12,5 @@
1212
__all__, __getattr__, __dir__ = relative_import(
1313
__name__,
1414
[".title"],
15-
["._font.Font", "._grouptitlefont.Grouptitle_font", "._title.Title"],
15+
["._font.Font", "._grouptitlefont.Grouptitlefont", "._title.Title"],
1616
)

packages/python/plotly/plotly/graph_objs/layout/legend/_grouptitlefont.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import copy as _copy
33

44

5-
class Grouptitle_font(_BaseLayoutHierarchyType):
5+
class Grouptitlefont(_BaseLayoutHierarchyType):
66

77
# class properties
88
# --------------------
@@ -324,7 +324,7 @@ def __init__(
324324
**kwargs,
325325
):
326326
"""
327-
Construct a new Grouptitle_font object
327+
Construct a new Grouptitlefont object
328328
329329
Sets the font for group titles in legend. Defaults to
330330
`legend.font` with its size increased about 10%.
@@ -334,7 +334,7 @@ def __init__(
334334
arg
335335
dict of properties compatible with this constructor or
336336
an instance of
337-
:class:`plotly.graph_objs.layout.legend.Grouptitle_font`
337+
:class:`plotly.graph_objs.layout.legend.Grouptitlefont`
338338
color
339339
340340
family
@@ -376,9 +376,9 @@ def __init__(
376376
377377
Returns
378378
-------
379-
Grouptitle_font
379+
Grouptitlefont
380380
"""
381-
super(Grouptitle_font, self).__init__("grouptitlefont")
381+
super(Grouptitlefont, self).__init__("grouptitlefont")
382382

383383
if "_parent" in kwargs:
384384
self._parent = kwargs["_parent"]
@@ -395,9 +395,9 @@ def __init__(
395395
else:
396396
raise ValueError(
397397
"""\
398-
The first argument to the plotly.graph_objs.layout.legend.Grouptitle_font
398+
The first argument to the plotly.graph_objs.layout.legend.Grouptitlefont
399399
constructor must be a dict or
400-
an instance of :class:`plotly.graph_objs.layout.legend.Grouptitle_font`"""
400+
an instance of :class:`plotly.graph_objs.layout.legend.Grouptitlefont`"""
401401
)
402402

403403
# Handle skip_invalid
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# DO NOT EDIT
22
# This file is generated by the updatebundle setup.py command
3-
__plotlyjs_version__ = "plotly/plotly.js_master_2024-10-17_a5b202c8"
3+
__plotlyjs_version__ = "plotly/plotly.js_master_2024-10-22_ef721c41"

packages/python/plotly/plotly/package_data/plotly.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/python/plotly/plotly/validators/layout/hoverlabel/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
if sys.version_info < (3, 7) or TYPE_CHECKING:
55
from ._namelength import NamelengthValidator
6-
from ._grouptitlefont import Grouptitle_fontValidator
6+
from ._grouptitlefont import GrouptitlefontValidator
77
from ._font import FontValidator
88
from ._bordercolor import BordercolorValidator
99
from ._bgcolor import BgcolorValidator
@@ -16,7 +16,7 @@
1616
[],
1717
[
1818
"._namelength.NamelengthValidator",
19-
"._grouptitlefont.Grouptitle_fontValidator",
19+
"._grouptitlefont.GrouptitlefontValidator",
2020
"._font.FontValidator",
2121
"._bordercolor.BordercolorValidator",
2222
"._bgcolor.BgcolorValidator",

packages/python/plotly/plotly/validators/layout/hoverlabel/_grouptitlefont.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import _plotly_utils.basevalidators
22

33

4-
class Grouptitle_fontValidator(_plotly_utils.basevalidators.CompoundValidator):
4+
class GrouptitlefontValidator(_plotly_utils.basevalidators.CompoundValidator):
55
def __init__(
66
self, plotly_name="grouptitlefont", parent_name="layout.hoverlabel", **kwargs
77
):
8-
super(Grouptitle_fontValidator, self).__init__(
8+
super(GrouptitlefontValidator, self).__init__(
99
plotly_name=plotly_name,
1010
parent_name=parent_name,
11-
data_class_str=kwargs.pop("data_class_str", "Grouptitle_font"),
11+
data_class_str=kwargs.pop("data_class_str", "Grouptitlefont"),
1212
data_docs=kwargs.pop(
1313
"data_docs",
1414
"""

packages/python/plotly/plotly/validators/layout/legend/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from ._itemdoubleclick import ItemdoubleclickValidator
2121
from ._itemclick import ItemclickValidator
2222
from ._indentation import IndentationValidator
23-
from ._grouptitlefont import Grouptitle_fontValidator
23+
from ._grouptitlefont import GrouptitlefontValidator
2424
from ._groupclick import GroupclickValidator
2525
from ._font import FontValidator
2626
from ._entrywidthmode import EntrywidthmodeValidator
@@ -53,7 +53,7 @@
5353
"._itemdoubleclick.ItemdoubleclickValidator",
5454
"._itemclick.ItemclickValidator",
5555
"._indentation.IndentationValidator",
56-
"._grouptitlefont.Grouptitle_fontValidator",
56+
"._grouptitlefont.GrouptitlefontValidator",
5757
"._groupclick.GroupclickValidator",
5858
"._font.FontValidator",
5959
"._entrywidthmode.EntrywidthmodeValidator",

packages/python/plotly/plotly/validators/layout/legend/_grouptitlefont.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import _plotly_utils.basevalidators
22

33

4-
class Grouptitle_fontValidator(_plotly_utils.basevalidators.CompoundValidator):
4+
class GrouptitlefontValidator(_plotly_utils.basevalidators.CompoundValidator):
55
def __init__(
66
self, plotly_name="grouptitlefont", parent_name="layout.legend", **kwargs
77
):
8-
super(Grouptitle_fontValidator, self).__init__(
8+
super(GrouptitlefontValidator, self).__init__(
99
plotly_name=plotly_name,
1010
parent_name=parent_name,
11-
data_class_str=kwargs.pop("data_class_str", "Grouptitle_font"),
11+
data_class_str=kwargs.pop("data_class_str", "Grouptitlefont"),
1212
data_docs=kwargs.pop(
1313
"data_docs",
1414
"""

0 commit comments

Comments
 (0)