From c95b4fa4388f29e50b6966e45c94c5980013a01d Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Tue, 3 May 2022 18:32:10 -0400 Subject: [PATCH 1/3] type annotations for chainable Figure methods --- packages/python/plotly/codegen/datatypes.py | 27 +- packages/python/plotly/codegen/figure.py | 111 +- packages/python/plotly/plotly/_subplots.py | 1506 +++++++++++++++++ .../python/plotly/plotly/basedatatypes.py | 35 +- .../plotly/plotly/express/_chart_types.py | 70 +- .../python/plotly/plotly/express/_core.py | 2 +- .../python/plotly/plotly/express/_imshow.py | 2 +- .../python/plotly/plotly/graph_objs/_bar.py | 4 +- .../plotly/plotly/graph_objs/_barpolar.py | 4 +- .../python/plotly/plotly/graph_objs/_box.py | 4 +- .../plotly/plotly/graph_objs/_candlestick.py | 4 +- .../plotly/plotly/graph_objs/_carpet.py | 4 +- .../plotly/plotly/graph_objs/_choropleth.py | 4 +- .../plotly/graph_objs/_choroplethmapbox.py | 4 +- .../python/plotly/plotly/graph_objs/_cone.py | 4 +- .../plotly/plotly/graph_objs/_contour.py | 4 +- .../plotly/graph_objs/_contourcarpet.py | 4 +- .../plotly/graph_objs/_densitymapbox.py | 4 +- .../plotly/plotly/graph_objs/_figure.py | 719 +++++++- .../plotly/plotly/graph_objs/_figurewidget.py | 773 ++++++++- .../python/plotly/plotly/graph_objs/_frame.py | 4 +- .../plotly/plotly/graph_objs/_funnel.py | 4 +- .../plotly/plotly/graph_objs/_funnelarea.py | 4 +- .../plotly/plotly/graph_objs/_heatmap.py | 4 +- .../plotly/plotly/graph_objs/_heatmapgl.py | 4 +- .../plotly/plotly/graph_objs/_histogram.py | 4 +- .../plotly/plotly/graph_objs/_histogram2d.py | 4 +- .../plotly/graph_objs/_histogram2dcontour.py | 4 +- .../plotly/plotly/graph_objs/_icicle.py | 4 +- .../python/plotly/plotly/graph_objs/_image.py | 4 +- .../plotly/plotly/graph_objs/_indicator.py | 4 +- .../plotly/plotly/graph_objs/_isosurface.py | 4 +- .../plotly/plotly/graph_objs/_layout.py | 4 +- .../plotly/plotly/graph_objs/_mesh3d.py | 4 +- .../python/plotly/plotly/graph_objs/_ohlc.py | 4 +- .../plotly/plotly/graph_objs/_parcats.py | 4 +- .../plotly/plotly/graph_objs/_parcoords.py | 4 +- .../python/plotly/plotly/graph_objs/_pie.py | 4 +- .../plotly/plotly/graph_objs/_pointcloud.py | 4 +- .../plotly/plotly/graph_objs/_sankey.py | 4 +- .../plotly/plotly/graph_objs/_scatter.py | 4 +- .../plotly/plotly/graph_objs/_scatter3d.py | 4 +- .../plotly/graph_objs/_scattercarpet.py | 4 +- .../plotly/plotly/graph_objs/_scattergeo.py | 4 +- .../plotly/plotly/graph_objs/_scattergl.py | 4 +- .../plotly/graph_objs/_scattermapbox.py | 4 +- .../plotly/plotly/graph_objs/_scatterpolar.py | 4 +- .../plotly/graph_objs/_scatterpolargl.py | 4 +- .../plotly/plotly/graph_objs/_scattersmith.py | 4 +- .../plotly/graph_objs/_scatterternary.py | 4 +- .../python/plotly/plotly/graph_objs/_splom.py | 4 +- .../plotly/plotly/graph_objs/_streamtube.py | 4 +- .../plotly/plotly/graph_objs/_sunburst.py | 4 +- .../plotly/plotly/graph_objs/_surface.py | 4 +- .../python/plotly/plotly/graph_objs/_table.py | 4 +- .../plotly/plotly/graph_objs/_treemap.py | 4 +- .../plotly/plotly/graph_objs/_violin.py | 4 +- .../plotly/plotly/graph_objs/_volume.py | 4 +- .../plotly/plotly/graph_objs/_waterfall.py | 4 +- .../plotly/plotly/graph_objs/bar/_error_x.py | 4 +- .../plotly/plotly/graph_objs/bar/_error_y.py | 4 +- .../plotly/graph_objs/bar/_hoverlabel.py | 4 +- .../plotly/graph_objs/bar/_insidetextfont.py | 4 +- .../graph_objs/bar/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/bar/_marker.py | 4 +- .../plotly/graph_objs/bar/_outsidetextfont.py | 4 +- .../plotly/plotly/graph_objs/bar/_selected.py | 4 +- .../plotly/plotly/graph_objs/bar/_stream.py | 4 +- .../plotly/plotly/graph_objs/bar/_textfont.py | 4 +- .../plotly/graph_objs/bar/_unselected.py | 4 +- .../plotly/graph_objs/bar/hoverlabel/_font.py | 4 +- .../graph_objs/bar/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/bar/marker/_colorbar.py | 4 +- .../plotly/graph_objs/bar/marker/_line.py | 4 +- .../plotly/graph_objs/bar/marker/_pattern.py | 4 +- .../bar/marker/colorbar/_tickfont.py | 4 +- .../bar/marker/colorbar/_tickformatstop.py | 4 +- .../graph_objs/bar/marker/colorbar/_title.py | 4 +- .../bar/marker/colorbar/title/_font.py | 4 +- .../plotly/graph_objs/bar/selected/_marker.py | 4 +- .../graph_objs/bar/selected/_textfont.py | 4 +- .../graph_objs/bar/unselected/_marker.py | 4 +- .../graph_objs/bar/unselected/_textfont.py | 4 +- .../plotly/graph_objs/barpolar/_hoverlabel.py | 4 +- .../graph_objs/barpolar/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/barpolar/_marker.py | 4 +- .../plotly/graph_objs/barpolar/_selected.py | 4 +- .../plotly/graph_objs/barpolar/_stream.py | 4 +- .../plotly/graph_objs/barpolar/_unselected.py | 4 +- .../graph_objs/barpolar/hoverlabel/_font.py | 4 +- .../barpolar/legendgrouptitle/_font.py | 4 +- .../graph_objs/barpolar/marker/_colorbar.py | 4 +- .../graph_objs/barpolar/marker/_line.py | 4 +- .../graph_objs/barpolar/marker/_pattern.py | 4 +- .../barpolar/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../barpolar/marker/colorbar/_title.py | 4 +- .../barpolar/marker/colorbar/title/_font.py | 4 +- .../graph_objs/barpolar/selected/_marker.py | 4 +- .../graph_objs/barpolar/selected/_textfont.py | 4 +- .../graph_objs/barpolar/unselected/_marker.py | 4 +- .../barpolar/unselected/_textfont.py | 4 +- .../plotly/graph_objs/box/_hoverlabel.py | 4 +- .../graph_objs/box/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/box/_line.py | 4 +- .../plotly/plotly/graph_objs/box/_marker.py | 4 +- .../plotly/plotly/graph_objs/box/_selected.py | 4 +- .../plotly/plotly/graph_objs/box/_stream.py | 4 +- .../plotly/graph_objs/box/_unselected.py | 4 +- .../plotly/graph_objs/box/hoverlabel/_font.py | 4 +- .../graph_objs/box/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/box/marker/_line.py | 4 +- .../plotly/graph_objs/box/selected/_marker.py | 4 +- .../graph_objs/box/unselected/_marker.py | 4 +- .../graph_objs/candlestick/_decreasing.py | 4 +- .../graph_objs/candlestick/_hoverlabel.py | 4 +- .../graph_objs/candlestick/_increasing.py | 4 +- .../candlestick/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/candlestick/_line.py | 4 +- .../plotly/graph_objs/candlestick/_stream.py | 4 +- .../candlestick/decreasing/_line.py | 4 +- .../candlestick/hoverlabel/_font.py | 4 +- .../candlestick/increasing/_line.py | 4 +- .../candlestick/legendgrouptitle/_font.py | 4 +- .../plotly/plotly/graph_objs/carpet/_aaxis.py | 4 +- .../plotly/plotly/graph_objs/carpet/_baxis.py | 4 +- .../plotly/plotly/graph_objs/carpet/_font.py | 4 +- .../graph_objs/carpet/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/carpet/_stream.py | 4 +- .../graph_objs/carpet/aaxis/_tickfont.py | 4 +- .../carpet/aaxis/_tickformatstop.py | 4 +- .../plotly/graph_objs/carpet/aaxis/_title.py | 4 +- .../graph_objs/carpet/aaxis/title/_font.py | 4 +- .../graph_objs/carpet/baxis/_tickfont.py | 4 +- .../carpet/baxis/_tickformatstop.py | 4 +- .../plotly/graph_objs/carpet/baxis/_title.py | 4 +- .../graph_objs/carpet/baxis/title/_font.py | 4 +- .../carpet/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/choropleth/_colorbar.py | 4 +- .../graph_objs/choropleth/_hoverlabel.py | 4 +- .../choropleth/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/choropleth/_marker.py | 4 +- .../plotly/graph_objs/choropleth/_selected.py | 4 +- .../plotly/graph_objs/choropleth/_stream.py | 4 +- .../graph_objs/choropleth/_unselected.py | 4 +- .../choropleth/colorbar/_tickfont.py | 4 +- .../choropleth/colorbar/_tickformatstop.py | 4 +- .../graph_objs/choropleth/colorbar/_title.py | 4 +- .../choropleth/colorbar/title/_font.py | 4 +- .../graph_objs/choropleth/hoverlabel/_font.py | 4 +- .../choropleth/legendgrouptitle/_font.py | 4 +- .../graph_objs/choropleth/marker/_line.py | 4 +- .../graph_objs/choropleth/selected/_marker.py | 4 +- .../choropleth/unselected/_marker.py | 4 +- .../graph_objs/choroplethmapbox/_colorbar.py | 4 +- .../choroplethmapbox/_hoverlabel.py | 4 +- .../choroplethmapbox/_legendgrouptitle.py | 4 +- .../graph_objs/choroplethmapbox/_marker.py | 4 +- .../graph_objs/choroplethmapbox/_selected.py | 4 +- .../graph_objs/choroplethmapbox/_stream.py | 4 +- .../choroplethmapbox/_unselected.py | 4 +- .../choroplethmapbox/colorbar/_tickfont.py | 4 +- .../colorbar/_tickformatstop.py | 4 +- .../choroplethmapbox/colorbar/_title.py | 4 +- .../choroplethmapbox/colorbar/title/_font.py | 4 +- .../choroplethmapbox/hoverlabel/_font.py | 4 +- .../legendgrouptitle/_font.py | 4 +- .../choroplethmapbox/marker/_line.py | 4 +- .../choroplethmapbox/selected/_marker.py | 4 +- .../choroplethmapbox/unselected/_marker.py | 4 +- .../plotly/graph_objs/cone/_colorbar.py | 4 +- .../plotly/graph_objs/cone/_hoverlabel.py | 4 +- .../graph_objs/cone/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/cone/_lighting.py | 4 +- .../plotly/graph_objs/cone/_lightposition.py | 4 +- .../plotly/plotly/graph_objs/cone/_stream.py | 4 +- .../graph_objs/cone/colorbar/_tickfont.py | 4 +- .../cone/colorbar/_tickformatstop.py | 4 +- .../plotly/graph_objs/cone/colorbar/_title.py | 4 +- .../graph_objs/cone/colorbar/title/_font.py | 4 +- .../graph_objs/cone/hoverlabel/_font.py | 4 +- .../graph_objs/cone/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/contour/_colorbar.py | 4 +- .../plotly/graph_objs/contour/_contours.py | 4 +- .../plotly/graph_objs/contour/_hoverlabel.py | 4 +- .../graph_objs/contour/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/contour/_line.py | 4 +- .../plotly/graph_objs/contour/_stream.py | 4 +- .../plotly/graph_objs/contour/_textfont.py | 4 +- .../graph_objs/contour/colorbar/_tickfont.py | 4 +- .../contour/colorbar/_tickformatstop.py | 4 +- .../graph_objs/contour/colorbar/_title.py | 4 +- .../contour/colorbar/title/_font.py | 4 +- .../graph_objs/contour/contours/_labelfont.py | 4 +- .../graph_objs/contour/hoverlabel/_font.py | 4 +- .../contour/legendgrouptitle/_font.py | 4 +- .../graph_objs/contourcarpet/_colorbar.py | 4 +- .../graph_objs/contourcarpet/_contours.py | 4 +- .../contourcarpet/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/contourcarpet/_line.py | 4 +- .../graph_objs/contourcarpet/_stream.py | 4 +- .../contourcarpet/colorbar/_tickfont.py | 4 +- .../contourcarpet/colorbar/_tickformatstop.py | 4 +- .../contourcarpet/colorbar/_title.py | 4 +- .../contourcarpet/colorbar/title/_font.py | 4 +- .../contourcarpet/contours/_labelfont.py | 4 +- .../contourcarpet/legendgrouptitle/_font.py | 4 +- .../graph_objs/densitymapbox/_colorbar.py | 4 +- .../graph_objs/densitymapbox/_hoverlabel.py | 4 +- .../densitymapbox/_legendgrouptitle.py | 4 +- .../graph_objs/densitymapbox/_stream.py | 4 +- .../densitymapbox/colorbar/_tickfont.py | 4 +- .../densitymapbox/colorbar/_tickformatstop.py | 4 +- .../densitymapbox/colorbar/_title.py | 4 +- .../densitymapbox/colorbar/title/_font.py | 4 +- .../densitymapbox/hoverlabel/_font.py | 4 +- .../densitymapbox/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/funnel/_connector.py | 4 +- .../plotly/graph_objs/funnel/_hoverlabel.py | 4 +- .../graph_objs/funnel/_insidetextfont.py | 4 +- .../graph_objs/funnel/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/funnel/_marker.py | 4 +- .../graph_objs/funnel/_outsidetextfont.py | 4 +- .../plotly/graph_objs/funnel/_stream.py | 4 +- .../plotly/graph_objs/funnel/_textfont.py | 4 +- .../graph_objs/funnel/connector/_line.py | 4 +- .../graph_objs/funnel/hoverlabel/_font.py | 4 +- .../funnel/legendgrouptitle/_font.py | 4 +- .../graph_objs/funnel/marker/_colorbar.py | 4 +- .../plotly/graph_objs/funnel/marker/_line.py | 4 +- .../funnel/marker/colorbar/_tickfont.py | 4 +- .../funnel/marker/colorbar/_tickformatstop.py | 4 +- .../funnel/marker/colorbar/_title.py | 4 +- .../funnel/marker/colorbar/title/_font.py | 4 +- .../plotly/graph_objs/funnelarea/_domain.py | 4 +- .../graph_objs/funnelarea/_hoverlabel.py | 4 +- .../graph_objs/funnelarea/_insidetextfont.py | 4 +- .../funnelarea/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/funnelarea/_marker.py | 4 +- .../plotly/graph_objs/funnelarea/_stream.py | 4 +- .../plotly/graph_objs/funnelarea/_textfont.py | 4 +- .../plotly/graph_objs/funnelarea/_title.py | 4 +- .../graph_objs/funnelarea/hoverlabel/_font.py | 4 +- .../funnelarea/legendgrouptitle/_font.py | 4 +- .../graph_objs/funnelarea/marker/_line.py | 4 +- .../graph_objs/funnelarea/title/_font.py | 4 +- .../plotly/graph_objs/heatmap/_colorbar.py | 4 +- .../plotly/graph_objs/heatmap/_hoverlabel.py | 4 +- .../graph_objs/heatmap/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/heatmap/_stream.py | 4 +- .../plotly/graph_objs/heatmap/_textfont.py | 4 +- .../graph_objs/heatmap/colorbar/_tickfont.py | 4 +- .../heatmap/colorbar/_tickformatstop.py | 4 +- .../graph_objs/heatmap/colorbar/_title.py | 4 +- .../heatmap/colorbar/title/_font.py | 4 +- .../graph_objs/heatmap/hoverlabel/_font.py | 4 +- .../heatmap/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/heatmapgl/_colorbar.py | 4 +- .../graph_objs/heatmapgl/_hoverlabel.py | 4 +- .../graph_objs/heatmapgl/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/heatmapgl/_stream.py | 4 +- .../heatmapgl/colorbar/_tickfont.py | 4 +- .../heatmapgl/colorbar/_tickformatstop.py | 4 +- .../graph_objs/heatmapgl/colorbar/_title.py | 4 +- .../heatmapgl/colorbar/title/_font.py | 4 +- .../graph_objs/heatmapgl/hoverlabel/_font.py | 4 +- .../heatmapgl/legendgrouptitle/_font.py | 4 +- .../graph_objs/histogram/_cumulative.py | 4 +- .../plotly/graph_objs/histogram/_error_x.py | 4 +- .../plotly/graph_objs/histogram/_error_y.py | 4 +- .../graph_objs/histogram/_hoverlabel.py | 4 +- .../graph_objs/histogram/_insidetextfont.py | 4 +- .../graph_objs/histogram/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/histogram/_marker.py | 4 +- .../graph_objs/histogram/_outsidetextfont.py | 4 +- .../plotly/graph_objs/histogram/_selected.py | 4 +- .../plotly/graph_objs/histogram/_stream.py | 4 +- .../plotly/graph_objs/histogram/_textfont.py | 4 +- .../graph_objs/histogram/_unselected.py | 4 +- .../plotly/graph_objs/histogram/_xbins.py | 4 +- .../plotly/graph_objs/histogram/_ybins.py | 4 +- .../graph_objs/histogram/hoverlabel/_font.py | 4 +- .../histogram/legendgrouptitle/_font.py | 4 +- .../graph_objs/histogram/marker/_colorbar.py | 4 +- .../graph_objs/histogram/marker/_line.py | 4 +- .../graph_objs/histogram/marker/_pattern.py | 4 +- .../histogram/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../histogram/marker/colorbar/_title.py | 4 +- .../histogram/marker/colorbar/title/_font.py | 4 +- .../graph_objs/histogram/selected/_marker.py | 4 +- .../histogram/selected/_textfont.py | 4 +- .../histogram/unselected/_marker.py | 4 +- .../histogram/unselected/_textfont.py | 4 +- .../graph_objs/histogram2d/_colorbar.py | 4 +- .../graph_objs/histogram2d/_hoverlabel.py | 4 +- .../histogram2d/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/histogram2d/_marker.py | 4 +- .../plotly/graph_objs/histogram2d/_stream.py | 4 +- .../graph_objs/histogram2d/_textfont.py | 4 +- .../plotly/graph_objs/histogram2d/_xbins.py | 4 +- .../plotly/graph_objs/histogram2d/_ybins.py | 4 +- .../histogram2d/colorbar/_tickfont.py | 4 +- .../histogram2d/colorbar/_tickformatstop.py | 4 +- .../graph_objs/histogram2d/colorbar/_title.py | 4 +- .../histogram2d/colorbar/title/_font.py | 4 +- .../histogram2d/hoverlabel/_font.py | 4 +- .../histogram2d/legendgrouptitle/_font.py | 4 +- .../histogram2dcontour/_colorbar.py | 4 +- .../histogram2dcontour/_contours.py | 4 +- .../histogram2dcontour/_hoverlabel.py | 4 +- .../histogram2dcontour/_legendgrouptitle.py | 4 +- .../graph_objs/histogram2dcontour/_line.py | 4 +- .../graph_objs/histogram2dcontour/_marker.py | 4 +- .../graph_objs/histogram2dcontour/_stream.py | 4 +- .../histogram2dcontour/_textfont.py | 4 +- .../graph_objs/histogram2dcontour/_xbins.py | 4 +- .../graph_objs/histogram2dcontour/_ybins.py | 4 +- .../histogram2dcontour/colorbar/_tickfont.py | 4 +- .../colorbar/_tickformatstop.py | 4 +- .../histogram2dcontour/colorbar/_title.py | 4 +- .../colorbar/title/_font.py | 4 +- .../histogram2dcontour/contours/_labelfont.py | 4 +- .../histogram2dcontour/hoverlabel/_font.py | 4 +- .../legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/icicle/_domain.py | 4 +- .../plotly/graph_objs/icicle/_hoverlabel.py | 4 +- .../graph_objs/icicle/_insidetextfont.py | 4 +- .../plotly/plotly/graph_objs/icicle/_leaf.py | 4 +- .../graph_objs/icicle/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/icicle/_marker.py | 4 +- .../graph_objs/icicle/_outsidetextfont.py | 4 +- .../plotly/graph_objs/icicle/_pathbar.py | 4 +- .../plotly/plotly/graph_objs/icicle/_root.py | 4 +- .../plotly/graph_objs/icicle/_stream.py | 4 +- .../plotly/graph_objs/icicle/_textfont.py | 4 +- .../plotly/graph_objs/icicle/_tiling.py | 4 +- .../graph_objs/icicle/hoverlabel/_font.py | 4 +- .../icicle/legendgrouptitle/_font.py | 4 +- .../graph_objs/icicle/marker/_colorbar.py | 4 +- .../plotly/graph_objs/icicle/marker/_line.py | 4 +- .../icicle/marker/colorbar/_tickfont.py | 4 +- .../icicle/marker/colorbar/_tickformatstop.py | 4 +- .../icicle/marker/colorbar/_title.py | 4 +- .../icicle/marker/colorbar/title/_font.py | 4 +- .../graph_objs/icicle/pathbar/_textfont.py | 4 +- .../plotly/graph_objs/image/_hoverlabel.py | 4 +- .../graph_objs/image/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/image/_stream.py | 4 +- .../graph_objs/image/hoverlabel/_font.py | 4 +- .../image/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/indicator/_delta.py | 4 +- .../plotly/graph_objs/indicator/_domain.py | 4 +- .../plotly/graph_objs/indicator/_gauge.py | 4 +- .../graph_objs/indicator/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/indicator/_number.py | 4 +- .../plotly/graph_objs/indicator/_stream.py | 4 +- .../plotly/graph_objs/indicator/_title.py | 4 +- .../graph_objs/indicator/delta/_decreasing.py | 4 +- .../graph_objs/indicator/delta/_font.py | 4 +- .../graph_objs/indicator/delta/_increasing.py | 4 +- .../graph_objs/indicator/gauge/_axis.py | 4 +- .../plotly/graph_objs/indicator/gauge/_bar.py | 4 +- .../graph_objs/indicator/gauge/_step.py | 4 +- .../graph_objs/indicator/gauge/_threshold.py | 4 +- .../indicator/gauge/axis/_tickfont.py | 4 +- .../indicator/gauge/axis/_tickformatstop.py | 4 +- .../graph_objs/indicator/gauge/bar/_line.py | 4 +- .../graph_objs/indicator/gauge/step/_line.py | 4 +- .../indicator/gauge/threshold/_line.py | 4 +- .../indicator/legendgrouptitle/_font.py | 4 +- .../graph_objs/indicator/number/_font.py | 4 +- .../graph_objs/indicator/title/_font.py | 4 +- .../plotly/graph_objs/isosurface/_caps.py | 4 +- .../plotly/graph_objs/isosurface/_colorbar.py | 4 +- .../plotly/graph_objs/isosurface/_contour.py | 4 +- .../graph_objs/isosurface/_hoverlabel.py | 4 +- .../isosurface/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/isosurface/_lighting.py | 4 +- .../graph_objs/isosurface/_lightposition.py | 4 +- .../plotly/graph_objs/isosurface/_slices.py | 4 +- .../graph_objs/isosurface/_spaceframe.py | 4 +- .../plotly/graph_objs/isosurface/_stream.py | 4 +- .../plotly/graph_objs/isosurface/_surface.py | 4 +- .../plotly/graph_objs/isosurface/caps/_x.py | 4 +- .../plotly/graph_objs/isosurface/caps/_y.py | 4 +- .../plotly/graph_objs/isosurface/caps/_z.py | 4 +- .../isosurface/colorbar/_tickfont.py | 4 +- .../isosurface/colorbar/_tickformatstop.py | 4 +- .../graph_objs/isosurface/colorbar/_title.py | 4 +- .../isosurface/colorbar/title/_font.py | 4 +- .../graph_objs/isosurface/hoverlabel/_font.py | 4 +- .../isosurface/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/isosurface/slices/_x.py | 4 +- .../plotly/graph_objs/isosurface/slices/_y.py | 4 +- .../plotly/graph_objs/isosurface/slices/_z.py | 4 +- .../plotly/graph_objs/layout/_activeshape.py | 4 +- .../plotly/graph_objs/layout/_annotation.py | 4 +- .../plotly/graph_objs/layout/_coloraxis.py | 4 +- .../plotly/graph_objs/layout/_colorscale.py | 4 +- .../plotly/plotly/graph_objs/layout/_font.py | 4 +- .../plotly/plotly/graph_objs/layout/_geo.py | 4 +- .../plotly/plotly/graph_objs/layout/_grid.py | 4 +- .../plotly/graph_objs/layout/_hoverlabel.py | 4 +- .../plotly/plotly/graph_objs/layout/_image.py | 4 +- .../plotly/graph_objs/layout/_legend.py | 4 +- .../plotly/graph_objs/layout/_mapbox.py | 4 +- .../plotly/graph_objs/layout/_margin.py | 4 +- .../plotly/graph_objs/layout/_modebar.py | 4 +- .../plotly/graph_objs/layout/_newshape.py | 4 +- .../plotly/plotly/graph_objs/layout/_polar.py | 4 +- .../plotly/plotly/graph_objs/layout/_scene.py | 4 +- .../plotly/plotly/graph_objs/layout/_shape.py | 4 +- .../plotly/graph_objs/layout/_slider.py | 4 +- .../plotly/plotly/graph_objs/layout/_smith.py | 4 +- .../plotly/graph_objs/layout/_template.py | 4 +- .../plotly/graph_objs/layout/_ternary.py | 4 +- .../plotly/plotly/graph_objs/layout/_title.py | 4 +- .../plotly/graph_objs/layout/_transition.py | 4 +- .../plotly/graph_objs/layout/_uniformtext.py | 4 +- .../plotly/graph_objs/layout/_updatemenu.py | 4 +- .../plotly/plotly/graph_objs/layout/_xaxis.py | 4 +- .../plotly/plotly/graph_objs/layout/_yaxis.py | 4 +- .../graph_objs/layout/annotation/_font.py | 4 +- .../layout/annotation/_hoverlabel.py | 4 +- .../layout/annotation/hoverlabel/_font.py | 4 +- .../graph_objs/layout/coloraxis/_colorbar.py | 4 +- .../layout/coloraxis/colorbar/_tickfont.py | 4 +- .../coloraxis/colorbar/_tickformatstop.py | 4 +- .../layout/coloraxis/colorbar/_title.py | 4 +- .../layout/coloraxis/colorbar/title/_font.py | 4 +- .../plotly/graph_objs/layout/geo/_center.py | 4 +- .../plotly/graph_objs/layout/geo/_domain.py | 4 +- .../plotly/graph_objs/layout/geo/_lataxis.py | 4 +- .../plotly/graph_objs/layout/geo/_lonaxis.py | 4 +- .../graph_objs/layout/geo/_projection.py | 4 +- .../layout/geo/projection/_rotation.py | 4 +- .../plotly/graph_objs/layout/grid/_domain.py | 4 +- .../graph_objs/layout/hoverlabel/_font.py | 4 +- .../layout/hoverlabel/_grouptitlefont.py | 4 +- .../plotly/graph_objs/layout/legend/_font.py | 4 +- .../layout/legend/_grouptitlefont.py | 4 +- .../plotly/graph_objs/layout/legend/_title.py | 4 +- .../graph_objs/layout/legend/title/_font.py | 4 +- .../graph_objs/layout/mapbox/_center.py | 4 +- .../graph_objs/layout/mapbox/_domain.py | 4 +- .../plotly/graph_objs/layout/mapbox/_layer.py | 4 +- .../graph_objs/layout/mapbox/layer/_circle.py | 4 +- .../graph_objs/layout/mapbox/layer/_fill.py | 4 +- .../graph_objs/layout/mapbox/layer/_line.py | 4 +- .../graph_objs/layout/mapbox/layer/_symbol.py | 4 +- .../layout/mapbox/layer/symbol/_textfont.py | 4 +- .../graph_objs/layout/newshape/_line.py | 4 +- .../graph_objs/layout/polar/_angularaxis.py | 4 +- .../plotly/graph_objs/layout/polar/_domain.py | 4 +- .../graph_objs/layout/polar/_radialaxis.py | 4 +- .../layout/polar/angularaxis/_tickfont.py | 4 +- .../polar/angularaxis/_tickformatstop.py | 4 +- .../layout/polar/radialaxis/_tickfont.py | 4 +- .../polar/radialaxis/_tickformatstop.py | 4 +- .../layout/polar/radialaxis/_title.py | 4 +- .../layout/polar/radialaxis/title/_font.py | 4 +- .../graph_objs/layout/scene/_annotation.py | 4 +- .../graph_objs/layout/scene/_aspectratio.py | 4 +- .../plotly/graph_objs/layout/scene/_camera.py | 4 +- .../plotly/graph_objs/layout/scene/_domain.py | 4 +- .../plotly/graph_objs/layout/scene/_xaxis.py | 4 +- .../plotly/graph_objs/layout/scene/_yaxis.py | 4 +- .../plotly/graph_objs/layout/scene/_zaxis.py | 4 +- .../layout/scene/annotation/_font.py | 4 +- .../layout/scene/annotation/_hoverlabel.py | 4 +- .../scene/annotation/hoverlabel/_font.py | 4 +- .../graph_objs/layout/scene/camera/_center.py | 4 +- .../graph_objs/layout/scene/camera/_eye.py | 4 +- .../layout/scene/camera/_projection.py | 4 +- .../graph_objs/layout/scene/camera/_up.py | 4 +- .../layout/scene/xaxis/_tickfont.py | 4 +- .../layout/scene/xaxis/_tickformatstop.py | 4 +- .../graph_objs/layout/scene/xaxis/_title.py | 4 +- .../layout/scene/xaxis/title/_font.py | 4 +- .../layout/scene/yaxis/_tickfont.py | 4 +- .../layout/scene/yaxis/_tickformatstop.py | 4 +- .../graph_objs/layout/scene/yaxis/_title.py | 4 +- .../layout/scene/yaxis/title/_font.py | 4 +- .../layout/scene/zaxis/_tickfont.py | 4 +- .../layout/scene/zaxis/_tickformatstop.py | 4 +- .../graph_objs/layout/scene/zaxis/_title.py | 4 +- .../layout/scene/zaxis/title/_font.py | 4 +- .../plotly/graph_objs/layout/shape/_line.py | 4 +- .../graph_objs/layout/slider/_currentvalue.py | 4 +- .../plotly/graph_objs/layout/slider/_font.py | 4 +- .../plotly/graph_objs/layout/slider/_pad.py | 4 +- .../plotly/graph_objs/layout/slider/_step.py | 4 +- .../graph_objs/layout/slider/_transition.py | 4 +- .../layout/slider/currentvalue/_font.py | 4 +- .../plotly/graph_objs/layout/smith/_domain.py | 4 +- .../graph_objs/layout/smith/_imaginaryaxis.py | 4 +- .../graph_objs/layout/smith/_realaxis.py | 4 +- .../layout/smith/imaginaryaxis/_tickfont.py | 4 +- .../layout/smith/realaxis/_tickfont.py | 4 +- .../graph_objs/layout/template/_data.py | 4 +- .../graph_objs/layout/ternary/_aaxis.py | 4 +- .../graph_objs/layout/ternary/_baxis.py | 4 +- .../graph_objs/layout/ternary/_caxis.py | 4 +- .../graph_objs/layout/ternary/_domain.py | 4 +- .../layout/ternary/aaxis/_tickfont.py | 4 +- .../layout/ternary/aaxis/_tickformatstop.py | 4 +- .../graph_objs/layout/ternary/aaxis/_title.py | 4 +- .../layout/ternary/aaxis/title/_font.py | 4 +- .../layout/ternary/baxis/_tickfont.py | 4 +- .../layout/ternary/baxis/_tickformatstop.py | 4 +- .../graph_objs/layout/ternary/baxis/_title.py | 4 +- .../layout/ternary/baxis/title/_font.py | 4 +- .../layout/ternary/caxis/_tickfont.py | 4 +- .../layout/ternary/caxis/_tickformatstop.py | 4 +- .../graph_objs/layout/ternary/caxis/_title.py | 4 +- .../layout/ternary/caxis/title/_font.py | 4 +- .../plotly/graph_objs/layout/title/_font.py | 4 +- .../plotly/graph_objs/layout/title/_pad.py | 4 +- .../graph_objs/layout/updatemenu/_button.py | 4 +- .../graph_objs/layout/updatemenu/_font.py | 4 +- .../graph_objs/layout/updatemenu/_pad.py | 4 +- .../plotly/graph_objs/layout/xaxis/_minor.py | 4 +- .../graph_objs/layout/xaxis/_rangebreak.py | 4 +- .../graph_objs/layout/xaxis/_rangeselector.py | 4 +- .../graph_objs/layout/xaxis/_rangeslider.py | 4 +- .../graph_objs/layout/xaxis/_tickfont.py | 4 +- .../layout/xaxis/_tickformatstop.py | 4 +- .../plotly/graph_objs/layout/xaxis/_title.py | 4 +- .../layout/xaxis/rangeselector/_button.py | 4 +- .../layout/xaxis/rangeselector/_font.py | 4 +- .../layout/xaxis/rangeslider/_yaxis.py | 4 +- .../graph_objs/layout/xaxis/title/_font.py | 4 +- .../plotly/graph_objs/layout/yaxis/_minor.py | 4 +- .../graph_objs/layout/yaxis/_rangebreak.py | 4 +- .../graph_objs/layout/yaxis/_tickfont.py | 4 +- .../layout/yaxis/_tickformatstop.py | 4 +- .../plotly/graph_objs/layout/yaxis/_title.py | 4 +- .../graph_objs/layout/yaxis/title/_font.py | 4 +- .../plotly/graph_objs/mesh3d/_colorbar.py | 4 +- .../plotly/graph_objs/mesh3d/_contour.py | 4 +- .../plotly/graph_objs/mesh3d/_hoverlabel.py | 4 +- .../graph_objs/mesh3d/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/mesh3d/_lighting.py | 4 +- .../graph_objs/mesh3d/_lightposition.py | 4 +- .../plotly/graph_objs/mesh3d/_stream.py | 4 +- .../graph_objs/mesh3d/colorbar/_tickfont.py | 4 +- .../mesh3d/colorbar/_tickformatstop.py | 4 +- .../graph_objs/mesh3d/colorbar/_title.py | 4 +- .../graph_objs/mesh3d/colorbar/title/_font.py | 4 +- .../graph_objs/mesh3d/hoverlabel/_font.py | 4 +- .../mesh3d/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/ohlc/_decreasing.py | 4 +- .../plotly/graph_objs/ohlc/_hoverlabel.py | 4 +- .../plotly/graph_objs/ohlc/_increasing.py | 4 +- .../graph_objs/ohlc/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/ohlc/_line.py | 4 +- .../plotly/plotly/graph_objs/ohlc/_stream.py | 4 +- .../graph_objs/ohlc/decreasing/_line.py | 4 +- .../graph_objs/ohlc/hoverlabel/_font.py | 4 +- .../graph_objs/ohlc/increasing/_line.py | 4 +- .../graph_objs/ohlc/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/parcats/_dimension.py | 4 +- .../plotly/graph_objs/parcats/_domain.py | 4 +- .../plotly/graph_objs/parcats/_labelfont.py | 4 +- .../graph_objs/parcats/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/parcats/_line.py | 4 +- .../plotly/graph_objs/parcats/_stream.py | 4 +- .../plotly/graph_objs/parcats/_tickfont.py | 4 +- .../parcats/legendgrouptitle/_font.py | 4 +- .../graph_objs/parcats/line/_colorbar.py | 4 +- .../parcats/line/colorbar/_tickfont.py | 4 +- .../parcats/line/colorbar/_tickformatstop.py | 4 +- .../parcats/line/colorbar/_title.py | 4 +- .../parcats/line/colorbar/title/_font.py | 4 +- .../plotly/graph_objs/parcoords/_dimension.py | 4 +- .../plotly/graph_objs/parcoords/_domain.py | 4 +- .../plotly/graph_objs/parcoords/_labelfont.py | 4 +- .../graph_objs/parcoords/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/parcoords/_line.py | 4 +- .../plotly/graph_objs/parcoords/_rangefont.py | 4 +- .../plotly/graph_objs/parcoords/_stream.py | 4 +- .../plotly/graph_objs/parcoords/_tickfont.py | 4 +- .../parcoords/legendgrouptitle/_font.py | 4 +- .../graph_objs/parcoords/line/_colorbar.py | 4 +- .../parcoords/line/colorbar/_tickfont.py | 4 +- .../line/colorbar/_tickformatstop.py | 4 +- .../parcoords/line/colorbar/_title.py | 4 +- .../parcoords/line/colorbar/title/_font.py | 4 +- .../plotly/plotly/graph_objs/pie/_domain.py | 4 +- .../plotly/graph_objs/pie/_hoverlabel.py | 4 +- .../plotly/graph_objs/pie/_insidetextfont.py | 4 +- .../graph_objs/pie/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/pie/_marker.py | 4 +- .../plotly/graph_objs/pie/_outsidetextfont.py | 4 +- .../plotly/plotly/graph_objs/pie/_stream.py | 4 +- .../plotly/plotly/graph_objs/pie/_textfont.py | 4 +- .../plotly/plotly/graph_objs/pie/_title.py | 4 +- .../plotly/graph_objs/pie/hoverlabel/_font.py | 4 +- .../graph_objs/pie/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/pie/marker/_line.py | 4 +- .../plotly/graph_objs/pie/title/_font.py | 4 +- .../graph_objs/pointcloud/_hoverlabel.py | 4 +- .../pointcloud/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/pointcloud/_marker.py | 4 +- .../plotly/graph_objs/pointcloud/_stream.py | 4 +- .../graph_objs/pointcloud/hoverlabel/_font.py | 4 +- .../pointcloud/legendgrouptitle/_font.py | 4 +- .../graph_objs/pointcloud/marker/_border.py | 4 +- .../plotly/graph_objs/sankey/_domain.py | 4 +- .../plotly/graph_objs/sankey/_hoverlabel.py | 4 +- .../graph_objs/sankey/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/sankey/_link.py | 4 +- .../plotly/plotly/graph_objs/sankey/_node.py | 4 +- .../plotly/graph_objs/sankey/_stream.py | 4 +- .../plotly/graph_objs/sankey/_textfont.py | 4 +- .../graph_objs/sankey/hoverlabel/_font.py | 4 +- .../sankey/legendgrouptitle/_font.py | 4 +- .../graph_objs/sankey/link/_colorscale.py | 4 +- .../graph_objs/sankey/link/_hoverlabel.py | 4 +- .../plotly/graph_objs/sankey/link/_line.py | 4 +- .../sankey/link/hoverlabel/_font.py | 4 +- .../graph_objs/sankey/node/_hoverlabel.py | 4 +- .../plotly/graph_objs/sankey/node/_line.py | 4 +- .../sankey/node/hoverlabel/_font.py | 4 +- .../plotly/graph_objs/scatter/_error_x.py | 4 +- .../plotly/graph_objs/scatter/_error_y.py | 4 +- .../plotly/graph_objs/scatter/_fillpattern.py | 4 +- .../plotly/graph_objs/scatter/_hoverlabel.py | 4 +- .../graph_objs/scatter/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/scatter/_line.py | 4 +- .../plotly/graph_objs/scatter/_marker.py | 4 +- .../plotly/graph_objs/scatter/_selected.py | 4 +- .../plotly/graph_objs/scatter/_stream.py | 4 +- .../plotly/graph_objs/scatter/_textfont.py | 4 +- .../plotly/graph_objs/scatter/_unselected.py | 4 +- .../graph_objs/scatter/hoverlabel/_font.py | 4 +- .../scatter/legendgrouptitle/_font.py | 4 +- .../graph_objs/scatter/marker/_colorbar.py | 4 +- .../graph_objs/scatter/marker/_gradient.py | 4 +- .../plotly/graph_objs/scatter/marker/_line.py | 4 +- .../scatter/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scatter/marker/colorbar/_title.py | 4 +- .../scatter/marker/colorbar/title/_font.py | 4 +- .../graph_objs/scatter/selected/_marker.py | 4 +- .../graph_objs/scatter/selected/_textfont.py | 4 +- .../graph_objs/scatter/unselected/_marker.py | 4 +- .../scatter/unselected/_textfont.py | 4 +- .../plotly/graph_objs/scatter3d/_error_x.py | 4 +- .../plotly/graph_objs/scatter3d/_error_y.py | 4 +- .../plotly/graph_objs/scatter3d/_error_z.py | 4 +- .../graph_objs/scatter3d/_hoverlabel.py | 4 +- .../graph_objs/scatter3d/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scatter3d/_line.py | 4 +- .../plotly/graph_objs/scatter3d/_marker.py | 4 +- .../graph_objs/scatter3d/_projection.py | 4 +- .../plotly/graph_objs/scatter3d/_stream.py | 4 +- .../plotly/graph_objs/scatter3d/_textfont.py | 4 +- .../graph_objs/scatter3d/hoverlabel/_font.py | 4 +- .../scatter3d/legendgrouptitle/_font.py | 4 +- .../graph_objs/scatter3d/line/_colorbar.py | 4 +- .../scatter3d/line/colorbar/_tickfont.py | 4 +- .../line/colorbar/_tickformatstop.py | 4 +- .../scatter3d/line/colorbar/_title.py | 4 +- .../scatter3d/line/colorbar/title/_font.py | 4 +- .../graph_objs/scatter3d/marker/_colorbar.py | 4 +- .../graph_objs/scatter3d/marker/_line.py | 4 +- .../scatter3d/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scatter3d/marker/colorbar/_title.py | 4 +- .../scatter3d/marker/colorbar/title/_font.py | 4 +- .../graph_objs/scatter3d/projection/_x.py | 4 +- .../graph_objs/scatter3d/projection/_y.py | 4 +- .../graph_objs/scatter3d/projection/_z.py | 4 +- .../graph_objs/scattercarpet/_hoverlabel.py | 4 +- .../scattercarpet/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scattercarpet/_line.py | 4 +- .../graph_objs/scattercarpet/_marker.py | 4 +- .../graph_objs/scattercarpet/_selected.py | 4 +- .../graph_objs/scattercarpet/_stream.py | 4 +- .../graph_objs/scattercarpet/_textfont.py | 4 +- .../graph_objs/scattercarpet/_unselected.py | 4 +- .../scattercarpet/hoverlabel/_font.py | 4 +- .../scattercarpet/legendgrouptitle/_font.py | 4 +- .../scattercarpet/marker/_colorbar.py | 4 +- .../scattercarpet/marker/_gradient.py | 4 +- .../graph_objs/scattercarpet/marker/_line.py | 4 +- .../marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scattercarpet/marker/colorbar/_title.py | 4 +- .../marker/colorbar/title/_font.py | 4 +- .../scattercarpet/selected/_marker.py | 4 +- .../scattercarpet/selected/_textfont.py | 4 +- .../scattercarpet/unselected/_marker.py | 4 +- .../scattercarpet/unselected/_textfont.py | 4 +- .../graph_objs/scattergeo/_hoverlabel.py | 4 +- .../scattergeo/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scattergeo/_line.py | 4 +- .../plotly/graph_objs/scattergeo/_marker.py | 4 +- .../plotly/graph_objs/scattergeo/_selected.py | 4 +- .../plotly/graph_objs/scattergeo/_stream.py | 4 +- .../plotly/graph_objs/scattergeo/_textfont.py | 4 +- .../graph_objs/scattergeo/_unselected.py | 4 +- .../graph_objs/scattergeo/hoverlabel/_font.py | 4 +- .../scattergeo/legendgrouptitle/_font.py | 4 +- .../graph_objs/scattergeo/marker/_colorbar.py | 4 +- .../graph_objs/scattergeo/marker/_gradient.py | 4 +- .../graph_objs/scattergeo/marker/_line.py | 4 +- .../scattergeo/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scattergeo/marker/colorbar/_title.py | 4 +- .../scattergeo/marker/colorbar/title/_font.py | 4 +- .../graph_objs/scattergeo/selected/_marker.py | 4 +- .../scattergeo/selected/_textfont.py | 4 +- .../scattergeo/unselected/_marker.py | 4 +- .../scattergeo/unselected/_textfont.py | 4 +- .../plotly/graph_objs/scattergl/_error_x.py | 4 +- .../plotly/graph_objs/scattergl/_error_y.py | 4 +- .../graph_objs/scattergl/_hoverlabel.py | 4 +- .../graph_objs/scattergl/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scattergl/_line.py | 4 +- .../plotly/graph_objs/scattergl/_marker.py | 4 +- .../plotly/graph_objs/scattergl/_selected.py | 4 +- .../plotly/graph_objs/scattergl/_stream.py | 4 +- .../plotly/graph_objs/scattergl/_textfont.py | 4 +- .../graph_objs/scattergl/_unselected.py | 4 +- .../graph_objs/scattergl/hoverlabel/_font.py | 4 +- .../scattergl/legendgrouptitle/_font.py | 4 +- .../graph_objs/scattergl/marker/_colorbar.py | 4 +- .../graph_objs/scattergl/marker/_line.py | 4 +- .../scattergl/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scattergl/marker/colorbar/_title.py | 4 +- .../scattergl/marker/colorbar/title/_font.py | 4 +- .../graph_objs/scattergl/selected/_marker.py | 4 +- .../scattergl/selected/_textfont.py | 4 +- .../scattergl/unselected/_marker.py | 4 +- .../scattergl/unselected/_textfont.py | 4 +- .../graph_objs/scattermapbox/_hoverlabel.py | 4 +- .../scattermapbox/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scattermapbox/_line.py | 4 +- .../graph_objs/scattermapbox/_marker.py | 4 +- .../graph_objs/scattermapbox/_selected.py | 4 +- .../graph_objs/scattermapbox/_stream.py | 4 +- .../graph_objs/scattermapbox/_textfont.py | 4 +- .../graph_objs/scattermapbox/_unselected.py | 4 +- .../scattermapbox/hoverlabel/_font.py | 4 +- .../scattermapbox/legendgrouptitle/_font.py | 4 +- .../scattermapbox/marker/_colorbar.py | 4 +- .../marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scattermapbox/marker/colorbar/_title.py | 4 +- .../marker/colorbar/title/_font.py | 4 +- .../scattermapbox/selected/_marker.py | 4 +- .../scattermapbox/unselected/_marker.py | 4 +- .../graph_objs/scatterpolar/_hoverlabel.py | 4 +- .../scatterpolar/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scatterpolar/_line.py | 4 +- .../plotly/graph_objs/scatterpolar/_marker.py | 4 +- .../graph_objs/scatterpolar/_selected.py | 4 +- .../plotly/graph_objs/scatterpolar/_stream.py | 4 +- .../graph_objs/scatterpolar/_textfont.py | 4 +- .../graph_objs/scatterpolar/_unselected.py | 4 +- .../scatterpolar/hoverlabel/_font.py | 4 +- .../scatterpolar/legendgrouptitle/_font.py | 4 +- .../scatterpolar/marker/_colorbar.py | 4 +- .../scatterpolar/marker/_gradient.py | 4 +- .../graph_objs/scatterpolar/marker/_line.py | 4 +- .../scatterpolar/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scatterpolar/marker/colorbar/_title.py | 4 +- .../marker/colorbar/title/_font.py | 4 +- .../scatterpolar/selected/_marker.py | 4 +- .../scatterpolar/selected/_textfont.py | 4 +- .../scatterpolar/unselected/_marker.py | 4 +- .../scatterpolar/unselected/_textfont.py | 4 +- .../graph_objs/scatterpolargl/_hoverlabel.py | 4 +- .../scatterpolargl/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scatterpolargl/_line.py | 4 +- .../graph_objs/scatterpolargl/_marker.py | 4 +- .../graph_objs/scatterpolargl/_selected.py | 4 +- .../graph_objs/scatterpolargl/_stream.py | 4 +- .../graph_objs/scatterpolargl/_textfont.py | 4 +- .../graph_objs/scatterpolargl/_unselected.py | 4 +- .../scatterpolargl/hoverlabel/_font.py | 4 +- .../scatterpolargl/legendgrouptitle/_font.py | 4 +- .../scatterpolargl/marker/_colorbar.py | 4 +- .../graph_objs/scatterpolargl/marker/_line.py | 4 +- .../marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scatterpolargl/marker/colorbar/_title.py | 4 +- .../marker/colorbar/title/_font.py | 4 +- .../scatterpolargl/selected/_marker.py | 4 +- .../scatterpolargl/selected/_textfont.py | 4 +- .../scatterpolargl/unselected/_marker.py | 4 +- .../scatterpolargl/unselected/_textfont.py | 4 +- .../graph_objs/scattersmith/_hoverlabel.py | 4 +- .../scattersmith/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scattersmith/_line.py | 4 +- .../plotly/graph_objs/scattersmith/_marker.py | 4 +- .../graph_objs/scattersmith/_selected.py | 4 +- .../plotly/graph_objs/scattersmith/_stream.py | 4 +- .../graph_objs/scattersmith/_textfont.py | 4 +- .../graph_objs/scattersmith/_unselected.py | 4 +- .../scattersmith/hoverlabel/_font.py | 4 +- .../scattersmith/legendgrouptitle/_font.py | 4 +- .../scattersmith/marker/_colorbar.py | 4 +- .../scattersmith/marker/_gradient.py | 4 +- .../graph_objs/scattersmith/marker/_line.py | 4 +- .../scattersmith/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scattersmith/marker/colorbar/_title.py | 4 +- .../marker/colorbar/title/_font.py | 4 +- .../scattersmith/selected/_marker.py | 4 +- .../scattersmith/selected/_textfont.py | 4 +- .../scattersmith/unselected/_marker.py | 4 +- .../scattersmith/unselected/_textfont.py | 4 +- .../graph_objs/scatterternary/_hoverlabel.py | 4 +- .../scatterternary/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/scatterternary/_line.py | 4 +- .../graph_objs/scatterternary/_marker.py | 4 +- .../graph_objs/scatterternary/_selected.py | 4 +- .../graph_objs/scatterternary/_stream.py | 4 +- .../graph_objs/scatterternary/_textfont.py | 4 +- .../graph_objs/scatterternary/_unselected.py | 4 +- .../scatterternary/hoverlabel/_font.py | 4 +- .../scatterternary/legendgrouptitle/_font.py | 4 +- .../scatterternary/marker/_colorbar.py | 4 +- .../scatterternary/marker/_gradient.py | 4 +- .../graph_objs/scatterternary/marker/_line.py | 4 +- .../marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../scatterternary/marker/colorbar/_title.py | 4 +- .../marker/colorbar/title/_font.py | 4 +- .../scatterternary/selected/_marker.py | 4 +- .../scatterternary/selected/_textfont.py | 4 +- .../scatterternary/unselected/_marker.py | 4 +- .../scatterternary/unselected/_textfont.py | 4 +- .../plotly/graph_objs/splom/_diagonal.py | 4 +- .../plotly/graph_objs/splom/_dimension.py | 4 +- .../plotly/graph_objs/splom/_hoverlabel.py | 4 +- .../graph_objs/splom/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/splom/_marker.py | 4 +- .../plotly/graph_objs/splom/_selected.py | 4 +- .../plotly/plotly/graph_objs/splom/_stream.py | 4 +- .../plotly/graph_objs/splom/_unselected.py | 4 +- .../graph_objs/splom/dimension/_axis.py | 4 +- .../graph_objs/splom/hoverlabel/_font.py | 4 +- .../splom/legendgrouptitle/_font.py | 4 +- .../graph_objs/splom/marker/_colorbar.py | 4 +- .../plotly/graph_objs/splom/marker/_line.py | 4 +- .../splom/marker/colorbar/_tickfont.py | 4 +- .../splom/marker/colorbar/_tickformatstop.py | 4 +- .../splom/marker/colorbar/_title.py | 4 +- .../splom/marker/colorbar/title/_font.py | 4 +- .../graph_objs/splom/selected/_marker.py | 4 +- .../graph_objs/splom/unselected/_marker.py | 4 +- .../plotly/graph_objs/streamtube/_colorbar.py | 4 +- .../graph_objs/streamtube/_hoverlabel.py | 4 +- .../streamtube/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/streamtube/_lighting.py | 4 +- .../graph_objs/streamtube/_lightposition.py | 4 +- .../plotly/graph_objs/streamtube/_starts.py | 4 +- .../plotly/graph_objs/streamtube/_stream.py | 4 +- .../streamtube/colorbar/_tickfont.py | 4 +- .../streamtube/colorbar/_tickformatstop.py | 4 +- .../graph_objs/streamtube/colorbar/_title.py | 4 +- .../streamtube/colorbar/title/_font.py | 4 +- .../graph_objs/streamtube/hoverlabel/_font.py | 4 +- .../streamtube/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/sunburst/_domain.py | 4 +- .../plotly/graph_objs/sunburst/_hoverlabel.py | 4 +- .../graph_objs/sunburst/_insidetextfont.py | 4 +- .../plotly/graph_objs/sunburst/_leaf.py | 4 +- .../graph_objs/sunburst/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/sunburst/_marker.py | 4 +- .../graph_objs/sunburst/_outsidetextfont.py | 4 +- .../plotly/graph_objs/sunburst/_root.py | 4 +- .../plotly/graph_objs/sunburst/_stream.py | 4 +- .../plotly/graph_objs/sunburst/_textfont.py | 4 +- .../graph_objs/sunburst/hoverlabel/_font.py | 4 +- .../sunburst/legendgrouptitle/_font.py | 4 +- .../graph_objs/sunburst/marker/_colorbar.py | 4 +- .../graph_objs/sunburst/marker/_line.py | 4 +- .../sunburst/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../sunburst/marker/colorbar/_title.py | 4 +- .../sunburst/marker/colorbar/title/_font.py | 4 +- .../plotly/graph_objs/surface/_colorbar.py | 4 +- .../plotly/graph_objs/surface/_contours.py | 4 +- .../plotly/graph_objs/surface/_hoverlabel.py | 4 +- .../graph_objs/surface/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/surface/_lighting.py | 4 +- .../graph_objs/surface/_lightposition.py | 4 +- .../plotly/graph_objs/surface/_stream.py | 4 +- .../graph_objs/surface/colorbar/_tickfont.py | 4 +- .../surface/colorbar/_tickformatstop.py | 4 +- .../graph_objs/surface/colorbar/_title.py | 4 +- .../surface/colorbar/title/_font.py | 4 +- .../plotly/graph_objs/surface/contours/_x.py | 4 +- .../plotly/graph_objs/surface/contours/_y.py | 4 +- .../plotly/graph_objs/surface/contours/_z.py | 4 +- .../graph_objs/surface/contours/x/_project.py | 4 +- .../graph_objs/surface/contours/y/_project.py | 4 +- .../graph_objs/surface/contours/z/_project.py | 4 +- .../graph_objs/surface/hoverlabel/_font.py | 4 +- .../surface/legendgrouptitle/_font.py | 4 +- .../plotly/plotly/graph_objs/table/_cells.py | 4 +- .../plotly/plotly/graph_objs/table/_domain.py | 4 +- .../plotly/plotly/graph_objs/table/_header.py | 4 +- .../plotly/graph_objs/table/_hoverlabel.py | 4 +- .../graph_objs/table/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/table/_stream.py | 4 +- .../plotly/graph_objs/table/cells/_fill.py | 4 +- .../plotly/graph_objs/table/cells/_font.py | 4 +- .../plotly/graph_objs/table/cells/_line.py | 4 +- .../plotly/graph_objs/table/header/_fill.py | 4 +- .../plotly/graph_objs/table/header/_font.py | 4 +- .../plotly/graph_objs/table/header/_line.py | 4 +- .../graph_objs/table/hoverlabel/_font.py | 4 +- .../table/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/treemap/_domain.py | 4 +- .../plotly/graph_objs/treemap/_hoverlabel.py | 4 +- .../graph_objs/treemap/_insidetextfont.py | 4 +- .../graph_objs/treemap/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/treemap/_marker.py | 4 +- .../graph_objs/treemap/_outsidetextfont.py | 4 +- .../plotly/graph_objs/treemap/_pathbar.py | 4 +- .../plotly/plotly/graph_objs/treemap/_root.py | 4 +- .../plotly/graph_objs/treemap/_stream.py | 4 +- .../plotly/graph_objs/treemap/_textfont.py | 4 +- .../plotly/graph_objs/treemap/_tiling.py | 4 +- .../graph_objs/treemap/hoverlabel/_font.py | 4 +- .../treemap/legendgrouptitle/_font.py | 4 +- .../graph_objs/treemap/marker/_colorbar.py | 4 +- .../plotly/graph_objs/treemap/marker/_line.py | 4 +- .../plotly/graph_objs/treemap/marker/_pad.py | 4 +- .../treemap/marker/colorbar/_tickfont.py | 4 +- .../marker/colorbar/_tickformatstop.py | 4 +- .../treemap/marker/colorbar/_title.py | 4 +- .../treemap/marker/colorbar/title/_font.py | 4 +- .../graph_objs/treemap/pathbar/_textfont.py | 4 +- .../plotly/plotly/graph_objs/violin/_box.py | 4 +- .../plotly/graph_objs/violin/_hoverlabel.py | 4 +- .../graph_objs/violin/_legendgrouptitle.py | 4 +- .../plotly/plotly/graph_objs/violin/_line.py | 4 +- .../plotly/graph_objs/violin/_marker.py | 4 +- .../plotly/graph_objs/violin/_meanline.py | 4 +- .../plotly/graph_objs/violin/_selected.py | 4 +- .../plotly/graph_objs/violin/_stream.py | 4 +- .../plotly/graph_objs/violin/_unselected.py | 4 +- .../plotly/graph_objs/violin/box/_line.py | 4 +- .../graph_objs/violin/hoverlabel/_font.py | 4 +- .../violin/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/violin/marker/_line.py | 4 +- .../graph_objs/violin/selected/_marker.py | 4 +- .../graph_objs/violin/unselected/_marker.py | 4 +- .../plotly/plotly/graph_objs/volume/_caps.py | 4 +- .../plotly/graph_objs/volume/_colorbar.py | 4 +- .../plotly/graph_objs/volume/_contour.py | 4 +- .../plotly/graph_objs/volume/_hoverlabel.py | 4 +- .../graph_objs/volume/_legendgrouptitle.py | 4 +- .../plotly/graph_objs/volume/_lighting.py | 4 +- .../graph_objs/volume/_lightposition.py | 4 +- .../plotly/graph_objs/volume/_slices.py | 4 +- .../plotly/graph_objs/volume/_spaceframe.py | 4 +- .../plotly/graph_objs/volume/_stream.py | 4 +- .../plotly/graph_objs/volume/_surface.py | 4 +- .../plotly/graph_objs/volume/caps/_x.py | 4 +- .../plotly/graph_objs/volume/caps/_y.py | 4 +- .../plotly/graph_objs/volume/caps/_z.py | 4 +- .../graph_objs/volume/colorbar/_tickfont.py | 4 +- .../volume/colorbar/_tickformatstop.py | 4 +- .../graph_objs/volume/colorbar/_title.py | 4 +- .../graph_objs/volume/colorbar/title/_font.py | 4 +- .../graph_objs/volume/hoverlabel/_font.py | 4 +- .../volume/legendgrouptitle/_font.py | 4 +- .../plotly/graph_objs/volume/slices/_x.py | 4 +- .../plotly/graph_objs/volume/slices/_y.py | 4 +- .../plotly/graph_objs/volume/slices/_z.py | 4 +- .../plotly/graph_objs/waterfall/_connector.py | 4 +- .../graph_objs/waterfall/_decreasing.py | 4 +- .../graph_objs/waterfall/_hoverlabel.py | 4 +- .../graph_objs/waterfall/_increasing.py | 4 +- .../graph_objs/waterfall/_insidetextfont.py | 4 +- .../graph_objs/waterfall/_legendgrouptitle.py | 4 +- .../graph_objs/waterfall/_outsidetextfont.py | 4 +- .../plotly/graph_objs/waterfall/_stream.py | 4 +- .../plotly/graph_objs/waterfall/_textfont.py | 4 +- .../plotly/graph_objs/waterfall/_totals.py | 4 +- .../graph_objs/waterfall/connector/_line.py | 4 +- .../waterfall/decreasing/_marker.py | 4 +- .../waterfall/decreasing/marker/_line.py | 4 +- .../graph_objs/waterfall/hoverlabel/_font.py | 4 +- .../waterfall/increasing/_marker.py | 4 +- .../waterfall/increasing/marker/_line.py | 4 +- .../waterfall/legendgrouptitle/_font.py | 4 +- .../graph_objs/waterfall/totals/_marker.py | 4 +- .../waterfall/totals/marker/_line.py | 4 +- packages/python/plotly/plotly/subplots.py | 1228 +------------- 1001 files changed, 5017 insertions(+), 3420 deletions(-) create mode 100644 packages/python/plotly/plotly/_subplots.py diff --git a/packages/python/plotly/codegen/datatypes.py b/packages/python/plotly/codegen/datatypes.py index 6355faacfdf..b9ff134fb49 100644 --- a/packages/python/plotly/codegen/datatypes.py +++ b/packages/python/plotly/codegen/datatypes.py @@ -114,7 +114,7 @@ class {datatype_class}(_{node.name_base_datatype}):\n""" buffer.write( f""" _subplotid_prop_names = {repr(subplot_names)} - + import re _subplotid_prop_re = re.compile( '^(' + '|'.join(_subplotid_prop_names) + r')(\d+)$') @@ -147,7 +147,7 @@ def _subplotid_validators(self): from plotly.validators.layout import ({validator_csv}) return {subplot_dict_str} - + def _subplot_re_match(self, prop): return self._subplotid_prop_re.match(prop) """ @@ -208,7 +208,7 @@ def _subplot_re_match(self, prop): # #### Combine to form property docstring #### if property_description.strip(): property_docstring = f"""{property_description} - + {validator_description}""" else: property_docstring = f" {validator_description}" @@ -342,8 +342,8 @@ def __init__(self""" arg = _copy.copy(arg) else: raise ValueError(\"\"\"\\ -The first argument to the {class_name} -constructor must be a dict or +The first argument to the {class_name} +constructor must be a dict or an instance of :class:`{class_name}`\"\"\") # Handle skip_invalid @@ -389,11 +389,11 @@ def __init__(self""" buffer.write( f""" - + # Process unknown kwargs # ---------------------- self._process_kwargs(**dict(arg, **kwargs)) - + # Reset skip_invalid # ------------------ self._skip_invalid = False @@ -429,7 +429,9 @@ def reindent_validator_description(validator, extra_indent): return ("\n" + " " * extra_indent).join(validator.description().strip().split("\n")) -def add_constructor_params(buffer, subtype_nodes, prepend_extras=(), append_extras=()): +def add_constructor_params( + buffer, subtype_nodes, prepend_extras=(), append_extras=(), output_type=None +): """ Write datatype constructor params to a buffer @@ -470,9 +472,12 @@ def add_constructor_params(buffer, subtype_nodes, prepend_extras=(), append_extr **kwargs""" ) buffer.write( - f""" - ):""" + """ + )""" ) + if output_type: + buffer.write(f"-> '{output_type}'") + buffer.write(":") def add_docstring( @@ -525,7 +530,7 @@ def add_docstring( f""" \"\"\" {header} - + {node_description} Parameters ----------""" ) diff --git a/packages/python/plotly/codegen/figure.py b/packages/python/plotly/codegen/figure.py index e94ac554449..5222fa270b2 100644 --- a/packages/python/plotly/codegen/figure.py +++ b/packages/python/plotly/codegen/figure.py @@ -1,19 +1,15 @@ from io import StringIO from os import path as opath -from _plotly_utils.basevalidators import ( - BaseDataValidator, - CompoundValidator, - CompoundArrayValidator, -) from codegen.datatypes import ( reindent_validator_description, add_constructor_params, add_docstring, ) -from codegen.utils import PlotlyNode, write_source_py +from codegen.utils import write_source_py import inflect +from plotly.basedatatypes import BaseFigure def build_figure_py( @@ -118,6 +114,82 @@ def __init__(self, data=None, layout=None, """ ) + def add_wrapper(wrapped_name, full_params, param_list): + buffer.write( + f""" + def {wrapped_name}(self, {full_params}) -> "{fig_classname}": + ''' + {getattr(BaseFigure, wrapped_name).__doc__} + ''' + return super({fig_classname}, self).{wrapped_name}({param_list}) + """ + ) + + add_wrapper( + "update", + "dict1=None, overwrite=False, **kwargs", + "dict1, overwrite, **kwargs", + ) + + add_wrapper( + "update_traces", + "patch=None, selector=None, row=None, col=None, secondary_y=None, overwrite=False, **kwargs", + "patch, selector, row, col, secondary_y, overwrite, **kwargs", + ) + + add_wrapper( + "update_layout", + "dict1=None, overwrite=False, **kwargs", + "dict1, overwrite, **kwargs", + ) + + add_wrapper( + "for_each_trace", + "fn, selector=None, row=None, col=None, secondary_y=None", + "fn, selector, row, col, secondary_y", + ) + + add_wrapper( + "add_trace", + "trace, row=None, col=None, secondary_y=None, exclude_empty_subplots=False", + "trace, row, col, secondary_y, exclude_empty_subplots", + ) + + add_wrapper( + "add_traces", + "data,rows=None,cols=None,secondary_ys=None,exclude_empty_subplots=False", + "data,rows,cols,secondary_ys,exclude_empty_subplots", + ) + + add_wrapper( + "add_vline", + 'x,row="all",col="all",exclude_empty_subplots=True,annotation=None,**kwargs', + "x,row,col,exclude_empty_subplots,annotation,**kwargs", + ) + + add_wrapper( + "add_hline", + 'y,row="all",col="all",exclude_empty_subplots=True,annotation=None,**kwargs', + "y,row,col,exclude_empty_subplots,annotation,**kwargs", + ) + + add_wrapper( + "add_vrect", + 'x0,x1,row="all",col="all",exclude_empty_subplots=True,annotation=None,**kwargs', + "x0,x1,row,col,exclude_empty_subplots,annotation,**kwargs", + ) + + add_wrapper( + "add_hrect", + 'y0,y1,row="all",col="all",exclude_empty_subplots=True,annotation=None,**kwargs', + "y0,y1,row,col,exclude_empty_subplots,annotation,**kwargs", + ) + add_wrapper( + "set_subplots", + "rows=None, cols=None, **make_subplots_args", + "rows, cols, **make_subplots_args", + ) + # ### add_trace methods for each trace type ### for trace_node in trace_nodes: @@ -136,7 +208,10 @@ def add_{trace_node.plotly_name}(self""" if include_secondary_y: param_extras.append("secondary_y") add_constructor_params( - buffer, trace_node.child_datatypes, append_extras=param_extras + buffer, + trace_node.child_datatypes, + append_extras=param_extras, + output_type=fig_classname, ) # #### Docstring #### @@ -193,7 +268,7 @@ def add_{trace_node.plotly_name}(self""" """ ) - for i, subtype_node in enumerate(trace_node.child_datatypes): + for _, subtype_node in enumerate(trace_node.child_datatypes): subtype_prop_name = subtype_node.name_property buffer.write( f""" @@ -201,7 +276,7 @@ def add_{trace_node.plotly_name}(self""" ) buffer.write( - f""" + """ **kwargs)""" ) @@ -226,7 +301,7 @@ def add_{trace_node.plotly_name}(self""" if singular_name == "yaxis": secondary_y_1 = ", secondary_y=None" secondary_y_2 = ", secondary_y=secondary_y" - secondary_y_docstring = f""" + secondary_y_docstring = """ secondary_y: boolean or None (default None) * If True, only select yaxis objects associated with the secondary y-axis of the subplot. @@ -283,7 +358,7 @@ def select_{plural_name}( '{singular_name}', selector, row, col{secondary_y_2}) def for_each_{singular_name}( - self, fn, selector=None, row=None, col=None{secondary_y_1}): + self, fn, selector=None, row=None, col=None{secondary_y_1}) -> '{fig_classname}': \"\"\" Apply a function to all {singular_name} objects that satisfy the specified selection criteria @@ -311,7 +386,7 @@ def for_each_{singular_name}( Returns ------- self - Returns the Figure object that the method was called on + Returns the {fig_classname} object that the method was called on \"\"\" for obj in self.select_{plural_name}( selector=selector, row=row, col=col{secondary_y_2}): @@ -325,7 +400,7 @@ def update_{plural_name}( selector=None, overwrite=False, row=None, col=None{secondary_y_1}, - **kwargs): + **kwargs) -> '{fig_classname}': \"\"\" Perform a property update operation on all {singular_name} objects that satisfy the specified selection criteria @@ -363,7 +438,7 @@ def update_{plural_name}( Returns ------- self - Returns the Figure object that the method was called on + Returns the {fig_classname} object that the method was called on \"\"\" for obj in self.select_{plural_name}( selector=selector, row=row, col=col{secondary_y_2}): @@ -477,7 +552,7 @@ def for_each_{method_prefix}{singular_name}( Returns ------- self - Returns the Figure object that the method was called on + Returns the {fig_classname} object that the method was called on \"\"\" for obj in self._select_annotations_like( prop='{plural_name}', @@ -498,7 +573,7 @@ def update_{method_prefix}{plural_name}( col=None, secondary_y=None, **kwargs - ): + ) -> '{fig_classname}': \"\"\" Perform a property update operation on all {plural_name} that satisfy the specified selection criteria @@ -545,7 +620,7 @@ def update_{method_prefix}{plural_name}( Returns ------- self - Returns the Figure object that the method was called on + Returns the {fig_classname} object that the method was called on \"\"\" for obj in self._select_annotations_like( prop='{plural_name}', @@ -610,7 +685,7 @@ def add_{method_prefix}{singular_name}(self""" """ ) - for i, subtype_node in enumerate(node.child_datatypes): + for _, subtype_node in enumerate(node.child_datatypes): subtype_prop_name = subtype_node.name_property buffer.write( f""" diff --git a/packages/python/plotly/plotly/_subplots.py b/packages/python/plotly/plotly/_subplots.py new file mode 100644 index 00000000000..24ec630e01d --- /dev/null +++ b/packages/python/plotly/plotly/_subplots.py @@ -0,0 +1,1506 @@ +# -*- coding: utf-8 -*- +from __future__ import absolute_import, unicode_literals + +# Constants +# --------- +# Subplot types that are each individually positioned with a domain +# +# Each of these subplot types has a `domain` property with `x`/`y` +# properties. +# Note that this set does not contain `xaxis`/`yaxis` because these behave a +# little differently. +import collections + +_single_subplot_types = {"scene", "geo", "polar", "ternary", "mapbox"} +_subplot_types = set.union(_single_subplot_types, {"xy", "domain"}) + +# For most subplot types, a trace is associated with a particular subplot +# using a trace property with a name that matches the subplot type. For +# example, a `scatter3d.scene` property set to `'scene2'` associates a +# scatter3d trace with the second `scene` subplot in the figure. +# +# There are a few subplot types that don't follow this pattern, and instead +# the trace property is just named `subplot`. For example setting +# the `scatterpolar.subplot` property to `polar3` associates the scatterpolar +# trace with the third polar subplot in the figure +_subplot_prop_named_subplot = {"polar", "ternary", "mapbox"} + + +# Named tuple to hold an xaxis/yaxis pair that represent a single subplot +SubplotXY = collections.namedtuple("SubplotXY", ("xaxis", "yaxis")) +SubplotDomain = collections.namedtuple("SubplotDomain", ("x", "y")) + +SubplotRef = collections.namedtuple( + "SubplotRef", ("subplot_type", "layout_keys", "trace_kwargs") +) + + +def _get_initial_max_subplot_ids(): + max_subplot_ids = {subplot_type: 0 for subplot_type in _single_subplot_types} + max_subplot_ids["xaxis"] = 0 + max_subplot_ids["yaxis"] = 0 + return max_subplot_ids + + +def make_subplots( + rows=1, + cols=1, + shared_xaxes=False, + shared_yaxes=False, + start_cell="top-left", + print_grid=False, + horizontal_spacing=None, + vertical_spacing=None, + subplot_titles=None, + column_widths=None, + row_heights=None, + specs=None, + insets=None, + column_titles=None, + row_titles=None, + x_title=None, + y_title=None, + figure=None, + **kwargs, +): + """ + Return an instance of plotly.graph_objs.Figure with predefined subplots + configured in 'layout'. + + Parameters + ---------- + rows: int (default 1) + Number of rows in the subplot grid. Must be greater than zero. + + cols: int (default 1) + Number of columns in the subplot grid. Must be greater than zero. + + shared_xaxes: boolean or str (default False) + Assign shared (linked) x-axes for 2D cartesian subplots + + - True or 'columns': Share axes among subplots in the same column + - 'rows': Share axes among subplots in the same row + - 'all': Share axes across all subplots in the grid. + + shared_yaxes: boolean or str (default False) + Assign shared (linked) y-axes for 2D cartesian subplots + + - 'columns': Share axes among subplots in the same column + - True or 'rows': Share axes among subplots in the same row + - 'all': Share axes across all subplots in the grid. + + start_cell: 'bottom-left' or 'top-left' (default 'top-left') + Choose the starting cell in the subplot grid used to set the + domains_grid of the subplots. + + - 'top-left': Subplots are numbered with (1, 1) in the top + left corner + - 'bottom-left': Subplots are numbererd with (1, 1) in the bottom + left corner + + print_grid: boolean (default True): + If True, prints a string representation of the plot grid. Grid may + also be printed using the `Figure.print_grid()` method on the + resulting figure. + + horizontal_spacing: float (default 0.2 / cols) + Space between subplot columns in normalized plot coordinates. Must be + a float between 0 and 1. + + Applies to all columns (use 'specs' subplot-dependents spacing) + + vertical_spacing: float (default 0.3 / rows) + Space between subplot rows in normalized plot coordinates. Must be + a float between 0 and 1. + + Applies to all rows (use 'specs' subplot-dependents spacing) + + subplot_titles: list of str or None (default None) + Title of each subplot as a list in row-major ordering. + + Empty strings ("") can be included in the list if no subplot title + is desired in that space so that the titles are properly indexed. + + specs: list of lists of dict or None (default None) + Per subplot specifications of subplot type, row/column spanning, and + spacing. + + ex1: specs=[[{}, {}], [{'colspan': 2}, None]] + + ex2: specs=[[{'rowspan': 2}, {}], [None, {}]] + + - Indices of the outer list correspond to subplot grid rows + starting from the top, if start_cell='top-left', + or bottom, if start_cell='bottom-left'. + The number of rows in 'specs' must be equal to 'rows'. + + - Indices of the inner lists correspond to subplot grid columns + starting from the left. The number of columns in 'specs' + must be equal to 'cols'. + + - Each item in the 'specs' list corresponds to one subplot + in a subplot grid. (N.B. The subplot grid has exactly 'rows' + times 'cols' cells.) + + - Use None for a blank a subplot cell (or to move past a col/row span). + + - Note that specs[0][0] has the specs of the 'start_cell' subplot. + + - Each item in 'specs' is a dictionary. + The available keys are: + * type (string, default 'xy'): Subplot type. One of + - 'xy': 2D Cartesian subplot type for scatter, bar, etc. + - 'scene': 3D Cartesian subplot for scatter3d, cone, etc. + - 'polar': Polar subplot for scatterpolar, barpolar, etc. + - 'ternary': Ternary subplot for scatterternary + - 'mapbox': Mapbox subplot for scattermapbox + - 'domain': Subplot type for traces that are individually + positioned. pie, parcoords, parcats, etc. + - trace type: A trace type which will be used to determine + the appropriate subplot type for that trace + + * secondary_y (bool, default False): If True, create a secondary + y-axis positioned on the right side of the subplot. Only valid + if type='xy'. + * colspan (int, default 1): number of subplot columns + for this subplot to span. + * rowspan (int, default 1): number of subplot rows + for this subplot to span. + * l (float, default 0.0): padding left of cell + * r (float, default 0.0): padding right of cell + * t (float, default 0.0): padding right of cell + * b (float, default 0.0): padding bottom of cell + + - Note: Use 'horizontal_spacing' and 'vertical_spacing' to adjust + the spacing in between the subplots. + + insets: list of dict or None (default None): + Inset specifications. Insets are subplots that overlay grid subplots + + - Each item in 'insets' is a dictionary. + The available keys are: + + * cell (tuple, default=(1,1)): (row, col) index of the + subplot cell to overlay inset axes onto. + * type (string, default 'xy'): Subplot type + * l (float, default=0.0): padding left of inset + in fraction of cell width + * w (float or 'to_end', default='to_end') inset width + in fraction of cell width ('to_end': to cell right edge) + * b (float, default=0.0): padding bottom of inset + in fraction of cell height + * h (float or 'to_end', default='to_end') inset height + in fraction of cell height ('to_end': to cell top edge) + + column_widths: list of numbers or None (default None) + list of length `cols` of the relative widths of each column of suplots. + Values are normalized internally and used to distribute overall width + of the figure (excluding padding) among the columns. + + For backward compatibility, may also be specified using the + `column_width` keyword argument. + + row_heights: list of numbers or None (default None) + list of length `rows` of the relative heights of each row of subplots. + If start_cell='top-left' then row heights are applied top to bottom. + Otherwise, if start_cell='bottom-left' then row heights are applied + bottom to top. + + For backward compatibility, may also be specified using the + `row_width` kwarg. If specified as `row_width`, then the width values + are applied from bottom to top regardless of the value of start_cell. + This matches the legacy behavior of the `row_width` argument. + + column_titles: list of str or None (default None) + list of length `cols` of titles to place above the top subplot in + each column. + + row_titles: list of str or None (default None) + list of length `rows` of titles to place on the right side of each + row of subplots. If start_cell='top-left' then row titles are + applied top to bottom. Otherwise, if start_cell='bottom-left' then + row titles are applied bottom to top. + + x_title: str or None (default None) + Title to place below the bottom row of subplots, + centered horizontally + + y_title: str or None (default None) + Title to place to the left of the left column of subplots, + centered vertically + + figure: go.Figure or None (default None) + If None, a new go.Figure instance will be created and its axes will be + populated with those corresponding to the requested subplot geometry and + this new figure will be returned. + If a go.Figure instance, the axes will be added to the + layout of this figure and this figure will be returned. If the figure + already contains axes, they will be overwritten. + + Examples + -------- + + Example 1: + + >>> # Stack two subplots vertically, and add a scatter trace to each + >>> from plotly.subplots import make_subplots + >>> import plotly.graph_objects as go + >>> fig = make_subplots(rows=2) + + This is the format of your plot grid: + [ (1,1) xaxis1,yaxis1 ] + [ (2,1) xaxis2,yaxis2 ] + + >>> fig.add_scatter(y=[2, 1, 3], row=1, col=1) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_scatter(y=[1, 3, 2], row=2, col=1) # doctest: +ELLIPSIS + Figure(...) + + or see Figure.append_trace + + Example 2: + + >>> # Stack a scatter plot + >>> fig = make_subplots(rows=2, shared_xaxes=True) + + This is the format of your plot grid: + [ (1,1) xaxis1,yaxis1 ] + [ (2,1) xaxis2,yaxis2 ] + + >>> fig.add_scatter(y=[2, 1, 3], row=1, col=1) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_scatter(y=[1, 3, 2], row=2, col=1) # doctest: +ELLIPSIS + Figure(...) + + Example 3: + + >>> # irregular subplot layout (more examples below under 'specs') + >>> fig = make_subplots(rows=2, cols=2, + ... specs=[[{}, {}], + ... [{'colspan': 2}, None]]) + + This is the format of your plot grid: + [ (1,1) xaxis1,yaxis1 ] [ (1,2) xaxis2,yaxis2 ] + [ (2,1) xaxis3,yaxis3 - ] + + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=1, col=1) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=1, col=2) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=2, col=1) # doctest: +ELLIPSIS + Figure(...) + + Example 4: + + >>> # insets + >>> fig = make_subplots(insets=[{'cell': (1,1), 'l': 0.7, 'b': 0.3}]) + + This is the format of your plot grid: + [ (1,1) xaxis1,yaxis1 ] + + With insets: + [ xaxis2,yaxis2 ] over [ (1,1) xaxis1,yaxis1 ] + + >>> fig.add_scatter(x=[1,2,3], y=[2,1,1]) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_scatter(x=[1,2,3], y=[2,1,2], xaxis='x2', yaxis='y2') # doctest: +ELLIPSIS + Figure(...) + + Example 5: + + >>> # include subplot titles + >>> fig = make_subplots(rows=2, subplot_titles=('Plot 1','Plot 2')) + + This is the format of your plot grid: + [ (1,1) x1,y1 ] + [ (2,1) x2,y2 ] + + >>> fig.add_scatter(x=[1,2,3], y=[2,1,2], row=1, col=1) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_bar(x=[1,2,3], y=[2,1,2], row=2, col=1) # doctest: +ELLIPSIS + Figure(...) + + Example 6: + + Subplot with mixed subplot types + + >>> fig = make_subplots(rows=2, cols=2, + ... specs=[[{'type': 'xy'}, {'type': 'polar'}], + ... [{'type': 'scene'}, {'type': 'ternary'}]]) + + >>> fig.add_traces( + ... [go.Scatter(y=[2, 3, 1]), + ... go.Scatterpolar(r=[1, 3, 2], theta=[0, 45, 90]), + ... go.Scatter3d(x=[1, 2, 1], y=[2, 3, 1], z=[0, 3, 5]), + ... go.Scatterternary(a=[0.1, 0.2, 0.1], + ... b=[0.2, 0.3, 0.1], + ... c=[0.7, 0.5, 0.8])], + ... rows=[1, 1, 2, 2], + ... cols=[1, 2, 1, 2]) # doctest: +ELLIPSIS + Figure(...) + """ + + import plotly.graph_objs as go + + # Handle backward compatibility + # ----------------------------- + use_legacy_row_heights_order = "row_width" in kwargs + row_heights = kwargs.pop("row_width", row_heights) + column_widths = kwargs.pop("column_width", column_widths) + + if kwargs: + raise TypeError( + "make_subplots() got unexpected keyword argument(s): {}".format( + list(kwargs) + ) + ) + + # Validate coerce inputs + # ---------------------- + # ### rows ### + if not isinstance(rows, int) or rows <= 0: + raise ValueError( + """ +The 'rows' argument to make_suplots must be an int greater than 0. + Received value of type {typ}: {val}""".format( + typ=type(rows), val=repr(rows) + ) + ) + + # ### cols ### + if not isinstance(cols, int) or cols <= 0: + raise ValueError( + """ +The 'cols' argument to make_suplots must be an int greater than 0. + Received value of type {typ}: {val}""".format( + typ=type(cols), val=repr(cols) + ) + ) + + # ### start_cell ### + if start_cell == "bottom-left": + col_dir = 1 + row_dir = 1 + elif start_cell == "top-left": + col_dir = 1 + row_dir = -1 + else: + raise ValueError( + """ +The 'start_cell` argument to make_subplots must be one of \ +['bottom-left', 'top-left'] + Received value of type {typ}: {val}""".format( + typ=type(start_cell), val=repr(start_cell) + ) + ) + + # ### Helper to validate coerce elements of lists of dictionaries ### + def _check_keys_and_fill(name, arg, defaults): + def _checks(item, defaults): + if item is None: + return + if not isinstance(item, dict): + raise ValueError( + """ +Elements of the '{name}' argument to make_suplots must be dictionaries \ +or None. + Received value of type {typ}: {val}""".format( + name=name, typ=type(item), val=repr(item) + ) + ) + + for k in item: + if k not in defaults: + raise ValueError( + """ +Invalid key specified in an element of the '{name}' argument to \ +make_subplots: {k} + Valid keys include: {valid_keys}""".format( + k=repr(k), name=name, valid_keys=repr(list(defaults)) + ) + ) + for k, v in defaults.items(): + item.setdefault(k, v) + + for arg_i in arg: + if isinstance(arg_i, (list, tuple)): + # 2D list + for arg_ii in arg_i: + _checks(arg_ii, defaults) + elif isinstance(arg_i, dict): + # 1D list + _checks(arg_i, defaults) + + # ### specs ### + if specs is None: + specs = [[{} for c in range(cols)] for r in range(rows)] + elif not ( + isinstance(specs, (list, tuple)) + and specs + and all(isinstance(row, (list, tuple)) for row in specs) + and len(specs) == rows + and all(len(row) == cols for row in specs) + and all(all(v is None or isinstance(v, dict) for v in row) for row in specs) + ): + raise ValueError( + """ +The 'specs' argument to make_subplots must be a 2D list of dictionaries with \ +dimensions ({rows} x {cols}). + Received value of type {typ}: {val}""".format( + rows=rows, cols=cols, typ=type(specs), val=repr(specs) + ) + ) + + for row in specs: + for spec in row: + # For backward compatibility, + # convert is_3d flag to type='scene' kwarg + if spec and spec.pop("is_3d", None): + spec["type"] = "scene" + + spec_defaults = dict( + type="xy", secondary_y=False, colspan=1, rowspan=1, l=0.0, r=0.0, b=0.0, t=0.0 + ) + _check_keys_and_fill("specs", specs, spec_defaults) + + # Validate secondary_y + has_secondary_y = False + for row in specs: + for spec in row: + if spec is not None: + has_secondary_y = has_secondary_y or spec["secondary_y"] + if spec and spec["type"] != "xy" and spec["secondary_y"]: + raise ValueError( + """ +The 'secondary_y' spec property is not supported for subplot of type '{s_typ}' + 'secondary_y' is only supported for subplots of type 'xy' +""".format( + s_typ=spec["type"] + ) + ) + + # ### insets ### + if insets is None or insets is False: + insets = [] + elif not ( + isinstance(insets, (list, tuple)) and all(isinstance(v, dict) for v in insets) + ): + raise ValueError( + """ +The 'insets' argument to make_suplots must be a list of dictionaries. + Received value of type {typ}: {val}""".format( + typ=type(insets), val=repr(insets) + ) + ) + + if insets: + for inset in insets: + if inset and inset.pop("is_3d", None): + inset["type"] = "scene" + + inset_defaults = dict( + cell=(1, 1), type="xy", l=0.0, w="to_end", b=0.0, h="to_end" + ) + _check_keys_and_fill("insets", insets, inset_defaults) + + # ### shared_xaxes / shared_yaxes + valid_shared_vals = [None, True, False, "rows", "columns", "all"] + shared_err_msg = """ +The {arg} argument to make_subplots must be one of: {valid_vals} + Received value of type {typ}: {val}""" + + if shared_xaxes not in valid_shared_vals: + val = shared_xaxes + raise ValueError( + shared_err_msg.format( + arg="shared_xaxes", + valid_vals=valid_shared_vals, + typ=type(val), + val=repr(val), + ) + ) + if shared_yaxes not in valid_shared_vals: + val = shared_yaxes + raise ValueError( + shared_err_msg.format( + arg="shared_yaxes", + valid_vals=valid_shared_vals, + typ=type(val), + val=repr(val), + ) + ) + + def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname): + if spacing < 0 or spacing > 1: + raise ValueError("%s spacing must be between 0 and 1." % (name,)) + if dimsize <= 1: + return + max_spacing = 1.0 / float(dimsize - 1) + if spacing > max_spacing: + raise ValueError( + """{name} spacing cannot be greater than (1 / ({dimvarname} - 1)) = {max_spacing:f}. +The resulting plot would have {dimsize} {dimname} ({dimvarname}={dimsize}).""".format( + dimvarname=dimvarname, + name=name, + dimname=dimname, + max_spacing=max_spacing, + dimsize=dimsize, + ) + ) + + # ### horizontal_spacing ### + if horizontal_spacing is None: + if has_secondary_y: + horizontal_spacing = 0.4 / cols + else: + horizontal_spacing = 0.2 / cols + # check horizontal_spacing can be satisfied: + _check_hv_spacing(cols, horizontal_spacing, "Horizontal", "cols", "columns") + + # ### vertical_spacing ### + if vertical_spacing is None: + if subplot_titles is not None: + vertical_spacing = 0.5 / rows + else: + vertical_spacing = 0.3 / rows + # check vertical_spacing can be satisfied: + _check_hv_spacing(rows, vertical_spacing, "Vertical", "rows", "rows") + + # ### subplot titles ### + if subplot_titles is None: + subplot_titles = [""] * rows * cols + + # ### column_widths ### + if has_secondary_y: + # Add room for secondary y-axis title + max_width = 0.94 + elif row_titles: + # Add a little breathing room between row labels and legend + max_width = 0.98 + else: + max_width = 1.0 + + if column_widths is None: + widths = [(max_width - horizontal_spacing * (cols - 1)) / cols] * cols + elif isinstance(column_widths, (list, tuple)) and len(column_widths) == cols: + cum_sum = float(sum(column_widths)) + widths = [] + for w in column_widths: + widths.append((max_width - horizontal_spacing * (cols - 1)) * (w / cum_sum)) + else: + raise ValueError( + """ +The 'column_widths' argument to make_suplots must be a list of numbers of \ +length {cols}. + Received value of type {typ}: {val}""".format( + cols=cols, typ=type(column_widths), val=repr(column_widths) + ) + ) + + # ### row_heights ### + if row_heights is None: + heights = [(1.0 - vertical_spacing * (rows - 1)) / rows] * rows + elif isinstance(row_heights, (list, tuple)) and len(row_heights) == rows: + cum_sum = float(sum(row_heights)) + heights = [] + for h in row_heights: + heights.append((1.0 - vertical_spacing * (rows - 1)) * (h / cum_sum)) + if row_dir < 0 and not use_legacy_row_heights_order: + heights = list(reversed(heights)) + else: + raise ValueError( + """ +The 'row_heights' argument to make_suplots must be a list of numbers of \ +length {rows}. + Received value of type {typ}: {val}""".format( + rows=rows, typ=type(row_heights), val=repr(row_heights) + ) + ) + + # ### column_titles / row_titles ### + if column_titles and not isinstance(column_titles, (list, tuple)): + raise ValueError( + """ +The column_titles argument to make_subplots must be a list or tuple + Received value of type {typ}: {val}""".format( + typ=type(column_titles), val=repr(column_titles) + ) + ) + + if row_titles and not isinstance(row_titles, (list, tuple)): + raise ValueError( + """ +The row_titles argument to make_subplots must be a list or tuple + Received value of type {typ}: {val}""".format( + typ=type(row_titles), val=repr(row_titles) + ) + ) + + # Init layout + # ----------- + layout = go.Layout() + + # Build grid reference + # -------------------- + # Built row/col sequence using 'row_dir' and 'col_dir' + col_seq = range(cols)[::col_dir] + row_seq = range(rows)[::row_dir] + + # Build 2D array of tuples of the start x and start y coordinate of each + # subplot + grid = [ + [ + ( + (sum(widths[:c]) + c * horizontal_spacing), + (sum(heights[:r]) + r * vertical_spacing), + ) + for c in col_seq + ] + for r in row_seq + ] + + domains_grid = [[None for _ in range(cols)] for _ in range(rows)] + + # Initialize subplot reference lists for the grid and insets + grid_ref = [[None for c in range(cols)] for r in range(rows)] + + list_of_domains = [] # added for subplot titles + + max_subplot_ids = _get_initial_max_subplot_ids() + + # Loop through specs -- (r, c) <-> (row, col) + for r, spec_row in enumerate(specs): + for c, spec in enumerate(spec_row): + + if spec is None: # skip over None cells + continue + + # ### Compute x and y domain for subplot ### + c_spanned = c + spec["colspan"] - 1 # get spanned c + r_spanned = r + spec["rowspan"] - 1 # get spanned r + + # Throw exception if 'colspan' | 'rowspan' is too large for grid + if c_spanned >= cols: + raise Exception( + "Some 'colspan' value is too large for " "this subplot grid." + ) + if r_spanned >= rows: + raise Exception( + "Some 'rowspan' value is too large for " "this subplot grid." + ) + + # Get x domain using grid and colspan + x_s = grid[r][c][0] + spec["l"] + + x_e = grid[r][c_spanned][0] + widths[c_spanned] - spec["r"] + x_domain = [x_s, x_e] + + # Get y domain (dep. on row_dir) using grid & r_spanned + if row_dir > 0: + y_s = grid[r][c][1] + spec["b"] + y_e = grid[r_spanned][c][1] + heights[r_spanned] - spec["t"] + else: + y_s = grid[r_spanned][c][1] + spec["b"] + y_e = grid[r][c][1] + heights[-1 - r] - spec["t"] + y_domain = [y_s, y_e] + + list_of_domains.append(x_domain) + list_of_domains.append(y_domain) + + domains_grid[r][c] = [x_domain, y_domain] + + # ### construct subplot container ### + subplot_type = spec["type"] + secondary_y = spec["secondary_y"] + subplot_refs = _init_subplot( + layout, subplot_type, secondary_y, x_domain, y_domain, max_subplot_ids + ) + grid_ref[r][c] = subplot_refs + + _configure_shared_axes(layout, grid_ref, specs, "x", shared_xaxes, row_dir) + _configure_shared_axes(layout, grid_ref, specs, "y", shared_yaxes, row_dir) + + # Build inset reference + # --------------------- + # Loop through insets + insets_ref = [None for inset in range(len(insets))] if insets else None + if insets: + for i_inset, inset in enumerate(insets): + + r = inset["cell"][0] - 1 + c = inset["cell"][1] - 1 + + # Throw exception if r | c is out of range + if not (0 <= r < rows): + raise Exception( + "Some 'cell' row value is out of range. " + "Note: the starting cell is (1, 1)" + ) + if not (0 <= c < cols): + raise Exception( + "Some 'cell' col value is out of range. " + "Note: the starting cell is (1, 1)" + ) + + # Get inset x domain using grid + x_s = grid[r][c][0] + inset["l"] * widths[c] + if inset["w"] == "to_end": + x_e = grid[r][c][0] + widths[c] + else: + x_e = x_s + inset["w"] * widths[c] + x_domain = [x_s, x_e] + + # Get inset y domain using grid + y_s = grid[r][c][1] + inset["b"] * heights[-1 - r] + if inset["h"] == "to_end": + y_e = grid[r][c][1] + heights[-1 - r] + else: + y_e = y_s + inset["h"] * heights[-1 - r] + y_domain = [y_s, y_e] + + list_of_domains.append(x_domain) + list_of_domains.append(y_domain) + + subplot_type = inset["type"] + + subplot_refs = _init_subplot( + layout, subplot_type, False, x_domain, y_domain, max_subplot_ids + ) + + insets_ref[i_inset] = subplot_refs + + # Build grid_str + # This is the message printed when print_grid=True + grid_str = _build_grid_str(specs, grid_ref, insets, insets_ref, row_seq) + + # Add subplot titles + plot_title_annotations = _build_subplot_title_annotations( + subplot_titles, list_of_domains + ) + + layout["annotations"] = plot_title_annotations + + # Add column titles + if column_titles: + domains_list = [] + if row_dir > 0: + for c in range(cols): + domain_pair = domains_grid[-1][c] + if domain_pair: + domains_list.extend(domain_pair) + else: + for c in range(cols): + domain_pair = domains_grid[0][c] + if domain_pair: + domains_list.extend(domain_pair) + + # Add subplot titles + column_title_annotations = _build_subplot_title_annotations( + column_titles, domains_list + ) + + layout["annotations"] += tuple(column_title_annotations) + + if row_titles: + domains_list = [] + for r in range(rows): + domain_pair = domains_grid[r][-1] + if domain_pair: + domains_list.extend(domain_pair) + + # Add subplot titles + column_title_annotations = _build_subplot_title_annotations( + row_titles, domains_list, title_edge="right" + ) + + layout["annotations"] += tuple(column_title_annotations) + + if x_title: + domains_list = [(0, max_width), (0, 1)] + + # Add subplot titles + column_title_annotations = _build_subplot_title_annotations( + [x_title], domains_list, title_edge="bottom", offset=30 + ) + + layout["annotations"] += tuple(column_title_annotations) + + if y_title: + domains_list = [(0, 1), (0, 1)] + + # Add subplot titles + column_title_annotations = _build_subplot_title_annotations( + [y_title], domains_list, title_edge="left", offset=40 + ) + + layout["annotations"] += tuple(column_title_annotations) + + # Handle displaying grid information + if print_grid: + print(grid_str) + + # Build resulting figure + if figure is None: + figure = go.Figure() + figure.update_layout(layout) + + # Attach subplot grid info to the figure + figure.__dict__["_grid_ref"] = grid_ref + figure.__dict__["_grid_str"] = grid_str + + return figure + + +def _configure_shared_axes(layout, grid_ref, specs, x_or_y, shared, row_dir): + rows = len(grid_ref) + cols = len(grid_ref[0]) + + layout_key_ind = ["x", "y"].index(x_or_y) + + if row_dir < 0: + rows_iter = range(rows - 1, -1, -1) + else: + rows_iter = range(rows) + + def update_axis_matches(first_axis_id, subplot_ref, spec, remove_label): + if subplot_ref is None: + return first_axis_id + + if x_or_y == "x": + span = spec["colspan"] + else: + span = spec["rowspan"] + + if subplot_ref.subplot_type == "xy" and span == 1: + if first_axis_id is None: + first_axis_name = subplot_ref.layout_keys[layout_key_ind] + first_axis_id = first_axis_name.replace("axis", "") + else: + axis_name = subplot_ref.layout_keys[layout_key_ind] + axis_to_match = layout[axis_name] + axis_to_match.matches = first_axis_id + if remove_label: + axis_to_match.showticklabels = False + + return first_axis_id + + if shared == "columns" or (x_or_y == "x" and shared is True): + for c in range(cols): + first_axis_id = None + ok_to_remove_label = x_or_y == "x" + for r in rows_iter: + if not grid_ref[r][c]: + continue + subplot_ref = grid_ref[r][c][0] + spec = specs[r][c] + first_axis_id = update_axis_matches( + first_axis_id, subplot_ref, spec, ok_to_remove_label + ) + + elif shared == "rows" or (x_or_y == "y" and shared is True): + for r in rows_iter: + first_axis_id = None + ok_to_remove_label = x_or_y == "y" + for c in range(cols): + if not grid_ref[r][c]: + continue + subplot_ref = grid_ref[r][c][0] + spec = specs[r][c] + first_axis_id = update_axis_matches( + first_axis_id, subplot_ref, spec, ok_to_remove_label + ) + + elif shared == "all": + first_axis_id = None + for c in range(cols): + for ri, r in enumerate(rows_iter): + if not grid_ref[r][c]: + continue + subplot_ref = grid_ref[r][c][0] + spec = specs[r][c] + + if x_or_y == "y": + ok_to_remove_label = c > 0 + else: + ok_to_remove_label = ri > 0 if row_dir > 0 else r < rows - 1 + + first_axis_id = update_axis_matches( + first_axis_id, subplot_ref, spec, ok_to_remove_label + ) + + +def _init_subplot_xy(layout, secondary_y, x_domain, y_domain, max_subplot_ids=None): + if max_subplot_ids is None: + max_subplot_ids = _get_initial_max_subplot_ids() + + # Get axis label and anchor + x_cnt = max_subplot_ids["xaxis"] + 1 + y_cnt = max_subplot_ids["yaxis"] + 1 + + # Compute x/y labels (the values of trace.xaxis/trace.yaxis + x_label = "x{cnt}".format(cnt=x_cnt if x_cnt > 1 else "") + y_label = "y{cnt}".format(cnt=y_cnt if y_cnt > 1 else "") + + # Anchor x and y axes to each other + x_anchor, y_anchor = y_label, x_label + + # Build layout.xaxis/layout.yaxis containers + xaxis_name = "xaxis{cnt}".format(cnt=x_cnt if x_cnt > 1 else "") + yaxis_name = "yaxis{cnt}".format(cnt=y_cnt if y_cnt > 1 else "") + x_axis = {"domain": x_domain, "anchor": x_anchor} + y_axis = {"domain": y_domain, "anchor": y_anchor} + + layout[xaxis_name] = x_axis + layout[yaxis_name] = y_axis + + subplot_refs = [ + SubplotRef( + subplot_type="xy", + layout_keys=(xaxis_name, yaxis_name), + trace_kwargs={"xaxis": x_label, "yaxis": y_label}, + ) + ] + + if secondary_y: + y_cnt += 1 + secondary_yaxis_name = "yaxis{cnt}".format(cnt=y_cnt if y_cnt > 1 else "") + secondary_y_label = "y{cnt}".format(cnt=y_cnt) + + # Add secondary y-axis to subplot reference + subplot_refs.append( + SubplotRef( + subplot_type="xy", + layout_keys=(xaxis_name, secondary_yaxis_name), + trace_kwargs={"xaxis": x_label, "yaxis": secondary_y_label}, + ) + ) + + # Add secondary y axis to layout + secondary_y_axis = {"anchor": y_anchor, "overlaying": y_label, "side": "right"} + layout[secondary_yaxis_name] = secondary_y_axis + + # increment max_subplot_ids + max_subplot_ids["xaxis"] = x_cnt + max_subplot_ids["yaxis"] = y_cnt + + return tuple(subplot_refs) + + +def _init_subplot_single( + layout, subplot_type, x_domain, y_domain, max_subplot_ids=None +): + if max_subplot_ids is None: + max_subplot_ids = _get_initial_max_subplot_ids() + + # Add scene to layout + cnt = max_subplot_ids[subplot_type] + 1 + label = "{subplot_type}{cnt}".format( + subplot_type=subplot_type, cnt=cnt if cnt > 1 else "" + ) + scene = dict(domain={"x": x_domain, "y": y_domain}) + layout[label] = scene + + trace_key = ( + "subplot" if subplot_type in _subplot_prop_named_subplot else subplot_type + ) + + subplot_ref = SubplotRef( + subplot_type=subplot_type, layout_keys=(label,), trace_kwargs={trace_key: label} + ) + + # increment max_subplot_id + max_subplot_ids[subplot_type] = cnt + + return (subplot_ref,) + + +def _init_subplot_domain(x_domain, y_domain): + # No change to layout since domain traces are labeled individually + subplot_ref = SubplotRef( + subplot_type="domain", + layout_keys=(), + trace_kwargs={"domain": {"x": tuple(x_domain), "y": tuple(y_domain)}}, + ) + + return (subplot_ref,) + + +def _subplot_type_for_trace_type(trace_type): + from plotly.validators import DataValidator + + trace_validator = DataValidator() + if trace_type in trace_validator.class_strs_map: + # subplot_type is a trace name, find the subplot type for trace + trace = trace_validator.validate_coerce([{"type": trace_type}])[0] + if "domain" in trace: + return "domain" + elif "xaxis" in trace and "yaxis" in trace: + return "xy" + elif "geo" in trace: + return "geo" + elif "scene" in trace: + return "scene" + elif "subplot" in trace: + for t in _subplot_prop_named_subplot: + try: + trace.subplot = t + return t + except ValueError: + pass + + return None + + +def _validate_coerce_subplot_type(subplot_type): + + # Lowercase subplot_type + orig_subplot_type = subplot_type + subplot_type = subplot_type.lower() + + # Check if it's a named subplot type + if subplot_type in _subplot_types: + return subplot_type + + # Try to determine subplot type for trace + subplot_type = _subplot_type_for_trace_type(subplot_type) + + if subplot_type is None: + raise ValueError("Unsupported subplot type: {}".format(repr(orig_subplot_type))) + else: + return subplot_type + + +def _init_subplot( + layout, subplot_type, secondary_y, x_domain, y_domain, max_subplot_ids=None +): + # Normalize subplot type + subplot_type = _validate_coerce_subplot_type(subplot_type) + + if max_subplot_ids is None: + max_subplot_ids = _get_initial_max_subplot_ids() + + # Clamp domain elements between [0, 1]. + # This is only needed to combat numerical precision errors + # See GH1031 + x_domain = [max(0.0, x_domain[0]), min(1.0, x_domain[1])] + y_domain = [max(0.0, y_domain[0]), min(1.0, y_domain[1])] + + if subplot_type == "xy": + subplot_refs = _init_subplot_xy( + layout, secondary_y, x_domain, y_domain, max_subplot_ids + ) + elif subplot_type in _single_subplot_types: + subplot_refs = _init_subplot_single( + layout, subplot_type, x_domain, y_domain, max_subplot_ids + ) + elif subplot_type == "domain": + subplot_refs = _init_subplot_domain(x_domain, y_domain) + else: + raise ValueError("Unsupported subplot type: {}".format(repr(subplot_type))) + + return subplot_refs + + +def _get_cartesian_label(x_or_y, r, c, cnt): + # Default label (given strictly by cnt) + label = "{x_or_y}{cnt}".format(x_or_y=x_or_y, cnt=cnt) + return label + + +def _build_subplot_title_annotations( + subplot_titles, list_of_domains, title_edge="top", offset=0 +): + # If shared_axes is False (default) use list_of_domains + # This is used for insets and irregular layouts + # if not shared_xaxes and not shared_yaxes: + x_dom = list_of_domains[::2] + y_dom = list_of_domains[1::2] + subtitle_pos_x = [] + subtitle_pos_y = [] + + if title_edge == "top": + text_angle = 0 + xanchor = "center" + yanchor = "bottom" + + for x_domains in x_dom: + subtitle_pos_x.append(sum(x_domains) / 2.0) + for y_domains in y_dom: + subtitle_pos_y.append(y_domains[1]) + + yshift = offset + xshift = 0 + elif title_edge == "bottom": + text_angle = 0 + xanchor = "center" + yanchor = "top" + + for x_domains in x_dom: + subtitle_pos_x.append(sum(x_domains) / 2.0) + for y_domains in y_dom: + subtitle_pos_y.append(y_domains[0]) + + yshift = -offset + xshift = 0 + elif title_edge == "right": + text_angle = 90 + xanchor = "left" + yanchor = "middle" + + for x_domains in x_dom: + subtitle_pos_x.append(x_domains[1]) + for y_domains in y_dom: + subtitle_pos_y.append(sum(y_domains) / 2.0) + + yshift = 0 + xshift = offset + elif title_edge == "left": + text_angle = -90 + xanchor = "right" + yanchor = "middle" + + for x_domains in x_dom: + subtitle_pos_x.append(x_domains[0]) + for y_domains in y_dom: + subtitle_pos_y.append(sum(y_domains) / 2.0) + + yshift = 0 + xshift = -offset + else: + raise ValueError("Invalid annotation edge '{edge}'".format(edge=title_edge)) + + plot_titles = [] + for index in range(len(subplot_titles)): + if not subplot_titles[index] or index >= len(subtitle_pos_y): + pass + else: + annot = { + "y": subtitle_pos_y[index], + "xref": "paper", + "x": subtitle_pos_x[index], + "yref": "paper", + "text": subplot_titles[index], + "showarrow": False, + "font": dict(size=16), + "xanchor": xanchor, + "yanchor": yanchor, + } + + if xshift != 0: + annot["xshift"] = xshift + + if yshift != 0: + annot["yshift"] = yshift + + if text_angle != 0: + annot["textangle"] = text_angle + + plot_titles.append(annot) + return plot_titles + + +def _build_grid_str(specs, grid_ref, insets, insets_ref, row_seq): + + # Compute rows and columns + rows = len(specs) + cols = len(specs[0]) + + # Initialize constants + sp = " " # space between cell + s_str = "[ " # cell start string + e_str = " ]" # cell end string + + s_top = "⎡ " # U+23A1 + s_mid = "⎢ " # U+23A2 + s_bot = "⎣ " # U+23A3 + + e_top = " ⎤" # U+23A4 + e_mid = " ⎟" # U+239F + e_bot = " ⎦" # U+23A6 + + colspan_str = " -" # colspan string + rowspan_str = " :" # rowspan string + empty_str = " (empty) " # empty cell string + # Init grid_str with intro message + grid_str = "This is the format of your plot grid:\n" + + # Init tmp list of lists of strings (sorta like 'grid_ref' but w/ strings) + _tmp = [["" for c in range(cols)] for r in range(rows)] + + # Define cell string as function of (r, c) and grid_ref + def _get_cell_str(r, c, subplot_refs): + layout_keys = sorted({k for ref in subplot_refs for k in ref.layout_keys}) + + ref_str = ",".join(layout_keys) + + # Replace yaxis2 -> y2 + ref_str = ref_str.replace("axis", "") + return "({r},{c}) {ref}".format(r=r + 1, c=c + 1, ref=ref_str) + + # Find max len of _cell_str, add define a padding function + cell_len = ( + max( + [ + len(_get_cell_str(r, c, ref)) + for r, row_ref in enumerate(grid_ref) + for c, ref in enumerate(row_ref) + if ref + ] + ) + + len(s_str) + + len(e_str) + ) + + def _pad(s, cell_len=cell_len): + return " " * (cell_len - len(s)) + + # Loop through specs, fill in _tmp + for r, spec_row in enumerate(specs): + for c, spec in enumerate(spec_row): + + ref = grid_ref[r][c] + if ref is None: + if _tmp[r][c] == "": + _tmp[r][c] = empty_str + _pad(empty_str) + continue + + if spec["rowspan"] > 1: + cell_str = s_top + _get_cell_str(r, c, ref) + else: + cell_str = s_str + _get_cell_str(r, c, ref) + + if spec["colspan"] > 1: + for cc in range(1, spec["colspan"] - 1): + _tmp[r][c + cc] = colspan_str + _pad(colspan_str) + + if spec["rowspan"] > 1: + _tmp[r][c + spec["colspan"] - 1] = ( + colspan_str + _pad(colspan_str + e_str) + ) + e_top + else: + _tmp[r][c + spec["colspan"] - 1] = ( + colspan_str + _pad(colspan_str + e_str) + ) + e_str + else: + padding = " " * (cell_len - len(cell_str) - 2) + if spec["rowspan"] > 1: + cell_str += padding + e_top + else: + cell_str += padding + e_str + + if spec["rowspan"] > 1: + for cc in range(spec["colspan"]): + for rr in range(1, spec["rowspan"]): + row_str = rowspan_str + _pad(rowspan_str) + if cc == 0: + if rr < spec["rowspan"] - 1: + row_str = s_mid + row_str[2:] + else: + row_str = s_bot + row_str[2:] + + if cc == spec["colspan"] - 1: + if rr < spec["rowspan"] - 1: + row_str = row_str[:-2] + e_mid + else: + row_str = row_str[:-2] + e_bot + + _tmp[r + rr][c + cc] = row_str + + _tmp[r][c] = cell_str + _pad(cell_str) + + # Append grid_str using data from _tmp in the correct order + for r in row_seq[::-1]: + grid_str += sp.join(_tmp[r]) + "\n" + + # Append grid_str to include insets info + if insets: + grid_str += "\nWith insets:\n" + for i_inset, inset in enumerate(insets): + r = inset["cell"][0] - 1 + c = inset["cell"][1] - 1 + ref = grid_ref[r][c] + + subplot_labels_str = ",".join(insets_ref[i_inset][0].layout_keys) + + # Replace, e.g., yaxis2 -> y2 + subplot_labels_str = subplot_labels_str.replace("axis", "") + + grid_str += ( + s_str + + subplot_labels_str + + e_str + + " over " + + s_str + + _get_cell_str(r, c, ref) + + e_str + + "\n" + ) + return grid_str + + +def _set_trace_grid_reference(trace, layout, grid_ref, row, col, secondary_y=False): + + if row <= 0: + raise Exception( + "Row value is out of range. " "Note: the starting cell is (1, 1)" + ) + if col <= 0: + raise Exception( + "Col value is out of range. " "Note: the starting cell is (1, 1)" + ) + try: + subplot_refs = grid_ref[row - 1][col - 1] + except IndexError: + raise Exception( + "The (row, col) pair sent is out of " + "range. Use Figure.print_grid to view the " + "subplot grid. " + ) + + if not subplot_refs: + raise ValueError( + """ +No subplot specified at grid position ({row}, {col})""".format( + row=row, col=col + ) + ) + + if secondary_y: + if len(subplot_refs) < 2: + raise ValueError( + """ +Subplot with type '{subplot_type}' at grid position ({row}, {col}) was not +created with the secondary_y spec property set to True. See the docstring +for the specs argument to plotly.subplots.make_subplots for more information. +""" + ) + trace_kwargs = subplot_refs[1].trace_kwargs + else: + trace_kwargs = subplot_refs[0].trace_kwargs + + for k in trace_kwargs: + if k not in trace: + raise ValueError( + """\ +Trace type '{typ}' is not compatible with subplot type '{subplot_type}' +at grid position ({row}, {col}) + +See the docstring for the specs argument to plotly.subplots.make_subplots +for more information on subplot types""".format( + typ=trace.type, + subplot_type=subplot_refs[0].subplot_type, + row=row, + col=col, + ) + ) + + # Update trace reference + trace.update(trace_kwargs) + + +def _get_grid_subplot(fig, row, col, secondary_y=False): + try: + grid_ref = fig._grid_ref + except AttributeError: + raise Exception( + "In order to reference traces by row and column, " + "you must first use " + "plotly.tools.make_subplots " + "to create the figure with a subplot grid." + ) + + rows = len(grid_ref) + cols = len(grid_ref[0]) + + # Validate row + if not isinstance(row, int) or row < 1 or rows < row: + raise ValueError( + """ +The row argument to get_subplot must be an integer where 1 <= row <= {rows} + Received value of type {typ}: {val}""".format( + rows=rows, typ=type(row), val=repr(row) + ) + ) + + if not isinstance(col, int) or col < 1 or cols < col: + raise ValueError( + """ +The col argument to get_subplot must be an integer where 1 <= row <= {cols} + Received value of type {typ}: {val}""".format( + cols=cols, typ=type(col), val=repr(col) + ) + ) + + subplot_refs = fig._grid_ref[row - 1][col - 1] + if not subplot_refs: + return None + + if secondary_y: + if len(subplot_refs) > 1: + layout_keys = subplot_refs[1].layout_keys + else: + return None + else: + layout_keys = subplot_refs[0].layout_keys + + if len(layout_keys) == 0: + return SubplotDomain(**subplot_refs[0].trace_kwargs["domain"]) + elif len(layout_keys) == 1: + return fig.layout[layout_keys[0]] + elif len(layout_keys) == 2: + return SubplotXY( + xaxis=fig.layout[layout_keys[0]], yaxis=fig.layout[layout_keys[1]] + ) + else: + raise ValueError( + """ +Unexpected subplot type with layout_keys of {}""".format( + layout_keys + ) + ) + + +def _get_subplot_ref_for_trace(trace): + + if "domain" in trace: + return SubplotRef( + subplot_type="domain", + layout_keys=(), + trace_kwargs={"domain": {"x": trace.domain.x, "y": trace.domain.y}}, + ) + + elif "xaxis" in trace and "yaxis" in trace: + xaxis_name = "xaxis" + trace.xaxis[1:] if trace.xaxis else "xaxis" + yaxis_name = "yaxis" + trace.yaxis[1:] if trace.yaxis else "yaxis" + + return SubplotRef( + subplot_type="xy", + layout_keys=(xaxis_name, yaxis_name), + trace_kwargs={"xaxis": trace.xaxis, "yaxis": trace.yaxis}, + ) + elif "geo" in trace: + return SubplotRef( + subplot_type="geo", + layout_keys=(trace.geo,), + trace_kwargs={"geo": trace.geo}, + ) + elif "scene" in trace: + return SubplotRef( + subplot_type="scene", + layout_keys=(trace.scene,), + trace_kwargs={"scene": trace.scene}, + ) + elif "subplot" in trace: + for t in _subplot_prop_named_subplot: + try: + validator = trace._get_prop_validator("subplot") + validator.validate_coerce(t) + return SubplotRef( + subplot_type=t, + layout_keys=(trace.subplot,), + trace_kwargs={"subplot": trace.subplot}, + ) + except ValueError: + pass + + return None diff --git a/packages/python/plotly/plotly/basedatatypes.py b/packages/python/plotly/plotly/basedatatypes.py index 66cfb5520ee..3bde4f5738a 100644 --- a/packages/python/plotly/plotly/basedatatypes.py +++ b/packages/python/plotly/plotly/basedatatypes.py @@ -22,7 +22,7 @@ from .optional_imports import get_module from . import shapeannotation -from . import subplots +from . import _subplots # Create Undefined sentinel value # - Setting a property to None removes any existing value @@ -4096,7 +4096,15 @@ def add_vline( add_vline.__doc__ = _axis_spanning_shapes_docstr("vline") - def add_hline(self, y, row="all", col="all", exclude_empty_subplots=True, **kwargs): + def add_hline( + self, + y, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ): self._process_multiple_axis_spanning_shapes( dict( type="line", @@ -4109,6 +4117,7 @@ def add_hline(self, y, row="all", col="all", exclude_empty_subplots=True, **kwar col, "hline", exclude_empty_subplots=exclude_empty_subplots, + annotation=annotation, **kwargs, ) return self @@ -4116,7 +4125,14 @@ def add_hline(self, y, row="all", col="all", exclude_empty_subplots=True, **kwar add_hline.__doc__ = _axis_spanning_shapes_docstr("hline") def add_vrect( - self, x0, x1, row="all", col="all", exclude_empty_subplots=True, **kwargs + self, + x0, + x1, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, ): self._process_multiple_axis_spanning_shapes( dict(type="rect", x0=x0, x1=x1, y0=0, y1=1), @@ -4124,6 +4140,7 @@ def add_vrect( col, "vrect", exclude_empty_subplots=exclude_empty_subplots, + annotation=annotation, **kwargs, ) return self @@ -4131,7 +4148,14 @@ def add_vrect( add_vrect.__doc__ = _axis_spanning_shapes_docstr("vrect") def add_hrect( - self, y0, y1, row="all", col="all", exclude_empty_subplots=True, **kwargs + self, + y0, + y1, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, ): self._process_multiple_axis_spanning_shapes( dict(type="rect", x0=0, x1=1, y0=y0, y1=y1), @@ -4139,6 +4163,7 @@ def add_hrect( col, "hrect", exclude_empty_subplots=exclude_empty_subplots, + annotation=annotation, **kwargs, ) return self @@ -4215,7 +4240,7 @@ def set_subplots(self, rows=None, cols=None, **make_subplots_args): make_subplots_args["cols"] = cols if self._has_subplots(): raise ValueError("This figure already has subplots.") - return subplots.make_subplots(figure=self, **make_subplots_args) + return _subplots.make_subplots(figure=self, **make_subplots_args) class BasePlotlyType(object): diff --git a/packages/python/plotly/plotly/express/_chart_types.py b/packages/python/plotly/plotly/express/_chart_types.py index 484cfd126ae..9707bd08dc1 100644 --- a/packages/python/plotly/plotly/express/_chart_types.py +++ b/packages/python/plotly/plotly/express/_chart_types.py @@ -58,7 +58,7 @@ def scatter( template=None, width=None, height=None, -): +) -> go.Figure: """ In a scatter plot, each row of `data_frame` is represented by a symbol mark in 2D space. @@ -108,7 +108,7 @@ def density_contour( template=None, width=None, height=None, -): +) -> go.Figure: """ In a density contour plot, rows of `data_frame` are grouped together into contour marks to visualize the 2D distribution of an aggregate @@ -178,7 +178,7 @@ def density_heatmap( template=None, width=None, height=None, -): +) -> go.Figure: """ In a density heatmap, rows of `data_frame` are grouped together into colored rectangular tiles to visualize the 2D distribution of an @@ -256,7 +256,7 @@ def line( template=None, width=None, height=None, -): +) -> go.Figure: """ In a 2D line plot, each row of `data_frame` is represented as vertex of a polyline mark in 2D space. @@ -306,7 +306,7 @@ def area( template=None, width=None, height=None, -): +) -> go.Figure: """ In a stacked area plot, each row of `data_frame` is represented as vertex of a polyline mark in 2D space. The area between successive @@ -365,7 +365,7 @@ def bar( template=None, width=None, height=None, -): +) -> go.Figure: """ In a bar plot, each row of `data_frame` is represented as a rectangular mark. @@ -412,7 +412,7 @@ def timeline( template=None, width=None, height=None, -): +) -> go.Figure: """ In a timeline plot, each row of `data_frame` is represented as a rectangular mark on an x axis of type `date`, spanning from `x_start` to `x_end`. @@ -467,7 +467,7 @@ def histogram( template=None, width=None, height=None, -): +) -> go.Figure: """ In a histogram, rows of `data_frame` are grouped together into a rectangular mark to visualize the 1D distribution of an aggregate @@ -541,7 +541,7 @@ def ecdf( template=None, width=None, height=None, -): +) -> go.Figure: """ In a Empirical Cumulative Distribution Function (ECDF) plot, rows of `data_frame` are sorted by the value `x` (or `y` if `orientation` is `'h'`) and their cumulative @@ -597,7 +597,7 @@ def violin( template=None, width=None, height=None, -): +) -> go.Figure: """ In a violin plot, rows of `data_frame` are grouped together into a curved mark to visualize their distribution. @@ -650,7 +650,7 @@ def box( template=None, width=None, height=None, -): +) -> go.Figure: """ In a box plot, rows of `data_frame` are grouped together into a box-and-whisker mark to visualize their distribution. @@ -700,7 +700,7 @@ def strip( template=None, width=None, height=None, -): +) -> go.Figure: """ In a strip plot each row of `data_frame` is represented as a jittered mark within categories. @@ -765,7 +765,7 @@ def scatter_3d( template=None, width=None, height=None, -): +) -> go.Figure: """ In a 3D scatter plot, each row of `data_frame` is represented by a symbol mark in 3D space. @@ -816,7 +816,7 @@ def line_3d( template=None, width=None, height=None, -): +) -> go.Figure: """ In a 3D line plot, each row of `data_frame` is represented as vertex of a polyline mark in 3D space. @@ -856,7 +856,7 @@ def scatter_ternary( template=None, width=None, height=None, -): +) -> go.Figure: """ In a ternary scatter plot, each row of `data_frame` is represented by a symbol mark in ternary coordinates. @@ -896,7 +896,7 @@ def line_ternary( template=None, width=None, height=None, -): +) -> go.Figure: """ In a ternary line plot, each row of `data_frame` is represented as vertex of a polyline mark in ternary coordinates. @@ -941,7 +941,7 @@ def scatter_polar( template=None, width=None, height=None, -): +) -> go.Figure: """ In a polar scatter plot, each row of `data_frame` is represented by a symbol mark in polar coordinates. @@ -987,7 +987,7 @@ def line_polar( template=None, width=None, height=None, -): +) -> go.Figure: """ In a polar line plot, each row of `data_frame` is represented as vertex of a polyline mark in polar coordinates. @@ -1030,7 +1030,7 @@ def bar_polar( template=None, width=None, height=None, -): +) -> go.Figure: """ In a polar bar plot, each row of `data_frame` is represented as a wedge mark in polar coordinates. @@ -1080,7 +1080,7 @@ def choropleth( template=None, width=None, height=None, -): +) -> go.Figure: """ In a choropleth map, each row of `data_frame` is represented by a colored region mark on a map. @@ -1137,7 +1137,7 @@ def scatter_geo( template=None, width=None, height=None, -): +) -> go.Figure: """ In a geographic scatter plot, each row of `data_frame` is represented by a symbol mark on a map. @@ -1193,7 +1193,7 @@ def line_geo( template=None, width=None, height=None, -): +) -> go.Figure: """ In a geographic line plot, each row of `data_frame` is represented as vertex of a polyline mark on a map. @@ -1236,7 +1236,7 @@ def scatter_mapbox( template=None, width=None, height=None, -): +) -> go.Figure: """ In a Mapbox scatter plot, each row of `data_frame` is represented by a symbol mark on a Mapbox map. @@ -1273,7 +1273,7 @@ def choropleth_mapbox( template=None, width=None, height=None, -): +) -> go.Figure: """ In a Mapbox choropleth map, each row of `data_frame` is represented by a colored region on a Mapbox map. @@ -1308,7 +1308,7 @@ def density_mapbox( template=None, width=None, height=None, -): +) -> go.Figure: """ In a Mapbox density map, each row of `data_frame` contributes to the intensity of the color of the region around the corresponding point on the map @@ -1344,7 +1344,7 @@ def line_mapbox( template=None, width=None, height=None, -): +) -> go.Figure: """ In a Mapbox line plot, each row of `data_frame` is represented as vertex of a polyline mark on a Mapbox map. @@ -1379,7 +1379,7 @@ def scatter_matrix( template=None, width=None, height=None, -): +) -> go.Figure: """ In a scatter plot matrix (or SPLOM), each row of `data_frame` is represented by a multiple symbol marks, one in each cell of a grid of @@ -1406,7 +1406,7 @@ def parallel_coordinates( template=None, width=None, height=None, -): +) -> go.Figure: """ In a parallel coordinates plot, each row of `data_frame` is represented by a polyline mark which traverses a set of parallel axes, one for each @@ -1431,7 +1431,7 @@ def parallel_categories( width=None, height=None, dimensions_max_cardinality=50, -): +) -> go.Figure: """ In a parallel categories (or parallel sets) plot, each row of `data_frame` is grouped with other rows that share the same values of @@ -1461,7 +1461,7 @@ def pie( height=None, opacity=None, hole=None, -): +) -> go.Figure: """ In a pie plot, each row of `data_frame` is represented as a sector of a pie. @@ -1513,7 +1513,7 @@ def sunburst( height=None, branchvalues=None, maxdepth=None, -): +) -> go.Figure: """ A sunburst plot represents hierarchial data as sectors laid out over several levels of concentric rings. @@ -1563,7 +1563,7 @@ def treemap( height=None, branchvalues=None, maxdepth=None, -): +) -> go.Figure: """ A treemap plot represents hierarchial data as nested rectangular sectors. @@ -1613,7 +1613,7 @@ def icicle( height=None, branchvalues=None, maxdepth=None, -): +) -> go.Figure: """ An icicle plot represents hierarchial data with adjoined rectangular sectors that all cascade from root down to leaf in one direction. @@ -1670,7 +1670,7 @@ def funnel( template=None, width=None, height=None, -): +) -> go.Figure: """ In a funnel plot, each row of `data_frame` is represented as a rectangular sector of a funnel. @@ -1697,7 +1697,7 @@ def funnel_area( width=None, height=None, opacity=None, -): +) -> go.Figure: """ In a funnel area plot, each row of `data_frame` is represented as a trapezoidal sector of a funnel. diff --git a/packages/python/plotly/plotly/express/_core.py b/packages/python/plotly/plotly/express/_core.py index 2c99f3b4e93..f4aa02cdc21 100644 --- a/packages/python/plotly/plotly/express/_core.py +++ b/packages/python/plotly/plotly/express/_core.py @@ -10,7 +10,7 @@ import pandas as pd import numpy as np -from plotly.subplots import ( +from plotly._subplots import ( make_subplots, _set_trace_grid_reference, _subplot_type_for_trace_type, diff --git a/packages/python/plotly/plotly/express/_imshow.py b/packages/python/plotly/plotly/express/_imshow.py index 6b10b4fcc78..6478cc6e274 100644 --- a/packages/python/plotly/plotly/express/_imshow.py +++ b/packages/python/plotly/plotly/express/_imshow.py @@ -80,7 +80,7 @@ def imshow( binary_compression_level=4, binary_format="png", text_auto=False, -): +) -> go.Figure: """ Display an image, i.e. data on a 2D regular raster. diff --git a/packages/python/plotly/plotly/graph_objs/_bar.py b/packages/python/plotly/plotly/graph_objs/_bar.py index 27d6a141328..fce332906e1 100644 --- a/packages/python/plotly/plotly/graph_objs/_bar.py +++ b/packages/python/plotly/plotly/graph_objs/_bar.py @@ -2944,8 +2944,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Bar -constructor must be a dict or +The first argument to the plotly.graph_objs.Bar +constructor must be a dict or an instance of :class:`plotly.graph_objs.Bar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_barpolar.py b/packages/python/plotly/plotly/graph_objs/_barpolar.py index 1d134b6a289..a694e1ea9eb 100644 --- a/packages/python/plotly/plotly/graph_objs/_barpolar.py +++ b/packages/python/plotly/plotly/graph_objs/_barpolar.py @@ -1750,8 +1750,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Barpolar -constructor must be a dict or +The first argument to the plotly.graph_objs.Barpolar +constructor must be a dict or an instance of :class:`plotly.graph_objs.Barpolar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_box.py b/packages/python/plotly/plotly/graph_objs/_box.py index 5c5f797be6b..7df08d20f37 100644 --- a/packages/python/plotly/plotly/graph_objs/_box.py +++ b/packages/python/plotly/plotly/graph_objs/_box.py @@ -3056,8 +3056,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Box -constructor must be a dict or +The first argument to the plotly.graph_objs.Box +constructor must be a dict or an instance of :class:`plotly.graph_objs.Box`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_candlestick.py b/packages/python/plotly/plotly/graph_objs/_candlestick.py index 904f1b85a5a..65953e46019 100644 --- a/packages/python/plotly/plotly/graph_objs/_candlestick.py +++ b/packages/python/plotly/plotly/graph_objs/_candlestick.py @@ -1703,8 +1703,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Candlestick -constructor must be a dict or +The first argument to the plotly.graph_objs.Candlestick +constructor must be a dict or an instance of :class:`plotly.graph_objs.Candlestick`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_carpet.py b/packages/python/plotly/plotly/graph_objs/_carpet.py index 72690de611e..ba75c9e4e23 100644 --- a/packages/python/plotly/plotly/graph_objs/_carpet.py +++ b/packages/python/plotly/plotly/graph_objs/_carpet.py @@ -1729,8 +1729,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Carpet -constructor must be a dict or +The first argument to the plotly.graph_objs.Carpet +constructor must be a dict or an instance of :class:`plotly.graph_objs.Carpet`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_choropleth.py b/packages/python/plotly/plotly/graph_objs/_choropleth.py index 93290fd8c76..6048746e0fd 100644 --- a/packages/python/plotly/plotly/graph_objs/_choropleth.py +++ b/packages/python/plotly/plotly/graph_objs/_choropleth.py @@ -2052,8 +2052,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Choropleth -constructor must be a dict or +The first argument to the plotly.graph_objs.Choropleth +constructor must be a dict or an instance of :class:`plotly.graph_objs.Choropleth`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py b/packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py index 1f8c7e0a159..97c9b1fdd0b 100644 --- a/packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py +++ b/packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py @@ -2046,8 +2046,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Choroplethmapbox -constructor must be a dict or +The first argument to the plotly.graph_objs.Choroplethmapbox +constructor must be a dict or an instance of :class:`plotly.graph_objs.Choroplethmapbox`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_cone.py b/packages/python/plotly/plotly/graph_objs/_cone.py index fd36a80151d..c972de60643 100644 --- a/packages/python/plotly/plotly/graph_objs/_cone.py +++ b/packages/python/plotly/plotly/graph_objs/_cone.py @@ -2574,8 +2574,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Cone -constructor must be a dict or +The first argument to the plotly.graph_objs.Cone +constructor must be a dict or an instance of :class:`plotly.graph_objs.Cone`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_contour.py b/packages/python/plotly/plotly/graph_objs/_contour.py index 9fb7e7d2585..86ced49f660 100644 --- a/packages/python/plotly/plotly/graph_objs/_contour.py +++ b/packages/python/plotly/plotly/graph_objs/_contour.py @@ -3019,8 +3019,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Contour -constructor must be a dict or +The first argument to the plotly.graph_objs.Contour +constructor must be a dict or an instance of :class:`plotly.graph_objs.Contour`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_contourcarpet.py b/packages/python/plotly/plotly/graph_objs/_contourcarpet.py index 7b79a1ab96c..798dc1957bf 100644 --- a/packages/python/plotly/plotly/graph_objs/_contourcarpet.py +++ b/packages/python/plotly/plotly/graph_objs/_contourcarpet.py @@ -2162,8 +2162,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Contourcarpet -constructor must be a dict or +The first argument to the plotly.graph_objs.Contourcarpet +constructor must be a dict or an instance of :class:`plotly.graph_objs.Contourcarpet`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_densitymapbox.py b/packages/python/plotly/plotly/graph_objs/_densitymapbox.py index ec008cdc457..8e374743819 100644 --- a/packages/python/plotly/plotly/graph_objs/_densitymapbox.py +++ b/packages/python/plotly/plotly/graph_objs/_densitymapbox.py @@ -1993,8 +1993,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Densitymapbox -constructor must be a dict or +The first argument to the plotly.graph_objs.Densitymapbox +constructor must be a dict or an instance of :class:`plotly.graph_objs.Densitymapbox`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_figure.py b/packages/python/plotly/plotly/graph_objs/_figure.py index 5f698a5f376..0f2f44960dd 100644 --- a/packages/python/plotly/plotly/graph_objs/_figure.py +++ b/packages/python/plotly/plotly/graph_objs/_figure.py @@ -593,6 +593,585 @@ def __init__( """ super(Figure, self).__init__(data, layout, frames, skip_invalid, **kwargs) + def update(self, dict1=None, overwrite=False, **kwargs) -> "Figure": + """ + + Update the properties of the figure with a dict and/or with + keyword arguments. + + This recursively updates the structure of the figure + object with the values in the input dict / keyword arguments. + + Parameters + ---------- + dict1 : dict + Dictionary of properties to be updated + overwrite: bool + If True, overwrite existing properties. If False, apply updates + to existing properties recursively, preserving existing + properties that are not specified in the update operation. + kwargs : + Keyword/value pair of properties to be updated + + Examples + -------- + >>> import plotly.graph_objs as go + >>> fig = go.Figure(data=[{'y': [1, 2, 3]}]) + >>> fig.update(data=[{'y': [4, 5, 6]}]) # doctest: +ELLIPSIS + Figure(...) + >>> fig.to_plotly_json() # doctest: +SKIP + {'data': [{'type': 'scatter', + 'uid': 'e86a7c7a-346a-11e8-8aa8-a0999b0c017b', + 'y': array([4, 5, 6], dtype=int32)}], + 'layout': {}} + + >>> fig = go.Figure(layout={'xaxis': + ... {'color': 'green', + ... 'range': [0, 1]}}) + >>> fig.update({'layout': {'xaxis': {'color': 'pink'}}}) # doctest: +ELLIPSIS + Figure(...) + >>> fig.to_plotly_json() # doctest: +SKIP + {'data': [], + 'layout': {'xaxis': + {'color': 'pink', + 'range': [0, 1]}}} + + Returns + ------- + BaseFigure + Updated figure + + """ + return super(Figure, self).update(dict1, overwrite, **kwargs) + + def update_traces( + self, + patch=None, + selector=None, + row=None, + col=None, + secondary_y=None, + overwrite=False, + **kwargs, + ) -> "Figure": + """ + + Perform a property update operation on all traces that satisfy the + specified selection criteria + + Parameters + ---------- + patch: dict or None (default None) + Dictionary of property updates to be applied to all traces that + satisfy the selection criteria. + selector: dict, function, int, str or None (default None) + Dict to use as selection criteria. + Traces will be selected if they contain properties corresponding + to all of the dictionary's keys, with values that exactly match + the supplied values. If None (the default), all traces are + selected. If a function, it must be a function accepting a single + argument and returning a boolean. The function will be called on + each trace and those for which the function returned True + will be in the selection. If an int N, the Nth trace matching row + and col will be selected (N can be negative). If a string S, the selector + is equivalent to dict(type=S). + row, col: int or None (default None) + Subplot row and column index of traces to select. + To select traces by row and column, the Figure must have been + created using plotly.subplots.make_subplots. If None + (the default), all traces are selected. + secondary_y: boolean or None (default None) + * If True, only select traces associated with the secondary + y-axis of the subplot. + * If False, only select traces associated with the primary + y-axis of the subplot. + * If None (the default), do not filter traces based on secondary + y-axis. + + To select traces by secondary y-axis, the Figure must have been + created using plotly.subplots.make_subplots. See the docstring + for the specs argument to make_subplots for more info on + creating subplots with secondary y-axes. + overwrite: bool + If True, overwrite existing properties. If False, apply updates + to existing properties recursively, preserving existing + properties that are not specified in the update operation. + **kwargs + Additional property updates to apply to each selected trace. If + a property is specified in both patch and in **kwargs then the + one in **kwargs takes precedence. + + Returns + ------- + self + Returns the Figure object that the method was called on + + """ + return super(Figure, self).update_traces( + patch, selector, row, col, secondary_y, overwrite, **kwargs + ) + + def update_layout(self, dict1=None, overwrite=False, **kwargs) -> "Figure": + """ + + Update the properties of the figure's layout with a dict and/or with + keyword arguments. + + This recursively updates the structure of the original + layout with the values in the input dict / keyword arguments. + + Parameters + ---------- + dict1 : dict + Dictionary of properties to be updated + overwrite: bool + If True, overwrite existing properties. If False, apply updates + to existing properties recursively, preserving existing + properties that are not specified in the update operation. + kwargs : + Keyword/value pair of properties to be updated + + Returns + ------- + BaseFigure + The Figure object that the update_layout method was called on + + """ + return super(Figure, self).update_layout(dict1, overwrite, **kwargs) + + def for_each_trace( + self, fn, selector=None, row=None, col=None, secondary_y=None + ) -> "Figure": + """ + + Apply a function to all traces that satisfy the specified selection + criteria + + Parameters + ---------- + fn: + Function that inputs a single trace object. + selector: dict, function, int, str or None (default None) + Dict to use as selection criteria. + Traces will be selected if they contain properties corresponding + to all of the dictionary's keys, with values that exactly match + the supplied values. If None (the default), all traces are + selected. If a function, it must be a function accepting a single + argument and returning a boolean. The function will be called on + each trace and those for which the function returned True + will be in the selection. If an int N, the Nth trace matching row + and col will be selected (N can be negative). If a string S, the selector + is equivalent to dict(type=S). + row, col: int or None (default None) + Subplot row and column index of traces to select. + To select traces by row and column, the Figure must have been + created using plotly.subplots.make_subplots. If None + (the default), all traces are selected. + secondary_y: boolean or None (default None) + * If True, only select traces associated with the secondary + y-axis of the subplot. + * If False, only select traces associated with the primary + y-axis of the subplot. + * If None (the default), do not filter traces based on secondary + y-axis. + + To select traces by secondary y-axis, the Figure must have been + created using plotly.subplots.make_subplots. See the docstring + for the specs argument to make_subplots for more info on + creating subplots with secondary y-axes. + Returns + ------- + self + Returns the Figure object that the method was called on + + """ + return super(Figure, self).for_each_trace(fn, selector, row, col, secondary_y) + + def add_trace( + self, trace, row=None, col=None, secondary_y=None, exclude_empty_subplots=False + ) -> "Figure": + """ + + Add a trace to the figure + + Parameters + ---------- + trace : BaseTraceType or dict + Either: + - An instances of a trace classe from the plotly.graph_objs + package (e.g plotly.graph_objs.Scatter, plotly.graph_objs.Bar) + - or a dicts where: + + - The 'type' property specifies the trace type (e.g. + 'scatter', 'bar', 'area', etc.). If the dict has no 'type' + property then 'scatter' is assumed. + - All remaining properties are passed to the constructor + of the specified trace type. + + row : 'all', int or None (default) + Subplot row index (starting from 1) for the trace to be + added. Only valid if figure was created using + `plotly.tools.make_subplots`. + If 'all', addresses all rows in the specified column(s). + col : 'all', int or None (default) + Subplot col index (starting from 1) for the trace to be + added. Only valid if figure was created using + `plotly.tools.make_subplots`. + If 'all', addresses all columns in the specified row(s). + secondary_y: boolean or None (default None) + If True, associate this trace with the secondary y-axis of the + subplot at the specified row and col. Only valid if all of the + following conditions are satisfied: + * The figure was created using `plotly.subplots.make_subplots`. + * The row and col arguments are not None + * The subplot at the specified row and col has type xy + (which is the default) and secondary_y True. These + properties are specified in the specs argument to + make_subplots. See the make_subplots docstring for more info. + * The trace argument is a 2D cartesian trace + (scatter, bar, etc.) + exclude_empty_subplots: boolean + If True, the trace will not be added to subplots that don't already + have traces. + Returns + ------- + BaseFigure + The Figure that add_trace was called on + + Examples + -------- + + >>> from plotly import subplots + >>> import plotly.graph_objs as go + + Add two Scatter traces to a figure + + >>> fig = go.Figure() + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2])) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2])) # doctest: +ELLIPSIS + Figure(...) + + + Add two Scatter traces to vertically stacked subplots + + >>> fig = subplots.make_subplots(rows=2) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=1, col=1) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=2, col=1) # doctest: +ELLIPSIS + Figure(...) + + """ + return super(Figure, self).add_trace( + trace, row, col, secondary_y, exclude_empty_subplots + ) + + def add_traces( + self, + data, + rows=None, + cols=None, + secondary_ys=None, + exclude_empty_subplots=False, + ) -> "Figure": + """ + + Add traces to the figure + + Parameters + ---------- + data : list[BaseTraceType or dict] + A list of trace specifications to be added. + Trace specifications may be either: + + - Instances of trace classes from the plotly.graph_objs + package (e.g plotly.graph_objs.Scatter, plotly.graph_objs.Bar) + - Dicts where: + + - The 'type' property specifies the trace type (e.g. + 'scatter', 'bar', 'area', etc.). If the dict has no 'type' + property then 'scatter' is assumed. + - All remaining properties are passed to the constructor + of the specified trace type. + + rows : None, list[int], or int (default None) + List of subplot row indexes (starting from 1) for the traces to be + added. Only valid if figure was created using + `plotly.tools.make_subplots` + If a single integer is passed, all traces will be added to row number + + cols : None or list[int] (default None) + List of subplot column indexes (starting from 1) for the traces + to be added. Only valid if figure was created using + `plotly.tools.make_subplots` + If a single integer is passed, all traces will be added to column number + + + secondary_ys: None or list[boolean] (default None) + List of secondary_y booleans for traces to be added. See the + docstring for `add_trace` for more info. + + exclude_empty_subplots: boolean + If True, the trace will not be added to subplots that don't already + have traces. + + Returns + ------- + BaseFigure + The Figure that add_traces was called on + + Examples + -------- + + >>> from plotly import subplots + >>> import plotly.graph_objs as go + + Add two Scatter traces to a figure + + >>> fig = go.Figure() + >>> fig.add_traces([go.Scatter(x=[1,2,3], y=[2,1,2]), + ... go.Scatter(x=[1,2,3], y=[2,1,2])]) # doctest: +ELLIPSIS + Figure(...) + + Add two Scatter traces to vertically stacked subplots + + >>> fig = subplots.make_subplots(rows=2) + >>> fig.add_traces([go.Scatter(x=[1,2,3], y=[2,1,2]), + ... go.Scatter(x=[1,2,3], y=[2,1,2])], + ... rows=[1, 2], cols=[1, 1]) # doctest: +ELLIPSIS + Figure(...) + + """ + return super(Figure, self).add_traces( + data, rows, cols, secondary_ys, exclude_empty_subplots + ) + + def add_vline( + self, + x, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "Figure": + """ + + Add a vertical line to a plot or subplot that extends infinitely in the + y-dimension. + + Parameters + ---------- + x: float or int + A number representing the x coordinate of the vertical line. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the line. Example positions are "bottom left", "right top", + "right", "bottom". If an annotation is added but annotation_position is + not specified, this defaults to "top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(Figure, self).add_vline( + x, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def add_hline( + self, + y, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "Figure": + """ + + Add a horizontal line to a plot or subplot that extends infinitely in the + x-dimension. + + Parameters + ---------- + y: float or int + A number representing the y coordinate of the horizontal line. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the line. Example positions are "bottom left", "right top", + "right", "bottom". If an annotation is added but annotation_position is + not specified, this defaults to "top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(Figure, self).add_hline( + y, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def add_vrect( + self, + x0, + x1, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "Figure": + """ + + Add a rectangle to a plot or subplot that extends infinitely in the + y-dimension. + + Parameters + ---------- + x0: float or int + A number representing the x coordinate of one side of the rectangle. + x1: float or int + A number representing the x coordinate of the other side of the rectangle. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["inside", "outside"], ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the rectangle. Example positions are "outside top left", "inside + bottom", "right", "inside left", "inside" ("outside" is not supported). If + an annotation is added but annotation_position is not specified this + defaults to "inside top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(Figure, self).add_vrect( + x0, x1, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def add_hrect( + self, + y0, + y1, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "Figure": + """ + + Add a rectangle to a plot or subplot that extends infinitely in the + x-dimension. + + Parameters + ---------- + y0: float or int + A number representing the y coordinate of one side of the rectangle. + y1: float or int + A number representing the y coordinate of the other side of the rectangle. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["inside", "outside"], ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the rectangle. Example positions are "outside top left", "inside + bottom", "right", "inside left", "inside" ("outside" is not supported). If + an annotation is added but annotation_position is not specified this + defaults to "inside top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(Figure, self).add_hrect( + y0, y1, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def set_subplots(self, rows=None, cols=None, **make_subplots_args) -> "Figure": + """ + + Add subplots to this figure. If the figure already contains subplots, + then this throws an error. Accepts any keyword arguments that + plotly.subplots.make_subplots accepts. + + """ + return super(Figure, self).set_subplots(rows, cols, **make_subplots_args) + def add_bar( self, alignmentgroup=None, @@ -670,7 +1249,7 @@ def add_bar( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Bar trace @@ -1187,7 +1766,7 @@ def add_barpolar( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Barpolar trace @@ -1554,7 +2133,7 @@ def add_box( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Box trace @@ -2163,7 +2742,7 @@ def add_candlestick( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Candlestick trace @@ -2504,7 +3083,7 @@ def add_carpet( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Carpet trace @@ -2779,7 +3358,7 @@ def add_choropleth( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Choropleth trace @@ -3148,7 +3727,7 @@ def add_choroplethmapbox( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Choroplethmapbox trace @@ -3527,7 +4106,7 @@ def add_cone( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Cone trace @@ -4018,7 +4597,7 @@ def add_contour( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Contour trace @@ -4551,7 +5130,7 @@ def add_contourcarpet( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Contourcarpet trace @@ -4918,7 +5497,7 @@ def add_densitymapbox( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Densitymapbox trace @@ -5300,7 +5879,7 @@ def add_funnel( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Funnel trace @@ -5793,7 +6372,7 @@ def add_funnelarea( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Funnelarea trace @@ -6163,7 +6742,7 @@ def add_heatmap( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Heatmap trace @@ -6680,7 +7259,7 @@ def add_heatmapgl( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Heatmapgl trace @@ -7038,7 +7617,7 @@ def add_histogram( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Histogram trace @@ -7553,7 +8132,7 @@ def add_histogram2d( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Histogram2d trace @@ -8070,7 +8649,7 @@ def add_histogram2dcontour( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Histogram2dContour trace @@ -8585,7 +9164,7 @@ def add_icicle( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Icicle trace @@ -8946,7 +9525,7 @@ def add_image( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Image trace @@ -9237,7 +9816,7 @@ def add_indicator( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Indicator trace @@ -9458,7 +10037,7 @@ def add_isosurface( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Isosurface trace @@ -9923,7 +10502,7 @@ def add_mesh3d( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Mesh3d trace @@ -10447,7 +11026,7 @@ def add_ohlc( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Ohlc trace @@ -10774,7 +11353,7 @@ def add_parcats( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Parcats trace @@ -10988,7 +11567,7 @@ def add_parcoords( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Parcoords trace @@ -11207,7 +11786,7 @@ def add_pie( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Pie trace @@ -11592,7 +12171,7 @@ def add_pointcloud( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Pointcloud trace @@ -11864,7 +12443,7 @@ def add_sankey( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Sankey trace @@ -12115,7 +12694,7 @@ def add_scatter( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scatter trace @@ -12672,7 +13251,7 @@ def add_scatter3d( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scatter3d trace @@ -13088,7 +13667,7 @@ def add_scattercarpet( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scattercarpet trace @@ -13477,7 +14056,7 @@ def add_scattergeo( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scattergeo trace @@ -13883,7 +14462,7 @@ def add_scattergl( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scattergl trace @@ -14361,7 +14940,7 @@ def add_scattermapbox( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scattermapbox trace @@ -14723,7 +15302,7 @@ def add_scatterpolar( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scatterpolar trace @@ -15126,7 +15705,7 @@ def add_scatterpolargl( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scatterpolargl trace @@ -15523,7 +16102,7 @@ def add_scattersmith( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scattersmith trace @@ -15908,7 +16487,7 @@ def add_scatterternary( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Scatterternary trace @@ -16301,7 +16880,7 @@ def add_splom( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Splom trace @@ -16653,7 +17232,7 @@ def add_streamtube( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Streamtube trace @@ -17103,7 +17682,7 @@ def add_sunburst( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Sunburst trace @@ -17487,7 +18066,7 @@ def add_surface( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Surface trace @@ -17908,7 +18487,7 @@ def add_table( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Table trace @@ -18126,7 +18705,7 @@ def add_treemap( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Treemap trace @@ -18505,7 +19084,7 @@ def add_violin( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Violin trace @@ -18982,7 +19561,7 @@ def add_volume( row=None, col=None, **kwargs, - ): + ) -> "Figure": """ Add a new Volume trace @@ -19462,7 +20041,7 @@ def add_waterfall( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Add a new Waterfall trace @@ -19964,7 +20543,7 @@ def select_coloraxes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("coloraxis", selector, row, col) - def for_each_coloraxis(self, fn, selector=None, row=None, col=None): + def for_each_coloraxis(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all coloraxis objects that satisfy the specified selection criteria @@ -20000,7 +20579,7 @@ def for_each_coloraxis(self, fn, selector=None, row=None, col=None): def update_coloraxes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all coloraxis objects that satisfy the specified selection criteria @@ -20076,7 +20655,7 @@ def select_geos(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("geo", selector, row, col) - def for_each_geo(self, fn, selector=None, row=None, col=None): + def for_each_geo(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all geo objects that satisfy the specified selection criteria @@ -20112,7 +20691,7 @@ def for_each_geo(self, fn, selector=None, row=None, col=None): def update_geos( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all geo objects that satisfy the specified selection criteria @@ -20188,7 +20767,7 @@ def select_mapboxes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("mapbox", selector, row, col) - def for_each_mapbox(self, fn, selector=None, row=None, col=None): + def for_each_mapbox(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all mapbox objects that satisfy the specified selection criteria @@ -20224,7 +20803,7 @@ def for_each_mapbox(self, fn, selector=None, row=None, col=None): def update_mapboxes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all mapbox objects that satisfy the specified selection criteria @@ -20300,7 +20879,7 @@ def select_polars(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("polar", selector, row, col) - def for_each_polar(self, fn, selector=None, row=None, col=None): + def for_each_polar(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all polar objects that satisfy the specified selection criteria @@ -20336,7 +20915,7 @@ def for_each_polar(self, fn, selector=None, row=None, col=None): def update_polars( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all polar objects that satisfy the specified selection criteria @@ -20412,7 +20991,7 @@ def select_scenes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("scene", selector, row, col) - def for_each_scene(self, fn, selector=None, row=None, col=None): + def for_each_scene(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all scene objects that satisfy the specified selection criteria @@ -20448,7 +21027,7 @@ def for_each_scene(self, fn, selector=None, row=None, col=None): def update_scenes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all scene objects that satisfy the specified selection criteria @@ -20524,7 +21103,7 @@ def select_smiths(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("smith", selector, row, col) - def for_each_smith(self, fn, selector=None, row=None, col=None): + def for_each_smith(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all smith objects that satisfy the specified selection criteria @@ -20560,7 +21139,7 @@ def for_each_smith(self, fn, selector=None, row=None, col=None): def update_smiths( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all smith objects that satisfy the specified selection criteria @@ -20636,7 +21215,7 @@ def select_ternaries(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("ternary", selector, row, col) - def for_each_ternary(self, fn, selector=None, row=None, col=None): + def for_each_ternary(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all ternary objects that satisfy the specified selection criteria @@ -20672,7 +21251,7 @@ def for_each_ternary(self, fn, selector=None, row=None, col=None): def update_ternaries( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all ternary objects that satisfy the specified selection criteria @@ -20748,7 +21327,7 @@ def select_xaxes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("xaxis", selector, row, col) - def for_each_xaxis(self, fn, selector=None, row=None, col=None): + def for_each_xaxis(self, fn, selector=None, row=None, col=None) -> "Figure": """ Apply a function to all xaxis objects that satisfy the specified selection criteria @@ -20784,7 +21363,7 @@ def for_each_xaxis(self, fn, selector=None, row=None, col=None): def update_xaxes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all xaxis objects that satisfy the specified selection criteria @@ -20874,7 +21453,9 @@ def select_yaxes(self, selector=None, row=None, col=None, secondary_y=None): "yaxis", selector, row, col, secondary_y=secondary_y ) - def for_each_yaxis(self, fn, selector=None, row=None, col=None, secondary_y=None): + def for_each_yaxis( + self, fn, selector=None, row=None, col=None, secondary_y=None + ) -> "Figure": """ Apply a function to all yaxis objects that satisfy the specified selection criteria @@ -20931,7 +21512,7 @@ def update_yaxes( col=None, secondary_y=None, **kwargs, - ): + ) -> "Figure": """ Perform a property update operation on all yaxis objects that satisfy the specified selection criteria @@ -21093,7 +21674,7 @@ def for_each_annotation( def update_annotations( self, patch=None, selector=None, row=None, col=None, secondary_y=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all annotations that satisfy the specified selection criteria @@ -21670,7 +22251,7 @@ def for_each_layout_image( def update_layout_images( self, patch=None, selector=None, row=None, col=None, secondary_y=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all images that satisfy the specified selection criteria @@ -21995,7 +22576,7 @@ def for_each_shape(self, fn, selector=None, row=None, col=None, secondary_y=None def update_shapes( self, patch=None, selector=None, row=None, col=None, secondary_y=None, **kwargs - ): + ) -> "Figure": """ Perform a property update operation on all shapes that satisfy the specified selection criteria diff --git a/packages/python/plotly/plotly/graph_objs/_figurewidget.py b/packages/python/plotly/plotly/graph_objs/_figurewidget.py index b5e7cc8a4bc..8b74adece3c 100644 --- a/packages/python/plotly/plotly/graph_objs/_figurewidget.py +++ b/packages/python/plotly/plotly/graph_objs/_figurewidget.py @@ -593,6 +593,589 @@ def __init__( """ super(FigureWidget, self).__init__(data, layout, frames, skip_invalid, **kwargs) + def update(self, dict1=None, overwrite=False, **kwargs) -> "FigureWidget": + """ + + Update the properties of the figure with a dict and/or with + keyword arguments. + + This recursively updates the structure of the figure + object with the values in the input dict / keyword arguments. + + Parameters + ---------- + dict1 : dict + Dictionary of properties to be updated + overwrite: bool + If True, overwrite existing properties. If False, apply updates + to existing properties recursively, preserving existing + properties that are not specified in the update operation. + kwargs : + Keyword/value pair of properties to be updated + + Examples + -------- + >>> import plotly.graph_objs as go + >>> fig = go.Figure(data=[{'y': [1, 2, 3]}]) + >>> fig.update(data=[{'y': [4, 5, 6]}]) # doctest: +ELLIPSIS + Figure(...) + >>> fig.to_plotly_json() # doctest: +SKIP + {'data': [{'type': 'scatter', + 'uid': 'e86a7c7a-346a-11e8-8aa8-a0999b0c017b', + 'y': array([4, 5, 6], dtype=int32)}], + 'layout': {}} + + >>> fig = go.Figure(layout={'xaxis': + ... {'color': 'green', + ... 'range': [0, 1]}}) + >>> fig.update({'layout': {'xaxis': {'color': 'pink'}}}) # doctest: +ELLIPSIS + Figure(...) + >>> fig.to_plotly_json() # doctest: +SKIP + {'data': [], + 'layout': {'xaxis': + {'color': 'pink', + 'range': [0, 1]}}} + + Returns + ------- + BaseFigure + Updated figure + + """ + return super(FigureWidget, self).update(dict1, overwrite, **kwargs) + + def update_traces( + self, + patch=None, + selector=None, + row=None, + col=None, + secondary_y=None, + overwrite=False, + **kwargs, + ) -> "FigureWidget": + """ + + Perform a property update operation on all traces that satisfy the + specified selection criteria + + Parameters + ---------- + patch: dict or None (default None) + Dictionary of property updates to be applied to all traces that + satisfy the selection criteria. + selector: dict, function, int, str or None (default None) + Dict to use as selection criteria. + Traces will be selected if they contain properties corresponding + to all of the dictionary's keys, with values that exactly match + the supplied values. If None (the default), all traces are + selected. If a function, it must be a function accepting a single + argument and returning a boolean. The function will be called on + each trace and those for which the function returned True + will be in the selection. If an int N, the Nth trace matching row + and col will be selected (N can be negative). If a string S, the selector + is equivalent to dict(type=S). + row, col: int or None (default None) + Subplot row and column index of traces to select. + To select traces by row and column, the Figure must have been + created using plotly.subplots.make_subplots. If None + (the default), all traces are selected. + secondary_y: boolean or None (default None) + * If True, only select traces associated with the secondary + y-axis of the subplot. + * If False, only select traces associated with the primary + y-axis of the subplot. + * If None (the default), do not filter traces based on secondary + y-axis. + + To select traces by secondary y-axis, the Figure must have been + created using plotly.subplots.make_subplots. See the docstring + for the specs argument to make_subplots for more info on + creating subplots with secondary y-axes. + overwrite: bool + If True, overwrite existing properties. If False, apply updates + to existing properties recursively, preserving existing + properties that are not specified in the update operation. + **kwargs + Additional property updates to apply to each selected trace. If + a property is specified in both patch and in **kwargs then the + one in **kwargs takes precedence. + + Returns + ------- + self + Returns the Figure object that the method was called on + + """ + return super(FigureWidget, self).update_traces( + patch, selector, row, col, secondary_y, overwrite, **kwargs + ) + + def update_layout(self, dict1=None, overwrite=False, **kwargs) -> "FigureWidget": + """ + + Update the properties of the figure's layout with a dict and/or with + keyword arguments. + + This recursively updates the structure of the original + layout with the values in the input dict / keyword arguments. + + Parameters + ---------- + dict1 : dict + Dictionary of properties to be updated + overwrite: bool + If True, overwrite existing properties. If False, apply updates + to existing properties recursively, preserving existing + properties that are not specified in the update operation. + kwargs : + Keyword/value pair of properties to be updated + + Returns + ------- + BaseFigure + The Figure object that the update_layout method was called on + + """ + return super(FigureWidget, self).update_layout(dict1, overwrite, **kwargs) + + def for_each_trace( + self, fn, selector=None, row=None, col=None, secondary_y=None + ) -> "FigureWidget": + """ + + Apply a function to all traces that satisfy the specified selection + criteria + + Parameters + ---------- + fn: + Function that inputs a single trace object. + selector: dict, function, int, str or None (default None) + Dict to use as selection criteria. + Traces will be selected if they contain properties corresponding + to all of the dictionary's keys, with values that exactly match + the supplied values. If None (the default), all traces are + selected. If a function, it must be a function accepting a single + argument and returning a boolean. The function will be called on + each trace and those for which the function returned True + will be in the selection. If an int N, the Nth trace matching row + and col will be selected (N can be negative). If a string S, the selector + is equivalent to dict(type=S). + row, col: int or None (default None) + Subplot row and column index of traces to select. + To select traces by row and column, the Figure must have been + created using plotly.subplots.make_subplots. If None + (the default), all traces are selected. + secondary_y: boolean or None (default None) + * If True, only select traces associated with the secondary + y-axis of the subplot. + * If False, only select traces associated with the primary + y-axis of the subplot. + * If None (the default), do not filter traces based on secondary + y-axis. + + To select traces by secondary y-axis, the Figure must have been + created using plotly.subplots.make_subplots. See the docstring + for the specs argument to make_subplots for more info on + creating subplots with secondary y-axes. + Returns + ------- + self + Returns the Figure object that the method was called on + + """ + return super(FigureWidget, self).for_each_trace( + fn, selector, row, col, secondary_y + ) + + def add_trace( + self, trace, row=None, col=None, secondary_y=None, exclude_empty_subplots=False + ) -> "FigureWidget": + """ + + Add a trace to the figure + + Parameters + ---------- + trace : BaseTraceType or dict + Either: + - An instances of a trace classe from the plotly.graph_objs + package (e.g plotly.graph_objs.Scatter, plotly.graph_objs.Bar) + - or a dicts where: + + - The 'type' property specifies the trace type (e.g. + 'scatter', 'bar', 'area', etc.). If the dict has no 'type' + property then 'scatter' is assumed. + - All remaining properties are passed to the constructor + of the specified trace type. + + row : 'all', int or None (default) + Subplot row index (starting from 1) for the trace to be + added. Only valid if figure was created using + `plotly.tools.make_subplots`. + If 'all', addresses all rows in the specified column(s). + col : 'all', int or None (default) + Subplot col index (starting from 1) for the trace to be + added. Only valid if figure was created using + `plotly.tools.make_subplots`. + If 'all', addresses all columns in the specified row(s). + secondary_y: boolean or None (default None) + If True, associate this trace with the secondary y-axis of the + subplot at the specified row and col. Only valid if all of the + following conditions are satisfied: + * The figure was created using `plotly.subplots.make_subplots`. + * The row and col arguments are not None + * The subplot at the specified row and col has type xy + (which is the default) and secondary_y True. These + properties are specified in the specs argument to + make_subplots. See the make_subplots docstring for more info. + * The trace argument is a 2D cartesian trace + (scatter, bar, etc.) + exclude_empty_subplots: boolean + If True, the trace will not be added to subplots that don't already + have traces. + Returns + ------- + BaseFigure + The Figure that add_trace was called on + + Examples + -------- + + >>> from plotly import subplots + >>> import plotly.graph_objs as go + + Add two Scatter traces to a figure + + >>> fig = go.Figure() + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2])) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2])) # doctest: +ELLIPSIS + Figure(...) + + + Add two Scatter traces to vertically stacked subplots + + >>> fig = subplots.make_subplots(rows=2) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=1, col=1) # doctest: +ELLIPSIS + Figure(...) + >>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=2, col=1) # doctest: +ELLIPSIS + Figure(...) + + """ + return super(FigureWidget, self).add_trace( + trace, row, col, secondary_y, exclude_empty_subplots + ) + + def add_traces( + self, + data, + rows=None, + cols=None, + secondary_ys=None, + exclude_empty_subplots=False, + ) -> "FigureWidget": + """ + + Add traces to the figure + + Parameters + ---------- + data : list[BaseTraceType or dict] + A list of trace specifications to be added. + Trace specifications may be either: + + - Instances of trace classes from the plotly.graph_objs + package (e.g plotly.graph_objs.Scatter, plotly.graph_objs.Bar) + - Dicts where: + + - The 'type' property specifies the trace type (e.g. + 'scatter', 'bar', 'area', etc.). If the dict has no 'type' + property then 'scatter' is assumed. + - All remaining properties are passed to the constructor + of the specified trace type. + + rows : None, list[int], or int (default None) + List of subplot row indexes (starting from 1) for the traces to be + added. Only valid if figure was created using + `plotly.tools.make_subplots` + If a single integer is passed, all traces will be added to row number + + cols : None or list[int] (default None) + List of subplot column indexes (starting from 1) for the traces + to be added. Only valid if figure was created using + `plotly.tools.make_subplots` + If a single integer is passed, all traces will be added to column number + + + secondary_ys: None or list[boolean] (default None) + List of secondary_y booleans for traces to be added. See the + docstring for `add_trace` for more info. + + exclude_empty_subplots: boolean + If True, the trace will not be added to subplots that don't already + have traces. + + Returns + ------- + BaseFigure + The Figure that add_traces was called on + + Examples + -------- + + >>> from plotly import subplots + >>> import plotly.graph_objs as go + + Add two Scatter traces to a figure + + >>> fig = go.Figure() + >>> fig.add_traces([go.Scatter(x=[1,2,3], y=[2,1,2]), + ... go.Scatter(x=[1,2,3], y=[2,1,2])]) # doctest: +ELLIPSIS + Figure(...) + + Add two Scatter traces to vertically stacked subplots + + >>> fig = subplots.make_subplots(rows=2) + >>> fig.add_traces([go.Scatter(x=[1,2,3], y=[2,1,2]), + ... go.Scatter(x=[1,2,3], y=[2,1,2])], + ... rows=[1, 2], cols=[1, 1]) # doctest: +ELLIPSIS + Figure(...) + + """ + return super(FigureWidget, self).add_traces( + data, rows, cols, secondary_ys, exclude_empty_subplots + ) + + def add_vline( + self, + x, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "FigureWidget": + """ + + Add a vertical line to a plot or subplot that extends infinitely in the + y-dimension. + + Parameters + ---------- + x: float or int + A number representing the x coordinate of the vertical line. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the line. Example positions are "bottom left", "right top", + "right", "bottom". If an annotation is added but annotation_position is + not specified, this defaults to "top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(FigureWidget, self).add_vline( + x, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def add_hline( + self, + y, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "FigureWidget": + """ + + Add a horizontal line to a plot or subplot that extends infinitely in the + x-dimension. + + Parameters + ---------- + y: float or int + A number representing the y coordinate of the horizontal line. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the line. Example positions are "bottom left", "right top", + "right", "bottom". If an annotation is added but annotation_position is + not specified, this defaults to "top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(FigureWidget, self).add_hline( + y, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def add_vrect( + self, + x0, + x1, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "FigureWidget": + """ + + Add a rectangle to a plot or subplot that extends infinitely in the + y-dimension. + + Parameters + ---------- + x0: float or int + A number representing the x coordinate of one side of the rectangle. + x1: float or int + A number representing the x coordinate of the other side of the rectangle. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["inside", "outside"], ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the rectangle. Example positions are "outside top left", "inside + bottom", "right", "inside left", "inside" ("outside" is not supported). If + an annotation is added but annotation_position is not specified this + defaults to "inside top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(FigureWidget, self).add_vrect( + x0, x1, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def add_hrect( + self, + y0, + y1, + row="all", + col="all", + exclude_empty_subplots=True, + annotation=None, + **kwargs, + ) -> "FigureWidget": + """ + + Add a rectangle to a plot or subplot that extends infinitely in the + x-dimension. + + Parameters + ---------- + y0: float or int + A number representing the y coordinate of one side of the rectangle. + y1: float or int + A number representing the y coordinate of the other side of the rectangle. + exclude_empty_subplots: Boolean + If True (default) do not place the shape on subplots that have no data + plotted on them. + row: None, int or 'all' + Subplot row for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + col: None, int or 'all' + Subplot column for shape indexed starting at 1. If 'all', addresses all rows in + the specified column(s). If both row and col are None, addresses the + first subplot if subplots exist, or the only plot. By default is "all". + annotation: dict or plotly.graph_objects.layout.Annotation. If dict(), + it is interpreted as describing an annotation. The annotation is + placed relative to the shape based on annotation_position (see + below) unless its x or y value has been specified for the annotation + passed here. xref and yref are always the same as for the added + shape and cannot be overridden. + annotation_position: a string containing optionally ["inside", "outside"], ["top", "bottom"] + and ["left", "right"] specifying where the text should be anchored + to on the rectangle. Example positions are "outside top left", "inside + bottom", "right", "inside left", "inside" ("outside" is not supported). If + an annotation is added but annotation_position is not specified this + defaults to "inside top right". + annotation_*: any parameters to go.layout.Annotation can be passed as + keywords by prefixing them with "annotation_". For example, to specify the + annotation text "example" you can pass annotation_text="example" as a + keyword argument. + **kwargs: + Any named function parameters that can be passed to 'add_shape', + except for x0, x1, y0, y1 or type. + """ + return super(FigureWidget, self).add_hrect( + y0, y1, row, col, exclude_empty_subplots, annotation, **kwargs + ) + + def set_subplots( + self, rows=None, cols=None, **make_subplots_args + ) -> "FigureWidget": + """ + + Add subplots to this figure. If the figure already contains subplots, + then this throws an error. Accepts any keyword arguments that + plotly.subplots.make_subplots accepts. + + """ + return super(FigureWidget, self).set_subplots(rows, cols, **make_subplots_args) + def add_bar( self, alignmentgroup=None, @@ -670,7 +1253,7 @@ def add_bar( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Bar trace @@ -1187,7 +1770,7 @@ def add_barpolar( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Barpolar trace @@ -1554,7 +2137,7 @@ def add_box( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Box trace @@ -2163,7 +2746,7 @@ def add_candlestick( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Candlestick trace @@ -2504,7 +3087,7 @@ def add_carpet( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Carpet trace @@ -2779,7 +3362,7 @@ def add_choropleth( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Choropleth trace @@ -3148,7 +3731,7 @@ def add_choroplethmapbox( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Choroplethmapbox trace @@ -3527,7 +4110,7 @@ def add_cone( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Cone trace @@ -4018,7 +4601,7 @@ def add_contour( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Contour trace @@ -4551,7 +5134,7 @@ def add_contourcarpet( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Contourcarpet trace @@ -4918,7 +5501,7 @@ def add_densitymapbox( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Densitymapbox trace @@ -5300,7 +5883,7 @@ def add_funnel( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Funnel trace @@ -5793,7 +6376,7 @@ def add_funnelarea( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Funnelarea trace @@ -6163,7 +6746,7 @@ def add_heatmap( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Heatmap trace @@ -6680,7 +7263,7 @@ def add_heatmapgl( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Heatmapgl trace @@ -7038,7 +7621,7 @@ def add_histogram( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Histogram trace @@ -7553,7 +8136,7 @@ def add_histogram2d( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Histogram2d trace @@ -8070,7 +8653,7 @@ def add_histogram2dcontour( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Histogram2dContour trace @@ -8585,7 +9168,7 @@ def add_icicle( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Icicle trace @@ -8946,7 +9529,7 @@ def add_image( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Image trace @@ -9237,7 +9820,7 @@ def add_indicator( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Indicator trace @@ -9458,7 +10041,7 @@ def add_isosurface( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Isosurface trace @@ -9923,7 +10506,7 @@ def add_mesh3d( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Mesh3d trace @@ -10447,7 +11030,7 @@ def add_ohlc( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Ohlc trace @@ -10774,7 +11357,7 @@ def add_parcats( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Parcats trace @@ -10988,7 +11571,7 @@ def add_parcoords( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Parcoords trace @@ -11207,7 +11790,7 @@ def add_pie( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Pie trace @@ -11592,7 +12175,7 @@ def add_pointcloud( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Pointcloud trace @@ -11864,7 +12447,7 @@ def add_sankey( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Sankey trace @@ -12115,7 +12698,7 @@ def add_scatter( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scatter trace @@ -12672,7 +13255,7 @@ def add_scatter3d( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scatter3d trace @@ -13088,7 +13671,7 @@ def add_scattercarpet( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scattercarpet trace @@ -13477,7 +14060,7 @@ def add_scattergeo( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scattergeo trace @@ -13883,7 +14466,7 @@ def add_scattergl( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scattergl trace @@ -14361,7 +14944,7 @@ def add_scattermapbox( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scattermapbox trace @@ -14723,7 +15306,7 @@ def add_scatterpolar( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scatterpolar trace @@ -15126,7 +15709,7 @@ def add_scatterpolargl( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scatterpolargl trace @@ -15523,7 +16106,7 @@ def add_scattersmith( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scattersmith trace @@ -15908,7 +16491,7 @@ def add_scatterternary( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Scatterternary trace @@ -16301,7 +16884,7 @@ def add_splom( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Splom trace @@ -16653,7 +17236,7 @@ def add_streamtube( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Streamtube trace @@ -17103,7 +17686,7 @@ def add_sunburst( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Sunburst trace @@ -17487,7 +18070,7 @@ def add_surface( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Surface trace @@ -17908,7 +18491,7 @@ def add_table( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Table trace @@ -18126,7 +18709,7 @@ def add_treemap( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Treemap trace @@ -18505,7 +19088,7 @@ def add_violin( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Violin trace @@ -18982,7 +19565,7 @@ def add_volume( row=None, col=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Volume trace @@ -19462,7 +20045,7 @@ def add_waterfall( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Add a new Waterfall trace @@ -19964,7 +20547,9 @@ def select_coloraxes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("coloraxis", selector, row, col) - def for_each_coloraxis(self, fn, selector=None, row=None, col=None): + def for_each_coloraxis( + self, fn, selector=None, row=None, col=None + ) -> "FigureWidget": """ Apply a function to all coloraxis objects that satisfy the specified selection criteria @@ -19991,7 +20576,7 @@ def for_each_coloraxis(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_coloraxes(selector=selector, row=row, col=col): fn(obj) @@ -20000,7 +20585,7 @@ def for_each_coloraxis(self, fn, selector=None, row=None, col=None): def update_coloraxes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all coloraxis objects that satisfy the specified selection criteria @@ -20037,7 +20622,7 @@ def update_coloraxes( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_coloraxes(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20076,7 +20661,7 @@ def select_geos(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("geo", selector, row, col) - def for_each_geo(self, fn, selector=None, row=None, col=None): + def for_each_geo(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all geo objects that satisfy the specified selection criteria @@ -20103,7 +20688,7 @@ def for_each_geo(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_geos(selector=selector, row=row, col=col): fn(obj) @@ -20112,7 +20697,7 @@ def for_each_geo(self, fn, selector=None, row=None, col=None): def update_geos( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all geo objects that satisfy the specified selection criteria @@ -20149,7 +20734,7 @@ def update_geos( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_geos(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20188,7 +20773,7 @@ def select_mapboxes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("mapbox", selector, row, col) - def for_each_mapbox(self, fn, selector=None, row=None, col=None): + def for_each_mapbox(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all mapbox objects that satisfy the specified selection criteria @@ -20215,7 +20800,7 @@ def for_each_mapbox(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_mapboxes(selector=selector, row=row, col=col): fn(obj) @@ -20224,7 +20809,7 @@ def for_each_mapbox(self, fn, selector=None, row=None, col=None): def update_mapboxes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all mapbox objects that satisfy the specified selection criteria @@ -20261,7 +20846,7 @@ def update_mapboxes( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_mapboxes(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20300,7 +20885,7 @@ def select_polars(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("polar", selector, row, col) - def for_each_polar(self, fn, selector=None, row=None, col=None): + def for_each_polar(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all polar objects that satisfy the specified selection criteria @@ -20327,7 +20912,7 @@ def for_each_polar(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_polars(selector=selector, row=row, col=col): fn(obj) @@ -20336,7 +20921,7 @@ def for_each_polar(self, fn, selector=None, row=None, col=None): def update_polars( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all polar objects that satisfy the specified selection criteria @@ -20373,7 +20958,7 @@ def update_polars( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_polars(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20412,7 +20997,7 @@ def select_scenes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("scene", selector, row, col) - def for_each_scene(self, fn, selector=None, row=None, col=None): + def for_each_scene(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all scene objects that satisfy the specified selection criteria @@ -20439,7 +21024,7 @@ def for_each_scene(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_scenes(selector=selector, row=row, col=col): fn(obj) @@ -20448,7 +21033,7 @@ def for_each_scene(self, fn, selector=None, row=None, col=None): def update_scenes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all scene objects that satisfy the specified selection criteria @@ -20485,7 +21070,7 @@ def update_scenes( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_scenes(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20524,7 +21109,7 @@ def select_smiths(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("smith", selector, row, col) - def for_each_smith(self, fn, selector=None, row=None, col=None): + def for_each_smith(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all smith objects that satisfy the specified selection criteria @@ -20551,7 +21136,7 @@ def for_each_smith(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_smiths(selector=selector, row=row, col=col): fn(obj) @@ -20560,7 +21145,7 @@ def for_each_smith(self, fn, selector=None, row=None, col=None): def update_smiths( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all smith objects that satisfy the specified selection criteria @@ -20597,7 +21182,7 @@ def update_smiths( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_smiths(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20636,7 +21221,7 @@ def select_ternaries(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("ternary", selector, row, col) - def for_each_ternary(self, fn, selector=None, row=None, col=None): + def for_each_ternary(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all ternary objects that satisfy the specified selection criteria @@ -20663,7 +21248,7 @@ def for_each_ternary(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_ternaries(selector=selector, row=row, col=col): fn(obj) @@ -20672,7 +21257,7 @@ def for_each_ternary(self, fn, selector=None, row=None, col=None): def update_ternaries( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all ternary objects that satisfy the specified selection criteria @@ -20709,7 +21294,7 @@ def update_ternaries( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_ternaries(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20748,7 +21333,7 @@ def select_xaxes(self, selector=None, row=None, col=None): return self._select_layout_subplots_by_prefix("xaxis", selector, row, col) - def for_each_xaxis(self, fn, selector=None, row=None, col=None): + def for_each_xaxis(self, fn, selector=None, row=None, col=None) -> "FigureWidget": """ Apply a function to all xaxis objects that satisfy the specified selection criteria @@ -20775,7 +21360,7 @@ def for_each_xaxis(self, fn, selector=None, row=None, col=None): Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_xaxes(selector=selector, row=row, col=col): fn(obj) @@ -20784,7 +21369,7 @@ def for_each_xaxis(self, fn, selector=None, row=None, col=None): def update_xaxes( self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all xaxis objects that satisfy the specified selection criteria @@ -20821,7 +21406,7 @@ def update_xaxes( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_xaxes(selector=selector, row=row, col=col): obj.update(patch, overwrite=overwrite, **kwargs) @@ -20874,7 +21459,9 @@ def select_yaxes(self, selector=None, row=None, col=None, secondary_y=None): "yaxis", selector, row, col, secondary_y=secondary_y ) - def for_each_yaxis(self, fn, selector=None, row=None, col=None, secondary_y=None): + def for_each_yaxis( + self, fn, selector=None, row=None, col=None, secondary_y=None + ) -> "FigureWidget": """ Apply a function to all yaxis objects that satisfy the specified selection criteria @@ -20913,7 +21500,7 @@ def for_each_yaxis(self, fn, selector=None, row=None, col=None, secondary_y=None Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_yaxes( selector=selector, row=row, col=col, secondary_y=secondary_y @@ -20931,7 +21518,7 @@ def update_yaxes( col=None, secondary_y=None, **kwargs, - ): + ) -> "FigureWidget": """ Perform a property update operation on all yaxis objects that satisfy the specified selection criteria @@ -20980,7 +21567,7 @@ def update_yaxes( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self.select_yaxes( selector=selector, row=row, col=col, secondary_y=secondary_y @@ -21078,7 +21665,7 @@ def for_each_annotation( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self._select_annotations_like( prop="annotations", @@ -21093,7 +21680,7 @@ def for_each_annotation( def update_annotations( self, patch=None, selector=None, row=None, col=None, secondary_y=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all annotations that satisfy the specified selection criteria @@ -21140,7 +21727,7 @@ def update_annotations( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self._select_annotations_like( prop="annotations", @@ -21655,7 +22242,7 @@ def for_each_layout_image( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self._select_annotations_like( prop="images", @@ -21670,7 +22257,7 @@ def for_each_layout_image( def update_layout_images( self, patch=None, selector=None, row=None, col=None, secondary_y=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all images that satisfy the specified selection criteria @@ -21717,7 +22304,7 @@ def update_layout_images( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self._select_annotations_like( prop="images", @@ -21980,7 +22567,7 @@ def for_each_shape(self, fn, selector=None, row=None, col=None, secondary_y=None Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self._select_annotations_like( prop="shapes", @@ -21995,7 +22582,7 @@ def for_each_shape(self, fn, selector=None, row=None, col=None, secondary_y=None def update_shapes( self, patch=None, selector=None, row=None, col=None, secondary_y=None, **kwargs - ): + ) -> "FigureWidget": """ Perform a property update operation on all shapes that satisfy the specified selection criteria @@ -22042,7 +22629,7 @@ def update_shapes( Returns ------- self - Returns the Figure object that the method was called on + Returns the FigureWidget object that the method was called on """ for obj in self._select_annotations_like( prop="shapes", diff --git a/packages/python/plotly/plotly/graph_objs/_frame.py b/packages/python/plotly/plotly/graph_objs/_frame.py index ebda27dc32b..a5782f794d2 100644 --- a/packages/python/plotly/plotly/graph_objs/_frame.py +++ b/packages/python/plotly/plotly/graph_objs/_frame.py @@ -221,8 +221,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Frame -constructor must be a dict or +The first argument to the plotly.graph_objs.Frame +constructor must be a dict or an instance of :class:`plotly.graph_objs.Frame`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_funnel.py b/packages/python/plotly/plotly/graph_objs/_funnel.py index f73d404d8e5..c28ee782f07 100644 --- a/packages/python/plotly/plotly/graph_objs/_funnel.py +++ b/packages/python/plotly/plotly/graph_objs/_funnel.py @@ -2605,8 +2605,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Funnel -constructor must be a dict or +The first argument to the plotly.graph_objs.Funnel +constructor must be a dict or an instance of :class:`plotly.graph_objs.Funnel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_funnelarea.py b/packages/python/plotly/plotly/graph_objs/_funnelarea.py index 0e195da79d6..a521c10da77 100644 --- a/packages/python/plotly/plotly/graph_objs/_funnelarea.py +++ b/packages/python/plotly/plotly/graph_objs/_funnelarea.py @@ -1771,8 +1771,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Funnelarea -constructor must be a dict or +The first argument to the plotly.graph_objs.Funnelarea +constructor must be a dict or an instance of :class:`plotly.graph_objs.Funnelarea`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_heatmap.py b/packages/python/plotly/plotly/graph_objs/_heatmap.py index 49435405fa1..3c3c6c05938 100644 --- a/packages/python/plotly/plotly/graph_objs/_heatmap.py +++ b/packages/python/plotly/plotly/graph_objs/_heatmap.py @@ -2811,8 +2811,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Heatmap -constructor must be a dict or +The first argument to the plotly.graph_objs.Heatmap +constructor must be a dict or an instance of :class:`plotly.graph_objs.Heatmap`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_heatmapgl.py b/packages/python/plotly/plotly/graph_objs/_heatmapgl.py index 13bc91fd643..e91da9bb502 100644 --- a/packages/python/plotly/plotly/graph_objs/_heatmapgl.py +++ b/packages/python/plotly/plotly/graph_objs/_heatmapgl.py @@ -1887,8 +1887,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Heatmapgl -constructor must be a dict or +The first argument to the plotly.graph_objs.Heatmapgl +constructor must be a dict or an instance of :class:`plotly.graph_objs.Heatmapgl`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_histogram.py b/packages/python/plotly/plotly/graph_objs/_histogram.py index 9ff3a2a31c1..a41c1e989a2 100644 --- a/packages/python/plotly/plotly/graph_objs/_histogram.py +++ b/packages/python/plotly/plotly/graph_objs/_histogram.py @@ -2854,8 +2854,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Histogram -constructor must be a dict or +The first argument to the plotly.graph_objs.Histogram +constructor must be a dict or an instance of :class:`plotly.graph_objs.Histogram`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_histogram2d.py b/packages/python/plotly/plotly/graph_objs/_histogram2d.py index 52945cf5816..e2c6d391ef7 100644 --- a/packages/python/plotly/plotly/graph_objs/_histogram2d.py +++ b/packages/python/plotly/plotly/graph_objs/_histogram2d.py @@ -2753,8 +2753,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Histogram2d -constructor must be a dict or +The first argument to the plotly.graph_objs.Histogram2d +constructor must be a dict or an instance of :class:`plotly.graph_objs.Histogram2d`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_histogram2dcontour.py b/packages/python/plotly/plotly/graph_objs/_histogram2dcontour.py index f5141a3536d..2830cdb1f66 100644 --- a/packages/python/plotly/plotly/graph_objs/_histogram2dcontour.py +++ b/packages/python/plotly/plotly/graph_objs/_histogram2dcontour.py @@ -2895,8 +2895,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Histogram2dContour -constructor must be a dict or +The first argument to the plotly.graph_objs.Histogram2dContour +constructor must be a dict or an instance of :class:`plotly.graph_objs.Histogram2dContour`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_icicle.py b/packages/python/plotly/plotly/graph_objs/_icicle.py index 371a9def52b..5a6db0988c8 100644 --- a/packages/python/plotly/plotly/graph_objs/_icicle.py +++ b/packages/python/plotly/plotly/graph_objs/_icicle.py @@ -2041,8 +2041,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Icicle -constructor must be a dict or +The first argument to the plotly.graph_objs.Icicle +constructor must be a dict or an instance of :class:`plotly.graph_objs.Icicle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_image.py b/packages/python/plotly/plotly/graph_objs/_image.py index cee2d06750a..d994cfcb4be 100644 --- a/packages/python/plotly/plotly/graph_objs/_image.py +++ b/packages/python/plotly/plotly/graph_objs/_image.py @@ -1406,8 +1406,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Image -constructor must be a dict or +The first argument to the plotly.graph_objs.Image +constructor must be a dict or an instance of :class:`plotly.graph_objs.Image`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_indicator.py b/packages/python/plotly/plotly/graph_objs/_indicator.py index d50e6f91065..015a1f8457d 100644 --- a/packages/python/plotly/plotly/graph_objs/_indicator.py +++ b/packages/python/plotly/plotly/graph_objs/_indicator.py @@ -908,8 +908,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Indicator -constructor must be a dict or +The first argument to the plotly.graph_objs.Indicator +constructor must be a dict or an instance of :class:`plotly.graph_objs.Indicator`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_isosurface.py b/packages/python/plotly/plotly/graph_objs/_isosurface.py index cd1495736e8..1ca611fe4bb 100644 --- a/packages/python/plotly/plotly/graph_objs/_isosurface.py +++ b/packages/python/plotly/plotly/graph_objs/_isosurface.py @@ -2562,8 +2562,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Isosurface -constructor must be a dict or +The first argument to the plotly.graph_objs.Isosurface +constructor must be a dict or an instance of :class:`plotly.graph_objs.Isosurface`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_layout.py b/packages/python/plotly/plotly/graph_objs/_layout.py index fcfe9a152dd..69ba8d85423 100644 --- a/packages/python/plotly/plotly/graph_objs/_layout.py +++ b/packages/python/plotly/plotly/graph_objs/_layout.py @@ -5964,8 +5964,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Layout -constructor must be a dict or +The first argument to the plotly.graph_objs.Layout +constructor must be a dict or an instance of :class:`plotly.graph_objs.Layout`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_mesh3d.py b/packages/python/plotly/plotly/graph_objs/_mesh3d.py index cff18e6a71e..14ef81c0052 100644 --- a/packages/python/plotly/plotly/graph_objs/_mesh3d.py +++ b/packages/python/plotly/plotly/graph_objs/_mesh3d.py @@ -2954,8 +2954,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Mesh3d -constructor must be a dict or +The first argument to the plotly.graph_objs.Mesh3d +constructor must be a dict or an instance of :class:`plotly.graph_objs.Mesh3d`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_ohlc.py b/packages/python/plotly/plotly/graph_objs/_ohlc.py index 1d56c1122f1..56cf001cc45 100644 --- a/packages/python/plotly/plotly/graph_objs/_ohlc.py +++ b/packages/python/plotly/plotly/graph_objs/_ohlc.py @@ -1696,8 +1696,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Ohlc -constructor must be a dict or +The first argument to the plotly.graph_objs.Ohlc +constructor must be a dict or an instance of :class:`plotly.graph_objs.Ohlc`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_parcats.py b/packages/python/plotly/plotly/graph_objs/_parcats.py index 97ba19a30de..a7389021f01 100644 --- a/packages/python/plotly/plotly/graph_objs/_parcats.py +++ b/packages/python/plotly/plotly/graph_objs/_parcats.py @@ -1171,8 +1171,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Parcats -constructor must be a dict or +The first argument to the plotly.graph_objs.Parcats +constructor must be a dict or an instance of :class:`plotly.graph_objs.Parcats`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_parcoords.py b/packages/python/plotly/plotly/graph_objs/_parcoords.py index 9fd63d8716c..7d145fb9aac 100644 --- a/packages/python/plotly/plotly/graph_objs/_parcoords.py +++ b/packages/python/plotly/plotly/graph_objs/_parcoords.py @@ -1108,8 +1108,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Parcoords -constructor must be a dict or +The first argument to the plotly.graph_objs.Parcoords +constructor must be a dict or an instance of :class:`plotly.graph_objs.Parcoords`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_pie.py b/packages/python/plotly/plotly/graph_objs/_pie.py index 080c5020fa1..02abdf2b4d7 100644 --- a/packages/python/plotly/plotly/graph_objs/_pie.py +++ b/packages/python/plotly/plotly/graph_objs/_pie.py @@ -2144,8 +2144,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Pie -constructor must be a dict or +The first argument to the plotly.graph_objs.Pie +constructor must be a dict or an instance of :class:`plotly.graph_objs.Pie`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_pointcloud.py b/packages/python/plotly/plotly/graph_objs/_pointcloud.py index 76f45ba7c16..cfa7d04aa93 100644 --- a/packages/python/plotly/plotly/graph_objs/_pointcloud.py +++ b/packages/python/plotly/plotly/graph_objs/_pointcloud.py @@ -1361,8 +1361,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Pointcloud -constructor must be a dict or +The first argument to the plotly.graph_objs.Pointcloud +constructor must be a dict or an instance of :class:`plotly.graph_objs.Pointcloud`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_sankey.py b/packages/python/plotly/plotly/graph_objs/_sankey.py index e8155dc9e84..98a31f5a7d4 100644 --- a/packages/python/plotly/plotly/graph_objs/_sankey.py +++ b/packages/python/plotly/plotly/graph_objs/_sankey.py @@ -1196,8 +1196,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Sankey -constructor must be a dict or +The first argument to the plotly.graph_objs.Sankey +constructor must be a dict or an instance of :class:`plotly.graph_objs.Sankey`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scatter.py b/packages/python/plotly/plotly/graph_objs/_scatter.py index c16f89b45f6..3e112c18fdf 100644 --- a/packages/python/plotly/plotly/graph_objs/_scatter.py +++ b/packages/python/plotly/plotly/graph_objs/_scatter.py @@ -3074,8 +3074,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scatter -constructor must be a dict or +The first argument to the plotly.graph_objs.Scatter +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scatter`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scatter3d.py b/packages/python/plotly/plotly/graph_objs/_scatter3d.py index d550c539993..656ac2af457 100644 --- a/packages/python/plotly/plotly/graph_objs/_scatter3d.py +++ b/packages/python/plotly/plotly/graph_objs/_scatter3d.py @@ -2500,8 +2500,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scatter3d -constructor must be a dict or +The first argument to the plotly.graph_objs.Scatter3d +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scatter3d`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scattercarpet.py b/packages/python/plotly/plotly/graph_objs/_scattercarpet.py index d26cc549e78..962771576dc 100644 --- a/packages/python/plotly/plotly/graph_objs/_scattercarpet.py +++ b/packages/python/plotly/plotly/graph_objs/_scattercarpet.py @@ -2060,8 +2060,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scattercarpet -constructor must be a dict or +The first argument to the plotly.graph_objs.Scattercarpet +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scattercarpet`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scattergeo.py b/packages/python/plotly/plotly/graph_objs/_scattergeo.py index c48978e1a87..38decba0587 100644 --- a/packages/python/plotly/plotly/graph_objs/_scattergeo.py +++ b/packages/python/plotly/plotly/graph_objs/_scattergeo.py @@ -2112,8 +2112,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scattergeo -constructor must be a dict or +The first argument to the plotly.graph_objs.Scattergeo +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scattergeo`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scattergl.py b/packages/python/plotly/plotly/graph_objs/_scattergl.py index 6ce56492414..0be5668787e 100644 --- a/packages/python/plotly/plotly/graph_objs/_scattergl.py +++ b/packages/python/plotly/plotly/graph_objs/_scattergl.py @@ -2672,8 +2672,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scattergl -constructor must be a dict or +The first argument to the plotly.graph_objs.Scattergl +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scattergl`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scattermapbox.py b/packages/python/plotly/plotly/graph_objs/_scattermapbox.py index a2e791ad2b2..8a20a686f59 100644 --- a/packages/python/plotly/plotly/graph_objs/_scattermapbox.py +++ b/packages/python/plotly/plotly/graph_objs/_scattermapbox.py @@ -1910,8 +1910,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scattermapbox -constructor must be a dict or +The first argument to the plotly.graph_objs.Scattermapbox +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scattermapbox`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scatterpolar.py b/packages/python/plotly/plotly/graph_objs/_scatterpolar.py index d15c2ef072b..ddc9fc38fdc 100644 --- a/packages/python/plotly/plotly/graph_objs/_scatterpolar.py +++ b/packages/python/plotly/plotly/graph_objs/_scatterpolar.py @@ -2184,8 +2184,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scatterpolar -constructor must be a dict or +The first argument to the plotly.graph_objs.Scatterpolar +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scatterpolar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scatterpolargl.py b/packages/python/plotly/plotly/graph_objs/_scatterpolargl.py index a70c5a0c93a..26d529d350b 100644 --- a/packages/python/plotly/plotly/graph_objs/_scatterpolargl.py +++ b/packages/python/plotly/plotly/graph_objs/_scatterpolargl.py @@ -2126,8 +2126,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scatterpolargl -constructor must be a dict or +The first argument to the plotly.graph_objs.Scatterpolargl +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scatterpolargl`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scattersmith.py b/packages/python/plotly/plotly/graph_objs/_scattersmith.py index beabad80c32..5db781598ea 100644 --- a/packages/python/plotly/plotly/graph_objs/_scattersmith.py +++ b/packages/python/plotly/plotly/graph_objs/_scattersmith.py @@ -2045,8 +2045,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scattersmith -constructor must be a dict or +The first argument to the plotly.graph_objs.Scattersmith +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scattersmith`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_scatterternary.py b/packages/python/plotly/plotly/graph_objs/_scatterternary.py index acc86edb578..96d04502ada 100644 --- a/packages/python/plotly/plotly/graph_objs/_scatterternary.py +++ b/packages/python/plotly/plotly/graph_objs/_scatterternary.py @@ -2158,8 +2158,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Scatterternary -constructor must be a dict or +The first argument to the plotly.graph_objs.Scatterternary +constructor must be a dict or an instance of :class:`plotly.graph_objs.Scatterternary`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_splom.py b/packages/python/plotly/plotly/graph_objs/_splom.py index 3267a7b17f0..efbe1f869c6 100644 --- a/packages/python/plotly/plotly/graph_objs/_splom.py +++ b/packages/python/plotly/plotly/graph_objs/_splom.py @@ -1723,8 +1723,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Splom -constructor must be a dict or +The first argument to the plotly.graph_objs.Splom +constructor must be a dict or an instance of :class:`plotly.graph_objs.Splom`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_streamtube.py b/packages/python/plotly/plotly/graph_objs/_streamtube.py index 86576d63795..92b6a8ef9d8 100644 --- a/packages/python/plotly/plotly/graph_objs/_streamtube.py +++ b/packages/python/plotly/plotly/graph_objs/_streamtube.py @@ -2505,8 +2505,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Streamtube -constructor must be a dict or +The first argument to the plotly.graph_objs.Streamtube +constructor must be a dict or an instance of :class:`plotly.graph_objs.Streamtube`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_sunburst.py b/packages/python/plotly/plotly/graph_objs/_sunburst.py index 0da01de0bbc..82d8af8c64c 100644 --- a/packages/python/plotly/plotly/graph_objs/_sunburst.py +++ b/packages/python/plotly/plotly/graph_objs/_sunburst.py @@ -1997,8 +1997,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Sunburst -constructor must be a dict or +The first argument to the plotly.graph_objs.Sunburst +constructor must be a dict or an instance of :class:`plotly.graph_objs.Sunburst`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_surface.py b/packages/python/plotly/plotly/graph_objs/_surface.py index 06c374c8866..e69bf3e1d86 100644 --- a/packages/python/plotly/plotly/graph_objs/_surface.py +++ b/packages/python/plotly/plotly/graph_objs/_surface.py @@ -2464,8 +2464,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Surface -constructor must be a dict or +The first argument to the plotly.graph_objs.Surface +constructor must be a dict or an instance of :class:`plotly.graph_objs.Surface`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_table.py b/packages/python/plotly/plotly/graph_objs/_table.py index 4381a2ae969..500432d5f89 100644 --- a/packages/python/plotly/plotly/graph_objs/_table.py +++ b/packages/python/plotly/plotly/graph_objs/_table.py @@ -1027,8 +1027,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Table -constructor must be a dict or +The first argument to the plotly.graph_objs.Table +constructor must be a dict or an instance of :class:`plotly.graph_objs.Table`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_treemap.py b/packages/python/plotly/plotly/graph_objs/_treemap.py index ef12514247b..d6dbef24754 100644 --- a/packages/python/plotly/plotly/graph_objs/_treemap.py +++ b/packages/python/plotly/plotly/graph_objs/_treemap.py @@ -2029,8 +2029,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Treemap -constructor must be a dict or +The first argument to the plotly.graph_objs.Treemap +constructor must be a dict or an instance of :class:`plotly.graph_objs.Treemap`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_violin.py b/packages/python/plotly/plotly/graph_objs/_violin.py index 678eae6d6fb..27522134fa3 100644 --- a/packages/python/plotly/plotly/graph_objs/_violin.py +++ b/packages/python/plotly/plotly/graph_objs/_violin.py @@ -2313,8 +2313,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Violin -constructor must be a dict or +The first argument to the plotly.graph_objs.Violin +constructor must be a dict or an instance of :class:`plotly.graph_objs.Violin`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_volume.py b/packages/python/plotly/plotly/graph_objs/_volume.py index aca6b8ae76b..24e4f4dacde 100644 --- a/packages/python/plotly/plotly/graph_objs/_volume.py +++ b/packages/python/plotly/plotly/graph_objs/_volume.py @@ -2611,8 +2611,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Volume -constructor must be a dict or +The first argument to the plotly.graph_objs.Volume +constructor must be a dict or an instance of :class:`plotly.graph_objs.Volume`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/_waterfall.py b/packages/python/plotly/plotly/graph_objs/_waterfall.py index c3a9b4ba168..070e5e9a5ab 100644 --- a/packages/python/plotly/plotly/graph_objs/_waterfall.py +++ b/packages/python/plotly/plotly/graph_objs/_waterfall.py @@ -2721,8 +2721,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.Waterfall -constructor must be a dict or +The first argument to the plotly.graph_objs.Waterfall +constructor must be a dict or an instance of :class:`plotly.graph_objs.Waterfall`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_error_x.py b/packages/python/plotly/plotly/graph_objs/bar/_error_x.py index dceefad05e6..3a5a34cf8f6 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_error_x.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_error_x.py @@ -547,8 +547,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.ErrorX -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.ErrorX +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.ErrorX`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_error_y.py b/packages/python/plotly/plotly/graph_objs/bar/_error_y.py index d9fff0c5be1..db135609888 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_error_y.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_error_y.py @@ -523,8 +523,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.ErrorY -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.ErrorY +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.ErrorY`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/bar/_hoverlabel.py index 5e084df5124..5816a0e1d91 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/bar/_insidetextfont.py index 569d82f04e9..49dbef6d350 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/bar/_legendgrouptitle.py index a3936151e46..cb8bb6f1413 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_marker.py b/packages/python/plotly/plotly/graph_objs/bar/_marker.py index 95885c70836..a52e59a49cd 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_marker.py @@ -1085,8 +1085,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/bar/_outsidetextfont.py index e46fb375834..6a912e56f03 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_outsidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_selected.py b/packages/python/plotly/plotly/graph_objs/bar/_selected.py index 322d667bfbb..2cacdf125c1 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_selected.py @@ -114,8 +114,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_stream.py b/packages/python/plotly/plotly/graph_objs/bar/_stream.py index 386335271b5..5b276e2eee3 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_textfont.py b/packages/python/plotly/plotly/graph_objs/bar/_textfont.py index 1091558d9bb..e17ca4549d8 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_textfont.py @@ -283,8 +283,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/_unselected.py b/packages/python/plotly/plotly/graph_objs/bar/_unselected.py index ae9ef64aa22..cac2eb44626 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/bar/_unselected.py @@ -118,8 +118,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/bar/hoverlabel/_font.py index 95ae6acce78..46a85763cd9 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/bar/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/bar/legendgrouptitle/_font.py index 619450157f7..4b0e894ae9b 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/bar/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/bar/marker/_colorbar.py index 57a0cf1439a..946d9609d11 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/_colorbar.py @@ -1950,8 +1950,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/_line.py b/packages/python/plotly/plotly/graph_objs/bar/marker/_line.py index 79705980270..b433c2c3412 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/_pattern.py b/packages/python/plotly/plotly/graph_objs/bar/marker/_pattern.py index d978681d8fb..423062a8379 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/_pattern.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/_pattern.py @@ -510,8 +510,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.Pattern -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.Pattern +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.Pattern`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickfont.py index 233825af2f4..4a23d7c89f4 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py index 8ff524f8dcd..43310337d71 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_title.py index 7a9be60611c..7ad8cce8f5d 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/title/_font.py index 57ed214de6d..a1222ca03b0 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/bar/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/bar/selected/_marker.py index 00eda2f65b6..bb3c22b56e5 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/bar/selected/_marker.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/bar/selected/_textfont.py index 2ddfdeec187..d6dc88660c2 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/bar/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/bar/unselected/_marker.py index 0882a16e501..61d2d0d8e1a 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/bar/unselected/_marker.py @@ -142,8 +142,8 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/bar/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/bar/unselected/_textfont.py index a910367748b..59c239103f4 100644 --- a/packages/python/plotly/plotly/graph_objs/bar/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/bar/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.bar.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.bar.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.bar.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/barpolar/_hoverlabel.py index 38c546c7007..969e6b65217 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/barpolar/_legendgrouptitle.py index 9f9d99ce35d..99cdc8203e6 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/_marker.py b/packages/python/plotly/plotly/graph_objs/barpolar/_marker.py index fa2b28cd69c..89b3077658b 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/_marker.py @@ -1087,8 +1087,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/_selected.py b/packages/python/plotly/plotly/graph_objs/barpolar/_selected.py index a077289566b..2738d420abe 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/_selected.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/_stream.py b/packages/python/plotly/plotly/graph_objs/barpolar/_stream.py index e2c63f966b3..fbfdae7eb20 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/_unselected.py b/packages/python/plotly/plotly/graph_objs/barpolar/_unselected.py index f8e43f3b2b5..a83f6199860 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/_unselected.py @@ -118,8 +118,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/barpolar/hoverlabel/_font.py index 552047daddc..24eb7e16467 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/barpolar/legendgrouptitle/_font.py index 506947b5a48..3bf6a610416 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/_colorbar.py index b78af3c21c0..069aebca5b8 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/_line.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/_line.py index f062776694c..1cd5dc618b6 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/_pattern.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/_pattern.py index e26733ab68a..74f81eefccc 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/_pattern.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/_pattern.py @@ -510,8 +510,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.Pattern -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.Pattern +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.Pattern`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py index 532c83efc39..3fda8900676 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py index 54d66712e1c..c74dabd649d 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_title.py index 1549ce8b881..a4b9993f886 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py index 862003b5522..22435f294b6 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/barpolar/selected/_marker.py index 168a2d9f264..f8f39796538 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/selected/_marker.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/barpolar/selected/_textfont.py index e8d9904ad88..55f2e0291d0 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_marker.py index 28a7ab9c9d2..57a165ddd42 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_marker.py @@ -142,8 +142,8 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_textfont.py index e7ad6554284..ae9cbbb18de 100644 --- a/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/barpolar/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.barpolar.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.barpolar.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.barpolar.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/box/_hoverlabel.py index b70334477f5..d3b41866546 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/box/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/box/_legendgrouptitle.py index 811f967f7f4..869b972e5ef 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/box/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_line.py b/packages/python/plotly/plotly/graph_objs/box/_line.py index 70f8e907994..577cef7233e 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_line.py +++ b/packages/python/plotly/plotly/graph_objs/box/_line.py @@ -135,8 +135,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_marker.py b/packages/python/plotly/plotly/graph_objs/box/_marker.py index 534c2b31b57..68f4c7e7c8e 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/box/_marker.py @@ -411,8 +411,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_selected.py b/packages/python/plotly/plotly/graph_objs/box/_selected.py index 171a704cda2..74b4d956167 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/box/_selected.py @@ -84,8 +84,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_stream.py b/packages/python/plotly/plotly/graph_objs/box/_stream.py index f79b97ca59d..7f218ccefd8 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/box/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/_unselected.py b/packages/python/plotly/plotly/graph_objs/box/_unselected.py index 5fc09a5050d..05b5168d699 100644 --- a/packages/python/plotly/plotly/graph_objs/box/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/box/_unselected.py @@ -88,8 +88,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.box.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/box/hoverlabel/_font.py index cb5f8a5892e..1fae591fcfc 100644 --- a/packages/python/plotly/plotly/graph_objs/box/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/box/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.box.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/box/legendgrouptitle/_font.py index 32a9962ef67..87a22af87d4 100644 --- a/packages/python/plotly/plotly/graph_objs/box/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/box/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.box.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/marker/_line.py b/packages/python/plotly/plotly/graph_objs/box/marker/_line.py index 640c9be3201..9f393936235 100644 --- a/packages/python/plotly/plotly/graph_objs/box/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/box/marker/_line.py @@ -250,8 +250,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.box.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/box/selected/_marker.py index fac4999ec14..271ae2b8b93 100644 --- a/packages/python/plotly/plotly/graph_objs/box/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/box/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.box.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/box/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/box/unselected/_marker.py index d89fe7f8f12..dab1bcd3183 100644 --- a/packages/python/plotly/plotly/graph_objs/box/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/box/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.box.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.box.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.box.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/_decreasing.py b/packages/python/plotly/plotly/graph_objs/candlestick/_decreasing.py index 8be11854970..e7bfc440822 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/_decreasing.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/_decreasing.py @@ -153,8 +153,8 @@ def __init__(self, arg=None, fillcolor=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.Decreasing -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.Decreasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.Decreasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/candlestick/_hoverlabel.py index 1b4f473cf45..ae5e2f43cef 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/_hoverlabel.py @@ -474,8 +474,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/_increasing.py b/packages/python/plotly/plotly/graph_objs/candlestick/_increasing.py index 9a9b03b8d0a..a93cdb43a45 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/_increasing.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/_increasing.py @@ -153,8 +153,8 @@ def __init__(self, arg=None, fillcolor=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.Increasing -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.Increasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.Increasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/candlestick/_legendgrouptitle.py index b19f0ee1e0a..c671009c2ce 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/_line.py b/packages/python/plotly/plotly/graph_objs/candlestick/_line.py index dcb9e5323cd..f1c95b633dd 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/_line.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/_line.py @@ -81,8 +81,8 @@ def __init__(self, arg=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/_stream.py b/packages/python/plotly/plotly/graph_objs/candlestick/_stream.py index 09ae4efa745..c399e008dac 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/decreasing/_line.py b/packages/python/plotly/plotly/graph_objs/candlestick/decreasing/_line.py index 8ce53074ac8..e3ea54012a4 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/decreasing/_line.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/decreasing/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.decreasing.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.decreasing.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.decreasing.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/candlestick/hoverlabel/_font.py index 7311ff29412..2cb213f3625 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/increasing/_line.py b/packages/python/plotly/plotly/graph_objs/candlestick/increasing/_line.py index 4f2f607d2c2..7c40879a535 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/increasing/_line.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/increasing/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.increasing.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.increasing.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.increasing.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/candlestick/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/candlestick/legendgrouptitle/_font.py index 242f7ff8359..5a98c0e495e 100644 --- a/packages/python/plotly/plotly/graph_objs/candlestick/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/candlestick/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.candlestick.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.candlestick.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.candlestick.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/_aaxis.py b/packages/python/plotly/plotly/graph_objs/carpet/_aaxis.py index ea63f333ed0..89a3ecf55a8 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/_aaxis.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/_aaxis.py @@ -2243,8 +2243,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.Aaxis -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.Aaxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.Aaxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/_baxis.py b/packages/python/plotly/plotly/graph_objs/carpet/_baxis.py index 433452ffe60..82c7a246c9d 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/_baxis.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/_baxis.py @@ -2243,8 +2243,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.Baxis -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.Baxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.Baxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/_font.py b/packages/python/plotly/plotly/graph_objs/carpet/_font.py index 89aad1f8264..0809c36acac 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/_font.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/_font.py @@ -192,8 +192,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/carpet/_legendgrouptitle.py index 03de123dc59..26dc5f8771d 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/_stream.py b/packages/python/plotly/plotly/graph_objs/carpet/_stream.py index a3748e6e156..c5480dabab4 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickfont.py index c63a3a5eb7c..8ead85ea463 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.aaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.aaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.aaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickformatstop.py index 248ab1648c6..00b65384ce5 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.aaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.aaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.aaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_title.py b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_title.py index 57272fcc356..b715b30ff23 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/_title.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, font=None, offset=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.aaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.aaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.aaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/title/_font.py index ce0bcac4167..5b99c7cc99f 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/aaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/aaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.aaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.aaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.aaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickfont.py index b49d20b32c8..aadd2a67a46 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.baxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.baxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickformatstop.py index 67db091923a..8fdb187c5a0 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/baxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.baxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.baxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/baxis/_title.py b/packages/python/plotly/plotly/graph_objs/carpet/baxis/_title.py index c1aecb7f129..6e5a62562f9 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/baxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/baxis/_title.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, font=None, offset=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.baxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.baxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.baxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/baxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/carpet/baxis/title/_font.py index f971b69ecd0..8298d331e31 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/baxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/baxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.baxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.baxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.baxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/carpet/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/carpet/legendgrouptitle/_font.py index 57928c83d32..375fe16735f 100644 --- a/packages/python/plotly/plotly/graph_objs/carpet/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/carpet/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.carpet.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.carpet.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.carpet.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_colorbar.py b/packages/python/plotly/plotly/graph_objs/choropleth/_colorbar.py index bcdb0fc1561..5229ad2d83a 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_colorbar.py @@ -1950,8 +1950,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/choropleth/_hoverlabel.py index b76c47f16be..653387d2770 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/choropleth/_legendgrouptitle.py index 2cf4fc823bb..9ac23368edf 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_marker.py b/packages/python/plotly/plotly/graph_objs/choropleth/_marker.py index 940b82b6b5b..4057da47bd2 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_marker.py @@ -146,8 +146,8 @@ def __init__(self, arg=None, line=None, opacity=None, opacitysrc=None, **kwargs) else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_selected.py b/packages/python/plotly/plotly/graph_objs/choropleth/_selected.py index f4496f728a9..b0918c3ec28 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_selected.py @@ -81,8 +81,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_stream.py b/packages/python/plotly/plotly/graph_objs/choropleth/_stream.py index b055e48aec0..8a641e2d196 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/_unselected.py b/packages/python/plotly/plotly/graph_objs/choropleth/_unselected.py index 13b92816635..f43fcdfbd93 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/_unselected.py @@ -82,8 +82,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickfont.py index 41536f46f1e..90780b616e9 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py index 1f09b385a97..6ebb3aafc7c 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_title.py index 401c13ff1bd..c04329708c5 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/title/_font.py index 1b2a16a554e..d9517b65191 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/choropleth/hoverlabel/_font.py index acecc0264b3..9d070fe61fe 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/choropleth/legendgrouptitle/_font.py index 8f28b6f063a..276c66e6861 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/marker/_line.py b/packages/python/plotly/plotly/graph_objs/choropleth/marker/_line.py index fa557dafcc0..06f46723302 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/marker/_line.py @@ -205,8 +205,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/choropleth/selected/_marker.py index 14134d7264c..a7c78815060 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/selected/_marker.py @@ -73,8 +73,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choropleth/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/choropleth/unselected/_marker.py index 99e04fb1987..5b1f9b9c4c3 100644 --- a/packages/python/plotly/plotly/graph_objs/choropleth/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/choropleth/unselected/_marker.py @@ -76,8 +76,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choropleth.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.choropleth.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.choropleth.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_colorbar.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_colorbar.py index f32238d07ea..a307fe3ab7e 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_colorbar.py @@ -1954,8 +1954,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_hoverlabel.py index c9540c424dc..e82a4304b6f 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py index e6fcbe90558..7ea0a7159a0 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_marker.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_marker.py index 47a8e9b61a0..e8c15b2a0c9 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_marker.py @@ -146,8 +146,8 @@ def __init__(self, arg=None, line=None, opacity=None, opacitysrc=None, **kwargs) else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_selected.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_selected.py index 6534a301849..0d8b3d0bce5 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_selected.py @@ -81,8 +81,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_stream.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_stream.py index 04c29db7ca4..109aa2aaadc 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_unselected.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_unselected.py index e41b4f60e44..e42b481cb20 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/_unselected.py @@ -82,8 +82,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py index f66ed3da488..0db1a0038df 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py index 916acf008fe..396ee959d26 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_title.py index 2b4acac7c80..1af6c2b061a 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py index 44bdb12da7f..7b3fbc775d9 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py index a391cb082a0..3b374c3387c 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py index 89128338f43..3f625b8ee38 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/marker/_line.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/marker/_line.py index c6bca844e22..c7b71f2ed34 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/marker/_line.py @@ -205,8 +205,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/selected/_marker.py index 170cd22eb00..f4ec556e342 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/selected/_marker.py @@ -73,8 +73,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/unselected/_marker.py index e567ab0a4ca..1d6bdff0ab5 100644 --- a/packages/python/plotly/plotly/graph_objs/choroplethmapbox/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/choroplethmapbox/unselected/_marker.py @@ -76,8 +76,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.choroplethmapbox.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.choroplethmapbox.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.choroplethmapbox.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/_colorbar.py b/packages/python/plotly/plotly/graph_objs/cone/_colorbar.py index 0e363afb3ad..4dc71ef4ca4 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/cone/_colorbar.py @@ -1950,8 +1950,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/cone/_hoverlabel.py index 7380b4c6821..7068c5e7002 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/cone/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/cone/_legendgrouptitle.py index 84ae2dec858..786e3b22952 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/cone/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/_lighting.py b/packages/python/plotly/plotly/graph_objs/cone/_lighting.py index e8d9cac0858..d30017a71f5 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/_lighting.py +++ b/packages/python/plotly/plotly/graph_objs/cone/_lighting.py @@ -261,8 +261,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.Lighting -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.Lighting +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.Lighting`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/_lightposition.py b/packages/python/plotly/plotly/graph_objs/cone/_lightposition.py index 8d870fe76f7..9751ecc0837 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/_lightposition.py +++ b/packages/python/plotly/plotly/graph_objs/cone/_lightposition.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.Lightposition -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.Lightposition +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.Lightposition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/_stream.py b/packages/python/plotly/plotly/graph_objs/cone/_stream.py index 93aeedd696d..369a19fffec 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/cone/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickfont.py index 301c8ceddeb..d2f0db6dc9d 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickformatstop.py index cff866ed2cd..e0fee742fd8 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/cone/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/cone/colorbar/_title.py index b5fbd2aaed3..ab3fedc4a83 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/cone/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/cone/colorbar/title/_font.py index 85ced494a81..cbd9f564cc2 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/cone/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/cone/hoverlabel/_font.py index 1a9c472de93..a8d1d7d8a8b 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/cone/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/cone/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/cone/legendgrouptitle/_font.py index 93b2afc5306..1a5c7f3d4f9 100644 --- a/packages/python/plotly/plotly/graph_objs/cone/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/cone/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.cone.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.cone.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.cone.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_colorbar.py b/packages/python/plotly/plotly/graph_objs/contour/_colorbar.py index d498f2666f5..5c0f60b77e6 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_colorbar.py @@ -1951,8 +1951,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_contours.py b/packages/python/plotly/plotly/graph_objs/contour/_contours.py index a361a7136cc..f231ec11c81 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_contours.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_contours.py @@ -465,8 +465,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.Contours -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.Contours +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.Contours`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/contour/_hoverlabel.py index 7f218577305..aca8736c386 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/contour/_legendgrouptitle.py index 0023d38cee9..ca6f5241c51 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_line.py b/packages/python/plotly/plotly/graph_objs/contour/_line.py index 50fa9818f6a..9e307806d73 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_line.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_line.py @@ -209,8 +209,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_stream.py b/packages/python/plotly/plotly/graph_objs/contour/_stream.py index dc5c9972808..25e7f6ff1d2 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/_textfont.py b/packages/python/plotly/plotly/graph_objs/contour/_textfont.py index 0e57b556a3b..df00168580b 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/contour/_textfont.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickfont.py index d7349c3dec3..f6f059dd42d 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickformatstop.py index 12e2a8bda2a..6fc65bf4983 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/contour/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/contour/colorbar/_title.py index 377d068c465..c66f05c1c1d 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/contour/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/contour/colorbar/title/_font.py index ce81634aac9..d16ff253082 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/contour/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/contours/_labelfont.py b/packages/python/plotly/plotly/graph_objs/contour/contours/_labelfont.py index b489bdf9b45..0a162e97f77 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/contours/_labelfont.py +++ b/packages/python/plotly/plotly/graph_objs/contour/contours/_labelfont.py @@ -195,8 +195,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.contours.Labelfont -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.contours.Labelfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.contours.Labelfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/contour/hoverlabel/_font.py index 181d4507b11..2454ec75f4a 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/contour/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contour/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/contour/legendgrouptitle/_font.py index 5e33c286bab..3c4773de41d 100644 --- a/packages/python/plotly/plotly/graph_objs/contour/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/contour/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contour.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.contour.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.contour.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/_colorbar.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/_colorbar.py index 81dee12b0a6..2bdc6681650 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/_contours.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/_contours.py index f2c9bd032b6..4ce7672dcb4 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/_contours.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/_contours.py @@ -462,8 +462,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.Contours -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.Contours +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.Contours`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/_legendgrouptitle.py index cb1d4f10739..b5f4d1e9621 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/_line.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/_line.py index 31d7188ee3b..3fb5eced234 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/_line.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/_line.py @@ -210,8 +210,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/_stream.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/_stream.py index ae34a2d03c5..a2e5b4b748d 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py index ae948c11e2d..f9a5ec5a072 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py index 795e4e92688..6ebdca1e99a 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_title.py index cabc9cb0c7e..59566f18e5c 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/title/_font.py index bd29f5008fd..48ab4e83ac1 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/contours/_labelfont.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/contours/_labelfont.py index 923e2654370..c21771f3390 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/contours/_labelfont.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/contours/_labelfont.py @@ -195,8 +195,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.contours.Labelfont -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.contours.Labelfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.contours.Labelfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py index aaf62450d7a..09cdf0daa94 100644 --- a/packages/python/plotly/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.contourcarpet.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.contourcarpet.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.contourcarpet.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/_colorbar.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/_colorbar.py index 3f12be3d0f2..8ae29a1d889 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/_hoverlabel.py index 2c486413826..e15ab9d6820 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/_legendgrouptitle.py index bd5248f7b78..91266dce2cf 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/_stream.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/_stream.py index 52009fd11f4..de8233ade4b 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py index bdbace1ae4d..e253bb292c3 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py index 5c1575364a4..ac85a0876ec 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_title.py index ea21cee8689..011d6e11963 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/title/_font.py index b2da7f30928..411fd79901e 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/hoverlabel/_font.py index fb7eeb35642..dab81906cfa 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py index 412d6332158..6f6ec479901 100644 --- a/packages/python/plotly/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.densitymapbox.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.densitymapbox.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.densitymapbox.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_connector.py b/packages/python/plotly/plotly/graph_objs/funnel/_connector.py index b2edc04289e..e50299bb7ba 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_connector.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_connector.py @@ -175,8 +175,8 @@ def __init__(self, arg=None, fillcolor=None, line=None, visible=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Connector -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Connector +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Connector`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/funnel/_hoverlabel.py index 7ed533a0a6b..c075027c7d6 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/funnel/_insidetextfont.py index a25f567ce1c..145485ab32c 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/funnel/_legendgrouptitle.py index 55c6609c9c6..f55b6f63594 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_marker.py b/packages/python/plotly/plotly/graph_objs/funnel/_marker.py index 0e72a714a0d..2ce49b00d4d 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_marker.py @@ -1006,8 +1006,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/funnel/_outsidetextfont.py index 930e55a27d0..efa94cbf61e 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_outsidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_stream.py b/packages/python/plotly/plotly/graph_objs/funnel/_stream.py index cd58027af9a..9cc6b82f1cd 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/_textfont.py b/packages/python/plotly/plotly/graph_objs/funnel/_textfont.py index 7d2548fbaba..0d664634b42 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/connector/_line.py b/packages/python/plotly/plotly/graph_objs/funnel/connector/_line.py index 916ff64d09a..0771bf8e8f3 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/connector/_line.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/connector/_line.py @@ -172,8 +172,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.connector.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.connector.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.connector.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/funnel/hoverlabel/_font.py index bf23407d42f..49572a3fcff 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/funnel/legendgrouptitle/_font.py index 23ecb2e46b0..89e0f682312 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/funnel/marker/_colorbar.py index c18ae4d4d13..43dcd60611d 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/marker/_line.py b/packages/python/plotly/plotly/graph_objs/funnel/marker/_line.py index 16b6433786f..202a8c33325 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py index 93f2952acae..4eee2ceef78 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py index d57a7537878..152426ad61a 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_title.py index 9127406cf19..db5d37dd8b7 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/title/_font.py index 13ff183ea73..1d84831bece 100644 --- a/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/funnel/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnel.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.funnel.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_domain.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_domain.py index 8633b8f5e28..8768025974a 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_hoverlabel.py index 7014adff64c..16e2bfd70e3 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_insidetextfont.py index 63be923d428..530dbadfbff 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_legendgrouptitle.py index a38e30a3aac..ad171fe191e 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_marker.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_marker.py index 469dfc6a3b9..10a0a96ee41 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_marker.py @@ -146,8 +146,8 @@ def __init__(self, arg=None, colors=None, colorssrc=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_stream.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_stream.py index 0bff7d552fd..2d4b1cbced1 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_textfont.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_textfont.py index cd51edbb297..10b53104809 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/_title.py b/packages/python/plotly/plotly/graph_objs/funnelarea/_title.py index 6a9d010a1ca..2d7d4a5b7a3 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/_title.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/_title.py @@ -181,8 +181,8 @@ def __init__(self, arg=None, font=None, position=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/funnelarea/hoverlabel/_font.py index fed542d51cb..dac394e626a 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py index abbec5415b5..4fbafd64a24 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/marker/_line.py b/packages/python/plotly/plotly/graph_objs/funnelarea/marker/_line.py index 927af1259ec..d7768d59e28 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/marker/_line.py @@ -197,8 +197,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/funnelarea/title/_font.py b/packages/python/plotly/plotly/graph_objs/funnelarea/title/_font.py index 8141e3739e5..45bfcbfb7c7 100644 --- a/packages/python/plotly/plotly/graph_objs/funnelarea/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/funnelarea/title/_font.py @@ -285,8 +285,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.funnelarea.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.funnelarea.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.funnelarea.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/_colorbar.py b/packages/python/plotly/plotly/graph_objs/heatmap/_colorbar.py index e0268c22004..36b82d234ea 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/_colorbar.py @@ -1951,8 +1951,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/heatmap/_hoverlabel.py index c1c490e989d..65dab4db7fb 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/heatmap/_legendgrouptitle.py index 1a713a2620b..ad9fb920fbb 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/_stream.py b/packages/python/plotly/plotly/graph_objs/heatmap/_stream.py index 4a45b74c82c..9873a8efbd2 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/_textfont.py b/packages/python/plotly/plotly/graph_objs/heatmap/_textfont.py index 0358085d0bb..6286ddad23a 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/_textfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickfont.py index 31dcd3aca27..99a71a32b07 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py index 7a9d2d8ebb6..33191724a49 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_title.py index 4605721f917..754fb1f1fef 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/title/_font.py index 2f937597897..10beab1a7ed 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/heatmap/hoverlabel/_font.py index fb24d851556..186358060a4 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmap/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/heatmap/legendgrouptitle/_font.py index 2de75c40894..846338c6b01 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmap/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/heatmap/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmap.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmap.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmap.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/_colorbar.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/_colorbar.py index b2b495a382f..0c8940af2df 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/_colorbar.py @@ -1950,8 +1950,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/_hoverlabel.py index 2450d9966d5..3bdfaf7697a 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/_legendgrouptitle.py index 0ef1be82132..16a5104e77a 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/_stream.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/_stream.py index 0253ffd4cd2..b6a31e312d5 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py index 33f69bdd945..98dfcbed96b 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py index 3a2a0b590bc..36959104da5 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_title.py index e29d3e430a3..46ab6a150fe 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/title/_font.py index 79923a1bc28..c3918efc614 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/hoverlabel/_font.py index 2087ee25ccf..449e75ea5f1 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/heatmapgl/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/heatmapgl/legendgrouptitle/_font.py index 54c9348a8ac..2f03875f2ea 100644 --- a/packages/python/plotly/plotly/graph_objs/heatmapgl/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/heatmapgl/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.heatmapgl.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.heatmapgl.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.heatmapgl.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_cumulative.py b/packages/python/plotly/plotly/graph_objs/histogram/_cumulative.py index ae90b46c5d5..a0f4f94d07b 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_cumulative.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_cumulative.py @@ -171,8 +171,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Cumulative -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Cumulative +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Cumulative`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_error_x.py b/packages/python/plotly/plotly/graph_objs/histogram/_error_x.py index 6abca9b07db..4cd78fae3df 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_error_x.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_error_x.py @@ -548,8 +548,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.ErrorX -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.ErrorX +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.ErrorX`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_error_y.py b/packages/python/plotly/plotly/graph_objs/histogram/_error_y.py index a1299c39ec4..e185c37a199 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_error_y.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_error_y.py @@ -524,8 +524,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.ErrorY -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.ErrorY +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.ErrorY`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/histogram/_hoverlabel.py index 88a22cd3312..496111ff36b 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/histogram/_insidetextfont.py index b9417dc5c8c..da9f5f88f7c 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_insidetextfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/histogram/_legendgrouptitle.py index 345ad243ed3..141de05333b 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_marker.py b/packages/python/plotly/plotly/graph_objs/histogram/_marker.py index 11d355bf929..ea48b7ab8cb 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_marker.py @@ -1087,8 +1087,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/histogram/_outsidetextfont.py index fcb57fb022d..0bd0ae5d62c 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_outsidetextfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_selected.py b/packages/python/plotly/plotly/graph_objs/histogram/_selected.py index 3f5e60fd2aa..22a7e2d3c77 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_selected.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_stream.py b/packages/python/plotly/plotly/graph_objs/histogram/_stream.py index 1b85fe5af19..8fbbfc36c8d 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_textfont.py b/packages/python/plotly/plotly/graph_objs/histogram/_textfont.py index 0e89ea618f0..96b63afd109 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_textfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_unselected.py b/packages/python/plotly/plotly/graph_objs/histogram/_unselected.py index 471b0cf606a..833fb1aaa8c 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_unselected.py @@ -118,8 +118,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_xbins.py b/packages/python/plotly/plotly/graph_objs/histogram/_xbins.py index 7fcc9584e1c..472c0125877 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_xbins.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_xbins.py @@ -208,8 +208,8 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.XBins -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.XBins +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.XBins`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/_ybins.py b/packages/python/plotly/plotly/graph_objs/histogram/_ybins.py index 3f3e479774a..f5a44a21db4 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/_ybins.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/_ybins.py @@ -208,8 +208,8 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.YBins -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.YBins +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.YBins`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/histogram/hoverlabel/_font.py index ee4ba1cd8b7..1841c0716d5 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/histogram/legendgrouptitle/_font.py index c4ab25415cb..3b14b428cf3 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/_colorbar.py index abd78962851..ff43ae000a2 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/_colorbar.py @@ -1954,8 +1954,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/_line.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/_line.py index 25f7a79e5f9..798b9434027 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/_pattern.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/_pattern.py index 70d6102943d..240c87677da 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/_pattern.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/_pattern.py @@ -510,8 +510,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.Pattern -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.Pattern +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.Pattern`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py index f0a2f04cbcc..9b371b3e761 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py index 526be8f527d..68061da88f2 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_title.py index 2e3dd467944..5bcc541d520 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/title/_font.py index 5c04dc5102f..31980f8a04d 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/histogram/selected/_marker.py index ca40612946b..5f9d22286ba 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/selected/_marker.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/histogram/selected/_textfont.py index 08026890731..90cc38844d9 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/histogram/unselected/_marker.py index f303fe4af83..9db19dffb22 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/unselected/_marker.py @@ -142,8 +142,8 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/histogram/unselected/_textfont.py index 1be47c389f1..746af4b38c5 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_colorbar.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_colorbar.py index cc7ea93a101..4ceb3fb215a 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_colorbar.py @@ -1951,8 +1951,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_hoverlabel.py index ede77979e02..a46cfd612d5 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_legendgrouptitle.py index f99b30fcd8f..3e3cc109a6e 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_marker.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_marker.py index 05e9e6f6e51..54184ac1ecd 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_marker.py @@ -99,8 +99,8 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_stream.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_stream.py index 8daf6beff30..6f36c5ab362 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_textfont.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_textfont.py index 96b9b44e1a5..e60e946f832 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_textfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_xbins.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_xbins.py index a2944f5166e..0f81cdb0399 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_xbins.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_xbins.py @@ -185,8 +185,8 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.XBins -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.XBins +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.XBins`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/_ybins.py b/packages/python/plotly/plotly/graph_objs/histogram2d/_ybins.py index 59b0a5ba590..1332dd8f480 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/_ybins.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/_ybins.py @@ -185,8 +185,8 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.YBins -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.YBins +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.YBins`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickfont.py index d74b8be7509..f9293cfb41b 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py index 47c53e9f09d..026a050d680 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_title.py index f42c3eef735..0033b6a0a77 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/title/_font.py index c3de2e91b4e..7a74737c370 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/histogram2d/hoverlabel/_font.py index 7a943b0cbc3..742a021b676 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py index c9d4a2ac29b..d967bdfed10 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2d.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2d.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2d.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_colorbar.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_colorbar.py index 7118e30ed9b..dd1b225226f 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_colorbar.py @@ -1956,8 +1956,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_contours.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_contours.py index 232f78d56d4..cf0aee075e8 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_contours.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_contours.py @@ -465,8 +465,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Contours -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Contours +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Contours`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_hoverlabel.py index 727e9105c42..46aaf1051f0 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py index bab4fe693f5..99268ee72f1 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_line.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_line.py index 548930379e4..5f94b32130a 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_line.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_line.py @@ -204,8 +204,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_marker.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_marker.py index edc8950ceeb..bb0de7e4386 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_marker.py @@ -99,8 +99,8 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_stream.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_stream.py index b7b1f5decec..aa5f6ad0099 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_textfont.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_textfont.py index 699246ec768..eea6390000a 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_textfont.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_xbins.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_xbins.py index 51c591717a2..18519299c99 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_xbins.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_xbins.py @@ -185,8 +185,8 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.XBins -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.XBins +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.XBins`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_ybins.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_ybins.py index 19474dadec7..f34bcf29497 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_ybins.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/_ybins.py @@ -185,8 +185,8 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.YBins -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.YBins +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.YBins`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py index cf418ee2dda..51c0890a144 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py index d7b8547f8b0..1699fa77ad2 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_title.py index ed16a319fe0..a7804fd9ca5 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py index ee9a8833828..0f166ddf9c6 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py index dabc3d0ece7..6f39981f2d7 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py @@ -195,8 +195,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.contours.Labelfont -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.contours.Labelfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.contours.Labelfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py index 79c599cc5a8..e5a71013df7 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py index 07f13f7d703..7abfbddfbe1 100644 --- a/packages/python/plotly/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.histogram2dcontour.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.histogram2dcontour.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.histogram2dcontour.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_domain.py b/packages/python/plotly/plotly/graph_objs/icicle/_domain.py index c02c0617792..756a061f1a0 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_domain.py @@ -168,8 +168,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/icicle/_hoverlabel.py index 3b9607fb412..b66f868e995 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/icicle/_insidetextfont.py index 9891286d385..13c68b0fe18 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_leaf.py b/packages/python/plotly/plotly/graph_objs/icicle/_leaf.py index f979faad075..9ba8f9a0433 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_leaf.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_leaf.py @@ -75,8 +75,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Leaf -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Leaf +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Leaf`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/icicle/_legendgrouptitle.py index 236591d0a1f..a06f1031ad2 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_marker.py b/packages/python/plotly/plotly/graph_objs/icicle/_marker.py index b3d40da787f..599f0aae9a9 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_marker.py @@ -821,8 +821,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/icicle/_outsidetextfont.py index 7e4fefa754e..85c6974b048 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_outsidetextfont.py @@ -288,8 +288,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_pathbar.py b/packages/python/plotly/plotly/graph_objs/icicle/_pathbar.py index 5dccb9f1996..0206e58af42 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_pathbar.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_pathbar.py @@ -231,8 +231,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Pathbar -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Pathbar +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Pathbar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_root.py b/packages/python/plotly/plotly/graph_objs/icicle/_root.py index 359b7880753..40779280463 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_root.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_root.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Root -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Root +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Root`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_stream.py b/packages/python/plotly/plotly/graph_objs/icicle/_stream.py index df0078da8ef..9efe2d5e3bf 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_textfont.py b/packages/python/plotly/plotly/graph_objs/icicle/_textfont.py index 33b11104ef2..772d2d2f793 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/_tiling.py b/packages/python/plotly/plotly/graph_objs/icicle/_tiling.py index 582e18fea41..59a3f881642 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/_tiling.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/_tiling.py @@ -151,8 +151,8 @@ def __init__(self, arg=None, flip=None, orientation=None, pad=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.Tiling -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.Tiling +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.Tiling`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/icicle/hoverlabel/_font.py index a645700ca1f..8e0e9851892 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/icicle/legendgrouptitle/_font.py index 05d5f6d57c8..f1980852e13 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/icicle/marker/_colorbar.py index e299ef35022..1c19cee72eb 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/marker/_line.py b/packages/python/plotly/plotly/graph_objs/icicle/marker/_line.py index 8da792388aa..ddf2495d2d9 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/marker/_line.py @@ -197,8 +197,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py index 34bda24d334..4292e736d48 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py index 5b34803d342..4eb45e70238 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_title.py index 830f79c0845..3cc4c04818a 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/title/_font.py index 5f3afb28857..8806c44c541 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/icicle/pathbar/_textfont.py b/packages/python/plotly/plotly/graph_objs/icicle/pathbar/_textfont.py index 769ab905414..07899f91a92 100644 --- a/packages/python/plotly/plotly/graph_objs/icicle/pathbar/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/icicle/pathbar/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.icicle.pathbar.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.icicle.pathbar.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.icicle.pathbar.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/image/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/image/_hoverlabel.py index e2c40164d89..66c75c48500 100644 --- a/packages/python/plotly/plotly/graph_objs/image/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/image/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.image.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.image.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.image.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/image/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/image/_legendgrouptitle.py index 43431b41b64..a702a1f1629 100644 --- a/packages/python/plotly/plotly/graph_objs/image/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/image/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.image.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.image.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.image.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/image/_stream.py b/packages/python/plotly/plotly/graph_objs/image/_stream.py index c3f97530f2f..45ae5f21c95 100644 --- a/packages/python/plotly/plotly/graph_objs/image/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/image/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.image.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.image.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.image.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/image/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/image/hoverlabel/_font.py index 2c3393b0f77..0d5d3b86a38 100644 --- a/packages/python/plotly/plotly/graph_objs/image/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/image/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.image.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.image.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.image.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/image/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/image/legendgrouptitle/_font.py index e00f7dda577..b07c83a834b 100644 --- a/packages/python/plotly/plotly/graph_objs/image/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/image/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.image.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.image.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.image.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_delta.py b/packages/python/plotly/plotly/graph_objs/indicator/_delta.py index 90bf9e84bb9..a679fd30d83 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_delta.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_delta.py @@ -296,8 +296,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Delta -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Delta +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Delta`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_domain.py b/packages/python/plotly/plotly/graph_objs/indicator/_domain.py index 9634fccaf20..1005dea1b0b 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_gauge.py b/packages/python/plotly/plotly/graph_objs/indicator/_gauge.py index b108400c486..5ffccfcbd6f 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_gauge.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_gauge.py @@ -625,8 +625,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Gauge -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Gauge +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Gauge`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/indicator/_legendgrouptitle.py index ab8c3d4deaf..eb14cb36a62 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_number.py b/packages/python/plotly/plotly/graph_objs/indicator/_number.py index b86fd08baf4..588fdcaed4c 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_number.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_number.py @@ -185,8 +185,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Number -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Number +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Number`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_stream.py b/packages/python/plotly/plotly/graph_objs/indicator/_stream.py index b8671bcb40b..1d962228b67 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/_title.py b/packages/python/plotly/plotly/graph_objs/indicator/_title.py index 8d2b277754d..f7c0caa1419 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/_title.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/_title.py @@ -155,8 +155,8 @@ def __init__(self, arg=None, align=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/delta/_decreasing.py b/packages/python/plotly/plotly/graph_objs/indicator/delta/_decreasing.py index 088c1ebff38..0cef41f0bed 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/delta/_decreasing.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/delta/_decreasing.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, color=None, symbol=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.delta.Decreasing -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.delta.Decreasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.delta.Decreasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/delta/_font.py b/packages/python/plotly/plotly/graph_objs/indicator/delta/_font.py index fab7d00284d..749d47674f4 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/delta/_font.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/delta/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.delta.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.delta.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.delta.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/delta/_increasing.py b/packages/python/plotly/plotly/graph_objs/indicator/delta/_increasing.py index 020905015c7..842122770c5 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/delta/_increasing.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/delta/_increasing.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, color=None, symbol=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.delta.Increasing -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.delta.Increasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.delta.Increasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_axis.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_axis.py index ca213586911..b00b978655b 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_axis.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_axis.py @@ -1178,8 +1178,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.Axis -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.Axis +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.Axis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_bar.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_bar.py index 39c7d4430bf..41160d59faf 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_bar.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_bar.py @@ -177,8 +177,8 @@ def __init__(self, arg=None, color=None, line=None, thickness=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.Bar -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.Bar +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.Bar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_step.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_step.py index 91f805f70fc..6e69805fab4 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_step.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_step.py @@ -307,8 +307,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.Step -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.Step +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.Step`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_threshold.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_threshold.py index 902470fa20e..288a7fadfe3 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/_threshold.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/_threshold.py @@ -134,8 +134,8 @@ def __init__(self, arg=None, line=None, thickness=None, value=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.Threshold -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.Threshold +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.Threshold`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickfont.py index 91dbbfa6f8b..d5f8d81ecc3 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.axis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.axis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py index 1862a49d4ba..b6f48d2a697 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.axis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.axis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/bar/_line.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/bar/_line.py index c959e765640..7e9b0f3d760 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/bar/_line.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/bar/_line.py @@ -138,8 +138,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.bar.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.bar.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.bar.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/step/_line.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/step/_line.py index ba3ea08c8f2..ef6682be3be 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/step/_line.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/step/_line.py @@ -138,8 +138,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.step.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.step.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.step.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/gauge/threshold/_line.py b/packages/python/plotly/plotly/graph_objs/indicator/gauge/threshold/_line.py index 2a5b1268af6..6a437a88d51 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/gauge/threshold/_line.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/gauge/threshold/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.gauge.threshold.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.gauge.threshold.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.gauge.threshold.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/indicator/legendgrouptitle/_font.py index 0c0b466ce0a..f00a5bdc267 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/number/_font.py b/packages/python/plotly/plotly/graph_objs/indicator/number/_font.py index 619687ba8ec..bb2f5acb06d 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/number/_font.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/number/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.number.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.number.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.number.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/indicator/title/_font.py b/packages/python/plotly/plotly/graph_objs/indicator/title/_font.py index ba0fab37673..e0ba2c0d759 100644 --- a/packages/python/plotly/plotly/graph_objs/indicator/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/indicator/title/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.indicator.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.indicator.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.indicator.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_caps.py b/packages/python/plotly/plotly/graph_objs/isosurface/_caps.py index 405b3718d90..f6dcf8ef17d 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_caps.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_caps.py @@ -178,8 +178,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Caps -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Caps +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Caps`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_colorbar.py b/packages/python/plotly/plotly/graph_objs/isosurface/_colorbar.py index 8b7ce0772f9..7a7bd6943c2 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_colorbar.py @@ -1950,8 +1950,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_contour.py b/packages/python/plotly/plotly/graph_objs/isosurface/_contour.py index 29d7afcdd3d..2ad2e6a31b7 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_contour.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_contour.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Contour -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Contour +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Contour`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/isosurface/_hoverlabel.py index 62b834b4dca..60ff253e532 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/isosurface/_legendgrouptitle.py index 0bc5620f6f4..504b43ecdcb 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_lighting.py b/packages/python/plotly/plotly/graph_objs/isosurface/_lighting.py index dc6344386d7..33d5f3cdaa0 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_lighting.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_lighting.py @@ -262,8 +262,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Lighting -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Lighting +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Lighting`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_lightposition.py b/packages/python/plotly/plotly/graph_objs/isosurface/_lightposition.py index 606b711ef8b..c7ceea779b6 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_lightposition.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_lightposition.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Lightposition -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Lightposition +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Lightposition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_slices.py b/packages/python/plotly/plotly/graph_objs/isosurface/_slices.py index 2ec5bd891f6..73e504aaa82 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_slices.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_slices.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Slices -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Slices +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Slices`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_spaceframe.py b/packages/python/plotly/plotly/graph_objs/isosurface/_spaceframe.py index d58019ebf5f..867a10eba01 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_spaceframe.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_spaceframe.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Spaceframe -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Spaceframe +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Spaceframe`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_stream.py b/packages/python/plotly/plotly/graph_objs/isosurface/_stream.py index c55bc12939e..02fac3ff9db 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/_surface.py b/packages/python/plotly/plotly/graph_objs/isosurface/_surface.py index ebb3d91ba0f..7f8de2c6fad 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/_surface.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/_surface.py @@ -192,8 +192,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.Surface -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.Surface +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.Surface`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/caps/_x.py b/packages/python/plotly/plotly/graph_objs/isosurface/caps/_x.py index 54dc4bc3b2c..f1d966f3805 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/caps/_x.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/caps/_x.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.caps.X -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.caps.X +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.caps.X`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/caps/_y.py b/packages/python/plotly/plotly/graph_objs/isosurface/caps/_y.py index 8a2d58cbe9f..8e4826bbb54 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/caps/_y.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/caps/_y.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.caps.Y -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.caps.Y +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.caps.Y`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/caps/_z.py b/packages/python/plotly/plotly/graph_objs/isosurface/caps/_z.py index 68897dc0eda..832186f522f 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/caps/_z.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/caps/_z.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.caps.Z -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.caps.Z +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.caps.Z`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickfont.py index c698df0f5fd..0bf8c51e2f2 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py index d5bfc7d837d..12c9c0d1a1d 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_title.py index 7733cc39df1..a47ce828a83 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/title/_font.py index d0857ef7caf..7c93d93e3ce 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/isosurface/hoverlabel/_font.py index 4ac11b9ad2a..f178afff94e 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/isosurface/legendgrouptitle/_font.py index ccd409fefdf..5a469dfd88f 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/slices/_x.py b/packages/python/plotly/plotly/graph_objs/isosurface/slices/_x.py index 62226e91c0c..b7efd330fdf 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/slices/_x.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/slices/_x.py @@ -176,8 +176,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.slices.X -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.slices.X +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.slices.X`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/slices/_y.py b/packages/python/plotly/plotly/graph_objs/isosurface/slices/_y.py index 7cf58f59bce..eb452611665 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/slices/_y.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/slices/_y.py @@ -176,8 +176,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.slices.Y -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.slices.Y +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.slices.Y`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/isosurface/slices/_z.py b/packages/python/plotly/plotly/graph_objs/isosurface/slices/_z.py index 0f63940ae8f..b0716f8a9e6 100644 --- a/packages/python/plotly/plotly/graph_objs/isosurface/slices/_z.py +++ b/packages/python/plotly/plotly/graph_objs/isosurface/slices/_z.py @@ -176,8 +176,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.isosurface.slices.Z -constructor must be a dict or +The first argument to the plotly.graph_objs.isosurface.slices.Z +constructor must be a dict or an instance of :class:`plotly.graph_objs.isosurface.slices.Z`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_activeshape.py b/packages/python/plotly/plotly/graph_objs/layout/_activeshape.py index 92e8aafea6d..de5f6c8c5f9 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_activeshape.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_activeshape.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, fillcolor=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Activeshape -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Activeshape +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Activeshape`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_annotation.py b/packages/python/plotly/plotly/graph_objs/layout/_annotation.py index 0688fded7c9..da600f23d98 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_annotation.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_annotation.py @@ -1897,8 +1897,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Annotation -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Annotation +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Annotation`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_coloraxis.py b/packages/python/plotly/plotly/graph_objs/layout/_coloraxis.py index cb6caa967b7..0e3b47c7675 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_coloraxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_coloraxis.py @@ -649,8 +649,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Coloraxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Coloraxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Coloraxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_colorscale.py b/packages/python/plotly/plotly/graph_objs/layout/_colorscale.py index 4c64c871e36..d63cafaf8b1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_colorscale.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_colorscale.py @@ -212,8 +212,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Colorscale -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Colorscale +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Colorscale`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_font.py b/packages/python/plotly/plotly/graph_objs/layout/_font.py index 9b7ac53fccd..aaec0522be4 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_geo.py b/packages/python/plotly/plotly/graph_objs/layout/_geo.py index 2d9e47132b5..2755e5756c5 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_geo.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_geo.py @@ -1426,8 +1426,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Geo -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Geo +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Geo`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_grid.py b/packages/python/plotly/plotly/graph_objs/layout/_grid.py index a4a33e960a8..cd8ee19f6f4 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_grid.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_grid.py @@ -531,8 +531,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Grid -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Grid +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Grid`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/layout/_hoverlabel.py index cce692b4407..9bf77d6b955 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_hoverlabel.py @@ -371,8 +371,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_image.py b/packages/python/plotly/plotly/graph_objs/layout/_image.py index 9ea821aceba..af2a8257bd4 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_image.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_image.py @@ -618,8 +618,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Image -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Image +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Image`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_legend.py b/packages/python/plotly/plotly/graph_objs/layout/_legend.py index 9bed6f32946..80e0bba08c0 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_legend.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_legend.py @@ -867,8 +867,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Legend -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Legend +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Legend`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_mapbox.py b/packages/python/plotly/plotly/graph_objs/layout/_mapbox.py index 5f6cf2c3d81..cc08f31c131 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_mapbox.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_mapbox.py @@ -570,8 +570,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Mapbox -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Mapbox +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Mapbox`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_margin.py b/packages/python/plotly/plotly/graph_objs/layout/_margin.py index 0356b034c6a..dc8384d02f8 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_margin.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_margin.py @@ -213,8 +213,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Margin -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Margin +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Margin`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_modebar.py b/packages/python/plotly/plotly/graph_objs/layout/_modebar.py index 5aea98abcd2..a836f6f1d67 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_modebar.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_modebar.py @@ -496,8 +496,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Modebar -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Modebar +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Modebar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_newshape.py b/packages/python/plotly/plotly/graph_objs/layout/_newshape.py index 6df68534ffb..44f0f41f2cf 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_newshape.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_newshape.py @@ -305,8 +305,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Newshape -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Newshape +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Newshape`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_polar.py b/packages/python/plotly/plotly/graph_objs/layout/_polar.py index 52ada32db0c..fdc74f39e87 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_polar.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_polar.py @@ -1023,8 +1023,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Polar -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Polar +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Polar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_scene.py b/packages/python/plotly/plotly/graph_objs/layout/_scene.py index 048edc19a6f..3c517d75bf1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_scene.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_scene.py @@ -1634,8 +1634,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Scene -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Scene +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Scene`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_shape.py b/packages/python/plotly/plotly/graph_objs/layout/_shape.py index 6841773a9da..4abfd0b29a2 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_shape.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_shape.py @@ -979,8 +979,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Shape -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Shape +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Shape`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_slider.py b/packages/python/plotly/plotly/graph_objs/layout/_slider.py index bcad6463ce5..71d82a9870f 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_slider.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_slider.py @@ -1067,8 +1067,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Slider -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Slider +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Slider`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_smith.py b/packages/python/plotly/plotly/graph_objs/layout/_smith.py index 00eacff7d1d..e1693c6854f 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_smith.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_smith.py @@ -434,8 +434,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Smith -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Smith +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Smith`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_template.py b/packages/python/plotly/plotly/graph_objs/layout/_template.py index b205b6af70b..704ab442b51 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_template.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_template.py @@ -305,8 +305,8 @@ def __init__(self, arg=None, data=None, layout=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Template -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Template +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Template`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_ternary.py b/packages/python/plotly/plotly/graph_objs/layout/_ternary.py index 07f115207d3..825d56d541a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_ternary.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_ternary.py @@ -987,8 +987,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Ternary -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Ternary +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Ternary`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_title.py b/packages/python/plotly/plotly/graph_objs/layout/_title.py index e3e8cc1a3c8..44d6c50f69a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_title.py @@ -420,8 +420,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_transition.py b/packages/python/plotly/plotly/graph_objs/layout/_transition.py index 4843835b1b6..63b3c71b3c4 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_transition.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_transition.py @@ -142,8 +142,8 @@ def __init__(self, arg=None, duration=None, easing=None, ordering=None, **kwargs else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Transition -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Transition +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Transition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_uniformtext.py b/packages/python/plotly/plotly/graph_objs/layout/_uniformtext.py index dcc497eb7b0..1292524e0f9 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_uniformtext.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_uniformtext.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, minsize=None, mode=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Uniformtext -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Uniformtext +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Uniformtext`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_updatemenu.py b/packages/python/plotly/plotly/graph_objs/layout/_updatemenu.py index fc02b2a8c1f..21a9f5a5a0a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_updatemenu.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_updatemenu.py @@ -811,8 +811,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.Updatemenu -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.Updatemenu +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.Updatemenu`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_xaxis.py b/packages/python/plotly/plotly/graph_objs/layout/_xaxis.py index b931df9c68b..d5003c40c22 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_xaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_xaxis.py @@ -3701,8 +3701,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.XAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.XAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.XAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/_yaxis.py b/packages/python/plotly/plotly/graph_objs/layout/_yaxis.py index 6b87fe0bf5b..57f6d960639 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/_yaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/_yaxis.py @@ -3558,8 +3558,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.YAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.YAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.YAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/annotation/_font.py b/packages/python/plotly/plotly/graph_objs/layout/annotation/_font.py index 7b03a9d38e8..3f45bca82f8 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/annotation/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/annotation/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.annotation.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.annotation.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.annotation.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/annotation/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/layout/annotation/_hoverlabel.py index da8cdb063e0..f8e4b570eb8 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/annotation/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/layout/annotation/_hoverlabel.py @@ -242,8 +242,8 @@ def __init__(self, arg=None, bgcolor=None, bordercolor=None, font=None, **kwargs else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.annotation.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.annotation.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.annotation.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/annotation/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/layout/annotation/hoverlabel/_font.py index e916376fa41..6b506577153 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/annotation/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/annotation/hoverlabel/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.annotation.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.annotation.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.annotation.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/_colorbar.py b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/_colorbar.py index 36e42463e59..dbd5b766052 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/_colorbar.py @@ -1954,8 +1954,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.coloraxis.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.coloraxis.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.coloraxis.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py index 4470ac7aa38..e47e3e44a0b 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py index 88885ca897a..f1ba3651852 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_title.py index 12c5219e7b1..fa345f4d5c9 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py index 33e874b4be1..b2635002b75 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/geo/_center.py b/packages/python/plotly/plotly/graph_objs/layout/geo/_center.py index 6cbdb2816e8..fee53e5dac5 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/geo/_center.py +++ b/packages/python/plotly/plotly/graph_objs/layout/geo/_center.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.geo.Center -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.geo.Center +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.geo.Center`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/geo/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/geo/_domain.py index 1a7566a39a6..f7e7ce38374 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/geo/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/geo/_domain.py @@ -203,8 +203,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.geo.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.geo.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.geo.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/geo/_lataxis.py b/packages/python/plotly/plotly/graph_objs/layout/geo/_lataxis.py index 53b0d03db60..696bb10e6c6 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/geo/_lataxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/geo/_lataxis.py @@ -295,8 +295,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.geo.Lataxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.geo.Lataxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.geo.Lataxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/geo/_lonaxis.py b/packages/python/plotly/plotly/graph_objs/layout/geo/_lonaxis.py index 8b5a6d4ef5e..b3e5dbd32b3 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/geo/_lonaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/geo/_lonaxis.py @@ -295,8 +295,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.geo.Lonaxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.geo.Lonaxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.geo.Lonaxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/geo/_projection.py b/packages/python/plotly/plotly/graph_objs/layout/geo/_projection.py index c9927b9e216..63b3041d0b1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/geo/_projection.py +++ b/packages/python/plotly/plotly/graph_objs/layout/geo/_projection.py @@ -265,8 +265,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.geo.Projection -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.geo.Projection +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.geo.Projection`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/geo/projection/_rotation.py b/packages/python/plotly/plotly/graph_objs/layout/geo/projection/_rotation.py index eca583cb2de..cc9047b1826 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/geo/projection/_rotation.py +++ b/packages/python/plotly/plotly/graph_objs/layout/geo/projection/_rotation.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, lat=None, lon=None, roll=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.geo.projection.Rotation -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.geo.projection.Rotation +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.geo.projection.Rotation`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/grid/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/grid/_domain.py index 6b15a753686..683194b4d38 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/grid/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/grid/_domain.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.grid.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.grid.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.grid.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_font.py index 057553fa375..7db22868b39 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py b/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py index a387b85cb47..16bfdcb5714 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.hoverlabel.Grouptitlefont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.hoverlabel.Grouptitlefont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitlefont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/legend/_font.py b/packages/python/plotly/plotly/graph_objs/layout/legend/_font.py index 97995f0c927..91870942439 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/legend/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/legend/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.legend.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.legend.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.legend.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/legend/_grouptitlefont.py b/packages/python/plotly/plotly/graph_objs/layout/legend/_grouptitlefont.py index 2d9e44822e6..b8612d684ca 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/legend/_grouptitlefont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/legend/_grouptitlefont.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.legend.Grouptitlefont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.legend.Grouptitlefont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.legend.Grouptitlefont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/legend/_title.py b/packages/python/plotly/plotly/graph_objs/layout/legend/_title.py index 3d25de5f0ad..e5bfe0d1fec 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/legend/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/legend/_title.py @@ -164,8 +164,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.legend.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.legend.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.legend.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/legend/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/legend/title/_font.py index f365e715596..ea4f5c97c7c 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/legend/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/legend/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.legend.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.legend.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.legend.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/_center.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/_center.py index 5916b856af6..4bc1c2b0eed 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/_center.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/_center.py @@ -101,8 +101,8 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.Center -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.Center +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.Center`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/_domain.py index a25e483b6a9..b260365c6cb 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/_layer.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/_layer.py index 97e2e04f6d7..8f66c76a29f 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/_layer.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/_layer.py @@ -802,8 +802,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.Layer -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.Layer +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.Layer`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_circle.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_circle.py index a7fae12f6b6..ef45838fc9e 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_circle.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_circle.py @@ -78,8 +78,8 @@ def __init__(self, arg=None, radius=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.layer.Circle -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.layer.Circle +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Circle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_fill.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_fill.py index 96a5bc63c4d..6b9a02f53fb 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_fill.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_fill.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, outlinecolor=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.layer.Fill -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.layer.Fill +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Fill`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_line.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_line.py index 87b615ceeaa..6831a11c6f7 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_line.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_line.py @@ -131,8 +131,8 @@ def __init__(self, arg=None, dash=None, dashsrc=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.layer.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.layer.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_symbol.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_symbol.py index d4e910e117b..dc3ed43c445 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_symbol.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_symbol.py @@ -269,8 +269,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.layer.Symbol -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.layer.Symbol +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Symbol`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py index ce8328a542c..a2ed779ee3b 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py @@ -195,8 +195,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.mapbox.layer.symbol.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.mapbox.layer.symbol.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.mapbox.layer.symbol.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/newshape/_line.py b/packages/python/plotly/plotly/graph_objs/layout/newshape/_line.py index 75cc9eddc49..5b7b8df9c36 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/newshape/_line.py +++ b/packages/python/plotly/plotly/graph_objs/layout/newshape/_line.py @@ -175,8 +175,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.newshape.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.newshape.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.newshape.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/_angularaxis.py b/packages/python/plotly/plotly/graph_objs/layout/polar/_angularaxis.py index 7d8b7e29fa9..57fc27f258a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/_angularaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/_angularaxis.py @@ -1967,8 +1967,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.AngularAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.AngularAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.AngularAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/polar/_domain.py index 27e31caca24..9850010fd92 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/_radialaxis.py b/packages/python/plotly/plotly/graph_objs/layout/polar/_radialaxis.py index 00ffd3b4d56..2f516c6b8a6 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/_radialaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/_radialaxis.py @@ -2180,8 +2180,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.RadialAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.RadialAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.RadialAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py index eca5033d2bd..856ef6bed6c 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py index f7d1f74bf48..5755c26e99b 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py index f8e521c1721..10759fc5f47 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py index c3876949a05..720199cfb2a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_title.py index 8490c75ec73..fe49dbe63b6 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.radialaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.radialaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/title/_font.py index df63e36edb9..eb14f6a3a56 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/polar/radialaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.polar.radialaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.polar.radialaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_annotation.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_annotation.py index 4669e345731..48644c8c3e1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_annotation.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_annotation.py @@ -1418,8 +1418,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.Annotation -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.Annotation +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.Annotation`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_aspectratio.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_aspectratio.py index 4de114a168a..24255052568 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_aspectratio.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_aspectratio.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.Aspectratio -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.Aspectratio +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.Aspectratio`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_camera.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_camera.py index 6494b19c5b3..e824e0ba54c 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_camera.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_camera.py @@ -213,8 +213,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.Camera -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.Camera +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.Camera`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_domain.py index d942fa5787d..15bb284ced9 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_xaxis.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_xaxis.py index bce5de90146..917b68b3144 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_xaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_xaxis.py @@ -2388,8 +2388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.XAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.XAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.XAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_yaxis.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_yaxis.py index fc0c324c084..8cb133c47ce 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_yaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_yaxis.py @@ -2388,8 +2388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.YAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.YAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.YAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/_zaxis.py b/packages/python/plotly/plotly/graph_objs/layout/scene/_zaxis.py index 14fd8ab6fd4..bba55cafe60 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/_zaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/_zaxis.py @@ -2388,8 +2388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.ZAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.ZAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.ZAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_font.py b/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_font.py index 2939c6053fc..b29734c3c36 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.annotation.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.annotation.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py index 8abd89ba3fa..77e4ab168dc 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py @@ -242,8 +242,8 @@ def __init__(self, arg=None, bgcolor=None, bordercolor=None, font=None, **kwargs else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.annotation.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.annotation.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py index 4cfd442605b..8067c4ca0b2 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.annotation.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.annotation.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.annotation.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_center.py b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_center.py index a8ae3b85330..1d2e3dfb043 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_center.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_center.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.camera.Center -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.camera.Center +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.camera.Center`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_eye.py b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_eye.py index 49ec403f482..3c43284f61e 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_eye.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_eye.py @@ -119,8 +119,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.camera.Eye -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.camera.Eye +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.camera.Eye`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_projection.py b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_projection.py index 8ec2603617a..b0b87ba7946 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_projection.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_projection.py @@ -79,8 +79,8 @@ def __init__(self, arg=None, type=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.camera.Projection -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.camera.Projection +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.camera.Projection`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_up.py b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_up.py index 92f94b1b0f5..503519c0e2d 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_up.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/camera/_up.py @@ -120,8 +120,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.camera.Up -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.camera.Up +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.camera.Up`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickfont.py index f2047f82fb7..ebd2324178d 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.xaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.xaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py index fda9b693488..d7d3fc22d70 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.xaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.xaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_title.py index f2c4f46304f..8ff1632b3dc 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.xaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.xaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/title/_font.py index 3b6e3fdc952..d3fae87da1c 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.xaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.xaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.xaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickfont.py index d5204d90add..863d30dfd3e 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.yaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.yaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py index 9038be78d70..6f4c72426ec 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.yaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.yaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_title.py index a9cd48b71a7..b96e76c1ac6 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.yaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.yaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/title/_font.py index 2e8f8489f19..a18a4cc33a1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/yaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.yaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.yaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.yaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickfont.py index e59ca5c16b5..bd3a918362a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.zaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.zaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py index ef3369cb670..c5ebcd31841 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.zaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.zaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_title.py index 8054c69e346..652f139a4b7 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.zaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.zaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/title/_font.py index 4a5b6398d3a..c1e17614971 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.scene.zaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.scene.zaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.scene.zaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/shape/_line.py b/packages/python/plotly/plotly/graph_objs/layout/shape/_line.py index 8dcf8c8202e..70f90dbb34d 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/shape/_line.py +++ b/packages/python/plotly/plotly/graph_objs/layout/shape/_line.py @@ -172,8 +172,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.shape.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.shape.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.shape.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/slider/_currentvalue.py b/packages/python/plotly/plotly/graph_objs/layout/slider/_currentvalue.py index 060e1bc518c..13c0d33645c 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/slider/_currentvalue.py +++ b/packages/python/plotly/plotly/graph_objs/layout/slider/_currentvalue.py @@ -244,8 +244,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.slider.Currentvalue -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.slider.Currentvalue +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.slider.Currentvalue`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/slider/_font.py b/packages/python/plotly/plotly/graph_objs/layout/slider/_font.py index 63bdd36bf39..1a3429c89ee 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/slider/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/slider/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.slider.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.slider.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.slider.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/slider/_pad.py b/packages/python/plotly/plotly/graph_objs/layout/slider/_pad.py index d80c450b23f..89b85a83d8e 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/slider/_pad.py +++ b/packages/python/plotly/plotly/graph_objs/layout/slider/_pad.py @@ -158,8 +158,8 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.slider.Pad -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.slider.Pad +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.slider.Pad`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/slider/_step.py b/packages/python/plotly/plotly/graph_objs/layout/slider/_step.py index 85ac3a52f12..67a6efa0c0e 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/slider/_step.py +++ b/packages/python/plotly/plotly/graph_objs/layout/slider/_step.py @@ -357,8 +357,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.slider.Step -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.slider.Step +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.slider.Step`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/slider/_transition.py b/packages/python/plotly/plotly/graph_objs/layout/slider/_transition.py index 276267b387c..9565cfb6bf8 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/slider/_transition.py +++ b/packages/python/plotly/plotly/graph_objs/layout/slider/_transition.py @@ -106,8 +106,8 @@ def __init__(self, arg=None, duration=None, easing=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.slider.Transition -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.slider.Transition +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.slider.Transition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/slider/currentvalue/_font.py b/packages/python/plotly/plotly/graph_objs/layout/slider/currentvalue/_font.py index a63bc531a5d..dd36b2088b4 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/slider/currentvalue/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/slider/currentvalue/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.slider.currentvalue.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.slider.currentvalue.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.slider.currentvalue.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/smith/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/smith/_domain.py index 9b69c85773f..09870f36937 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/smith/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/smith/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.smith.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.smith.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.smith.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/smith/_imaginaryaxis.py b/packages/python/plotly/plotly/graph_objs/layout/smith/_imaginaryaxis.py index 60ee521f37c..b8266ff1eab 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/smith/_imaginaryaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/smith/_imaginaryaxis.py @@ -997,8 +997,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.smith.Imaginaryaxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.smith.Imaginaryaxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.smith.Imaginaryaxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/smith/_realaxis.py b/packages/python/plotly/plotly/graph_objs/layout/smith/_realaxis.py index 8044e693d50..f4fe53938ae 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/smith/_realaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/smith/_realaxis.py @@ -1056,8 +1056,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.smith.Realaxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.smith.Realaxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.smith.Realaxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py index 3b7ccbe7a09..a4d0f86a953 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.smith.imaginaryaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.smith.imaginaryaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.smith.imaginaryaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/smith/realaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/smith/realaxis/_tickfont.py index 9bca8bfbb59..ed83e66ee39 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/smith/realaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/smith/realaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.smith.realaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.smith.realaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.smith.realaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/template/_data.py b/packages/python/plotly/plotly/graph_objs/layout/template/_data.py index 11eb1249a47..42a910e0c02 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/template/_data.py +++ b/packages/python/plotly/plotly/graph_objs/layout/template/_data.py @@ -1546,8 +1546,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.template.Data -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.template.Data +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.template.Data`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/_aaxis.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/_aaxis.py index 69dd9cf72b7..ab29ae2d0f2 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/_aaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/_aaxis.py @@ -1735,8 +1735,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.Aaxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.Aaxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.Aaxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/_baxis.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/_baxis.py index 38709c7d61e..62dd107af43 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/_baxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/_baxis.py @@ -1735,8 +1735,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.Baxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.Baxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.Baxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/_caxis.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/_caxis.py index a525eb001ce..cf487ab2fcc 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/_caxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/_caxis.py @@ -1735,8 +1735,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.Caxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.Caxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.Caxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/_domain.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/_domain.py index ad1421cd7a0..91212c905f9 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py index 3e41ecfca72..eb4fdfac65e 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.aaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.aaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py index 3ec4c91825b..6ee8859eefb 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.aaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.aaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_title.py index 64c6c6ced31..5a26de94c57 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.aaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.aaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/title/_font.py index 181c59528ed..36827a2dcd4 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.aaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.aaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickfont.py index 71f6e175361..eb9701d7f7f 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.baxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.baxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py index be37d9d38a0..0463b4a018d 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.baxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.baxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_title.py index 7cc02eba938..7309a239908 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.baxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.baxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/title/_font.py index 7ae5ef0ce1f..50b94dfde8a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/baxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.baxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.baxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.baxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickfont.py index 2f10242b91f..7d75abf3627 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.caxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.caxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py index eee46036f97..10dc85cd7c1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.caxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.caxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_title.py index 6326c6ad680..963a14150c3 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/_title.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.caxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.caxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/title/_font.py index 78eac2ced6f..eb0cd018f29 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/ternary/caxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.ternary.caxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.ternary.caxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.ternary.caxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/title/_font.py index c8fc05df5b1..d05310662f8 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/title/_pad.py b/packages/python/plotly/plotly/graph_objs/layout/title/_pad.py index 1b388f3ae61..6653b1896d1 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/title/_pad.py +++ b/packages/python/plotly/plotly/graph_objs/layout/title/_pad.py @@ -163,8 +163,8 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.title.Pad -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.title.Pad +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.title.Pad`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_button.py b/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_button.py index 8dfe7ad6e5f..e3bfcfb77f2 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_button.py +++ b/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_button.py @@ -362,8 +362,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.updatemenu.Button -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.updatemenu.Button +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.updatemenu.Button`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_font.py b/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_font.py index ab1138cdf29..b8df395618b 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.updatemenu.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.updatemenu.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.updatemenu.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_pad.py b/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_pad.py index 1ca6adc35fa..3cadc5a794f 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_pad.py +++ b/packages/python/plotly/plotly/graph_objs/layout/updatemenu/_pad.py @@ -158,8 +158,8 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.updatemenu.Pad -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.updatemenu.Pad +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.updatemenu.Pad`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_minor.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_minor.py index b2bc09b1024..7a456088654 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_minor.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_minor.py @@ -645,8 +645,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Minor -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Minor +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Minor`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangebreak.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangebreak.py index 67d69645b1d..aad40eb59a7 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangebreak.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangebreak.py @@ -332,8 +332,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Rangebreak -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Rangebreak +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Rangebreak`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeselector.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeselector.py index 9978d162f8c..829c25b736a 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeselector.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeselector.py @@ -612,8 +612,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Rangeselector -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Rangeselector +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Rangeselector`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeslider.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeslider.py index 17c35a6c814..4d0a987bcbb 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeslider.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_rangeslider.py @@ -398,8 +398,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Rangeslider -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Rangeslider +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Rangeslider`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickfont.py index be838c4dfca..a59c1ed86b8 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickformatstop.py index 34217c26f19..75674f2ee20 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_title.py index 2e996c9f2b6..086a980cc11 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/_title.py @@ -184,8 +184,8 @@ def __init__(self, arg=None, font=None, standoff=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_button.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_button.py index a55093959e6..80344305e21 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_button.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_button.py @@ -320,8 +320,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.rangeselector.Button -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.rangeselector.Button +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.rangeselector.Button`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_font.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_font.py index 4885ff1f9a5..020b775c177 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeselector/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.rangeselector.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.rangeselector.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.rangeselector.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py index 88b56fcf69e..f6d65c62d37 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, range=None, rangemode=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.rangeslider.YAxis -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.rangeslider.YAxis +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.rangeslider.YAxis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/xaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/xaxis/title/_font.py index f173bdd4138..cde362613af 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/xaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/xaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.xaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.xaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.xaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py index dc01351afac..d416e4cac48 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py +++ b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py @@ -645,8 +645,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.yaxis.Minor -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.yaxis.Minor +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.yaxis.Minor`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_rangebreak.py b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_rangebreak.py index e381f34506e..fc61da1c7ea 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_rangebreak.py +++ b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_rangebreak.py @@ -332,8 +332,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.yaxis.Rangebreak -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.yaxis.Rangebreak +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.yaxis.Rangebreak`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickfont.py b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickfont.py index 66a6331cae6..4672ed7d12b 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.yaxis.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.yaxis.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.yaxis.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickformatstop.py index 542d971d83a..d765ca20524 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.yaxis.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.yaxis.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.yaxis.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_title.py b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_title.py index abcd0b88712..b1f014cf9a9 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/yaxis/_title.py +++ b/packages/python/plotly/plotly/graph_objs/layout/yaxis/_title.py @@ -184,8 +184,8 @@ def __init__(self, arg=None, font=None, standoff=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.yaxis.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.yaxis.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.yaxis.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/layout/yaxis/title/_font.py b/packages/python/plotly/plotly/graph_objs/layout/yaxis/title/_font.py index 7b9e3646d36..d1a89f0c32f 100644 --- a/packages/python/plotly/plotly/graph_objs/layout/yaxis/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/layout/yaxis/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.layout.yaxis.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.layout.yaxis.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.layout.yaxis.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_colorbar.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_colorbar.py index cdb74d9fb8f..8846e8bbe1f 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_colorbar.py @@ -1951,8 +1951,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_contour.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_contour.py index b15ba60c70e..fdf0646c027 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_contour.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_contour.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.Contour -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.Contour +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.Contour`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_hoverlabel.py index a26e453e8cb..a9b17c1b0ec 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_legendgrouptitle.py index 86e36206aeb..08c08dab6f2 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_lighting.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_lighting.py index 04c1ab208a0..6659b4f7d9a 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_lighting.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_lighting.py @@ -262,8 +262,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.Lighting -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.Lighting +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.Lighting`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_lightposition.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_lightposition.py index 2d23155eec4..13b71533086 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_lightposition.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_lightposition.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.Lightposition -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.Lightposition +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.Lightposition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/_stream.py b/packages/python/plotly/plotly/graph_objs/mesh3d/_stream.py index 777c4169b56..f7d4198cbe7 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickfont.py index f7e20e3113f..ae383257bf9 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py index e1954be4882..fb0a98cabeb 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_title.py index bad3eb79b3d..84ff80ec401 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/title/_font.py index 89d5a9170b0..61955139c06 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/mesh3d/hoverlabel/_font.py index e09fa9ecc69..a39f1781b1c 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py index a7656209624..7b15ce8efbb 100644 --- a/packages/python/plotly/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.mesh3d.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.mesh3d.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.mesh3d.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/_decreasing.py b/packages/python/plotly/plotly/graph_objs/ohlc/_decreasing.py index 3b1aa509459..77bb5be5d62 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/_decreasing.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/_decreasing.py @@ -88,8 +88,8 @@ def __init__(self, arg=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.Decreasing -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.Decreasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.Decreasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/ohlc/_hoverlabel.py index 9962a559e84..ffed4dd154b 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/_hoverlabel.py @@ -474,8 +474,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/_increasing.py b/packages/python/plotly/plotly/graph_objs/ohlc/_increasing.py index 9ce1d33b91f..41f7cb8666d 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/_increasing.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/_increasing.py @@ -88,8 +88,8 @@ def __init__(self, arg=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.Increasing -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.Increasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.Increasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/ohlc/_legendgrouptitle.py index fae356811c9..68da09ffb4e 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/_line.py b/packages/python/plotly/plotly/graph_objs/ohlc/_line.py index 089880b2c72..84916db5c8d 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/_line.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/_line.py @@ -120,8 +120,8 @@ def __init__(self, arg=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/_stream.py b/packages/python/plotly/plotly/graph_objs/ohlc/_stream.py index 906b480e9b1..9267a3c3efa 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/decreasing/_line.py b/packages/python/plotly/plotly/graph_objs/ohlc/decreasing/_line.py index 9e3ebc1708b..099e75438a7 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/decreasing/_line.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/decreasing/_line.py @@ -172,8 +172,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.decreasing.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.decreasing.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.decreasing.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/ohlc/hoverlabel/_font.py index 248a653d3f6..f7561e3a1f4 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/increasing/_line.py b/packages/python/plotly/plotly/graph_objs/ohlc/increasing/_line.py index 19a715e323e..ff05abf073a 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/increasing/_line.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/increasing/_line.py @@ -172,8 +172,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.increasing.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.increasing.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.increasing.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/ohlc/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/ohlc/legendgrouptitle/_font.py index 5b26ca67863..5cb8c356135 100644 --- a/packages/python/plotly/plotly/graph_objs/ohlc/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/ohlc/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.ohlc.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.ohlc.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.ohlc.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_dimension.py b/packages/python/plotly/plotly/graph_objs/parcats/_dimension.py index 5c7d7df3061..7b1e105823d 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_dimension.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_dimension.py @@ -388,8 +388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Dimension -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Dimension +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Dimension`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_domain.py b/packages/python/plotly/plotly/graph_objs/parcats/_domain.py index 293382145a9..7d55c70b7ae 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_labelfont.py b/packages/python/plotly/plotly/graph_objs/parcats/_labelfont.py index 27bab29f46e..31427079fb7 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_labelfont.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_labelfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Labelfont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Labelfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Labelfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/parcats/_legendgrouptitle.py index a86ff686992..e04e33a049c 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_line.py b/packages/python/plotly/plotly/graph_objs/parcats/_line.py index 7e400e99e1b..2470c2020af 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_line.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_line.py @@ -967,8 +967,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_stream.py b/packages/python/plotly/plotly/graph_objs/parcats/_stream.py index 73368a9b905..b6e389c866b 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/_tickfont.py b/packages/python/plotly/plotly/graph_objs/parcats/_tickfont.py index 17357e6cc3c..4233c874ecb 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/parcats/legendgrouptitle/_font.py index 321c374f778..f6048c5313a 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/line/_colorbar.py b/packages/python/plotly/plotly/graph_objs/parcats/line/_colorbar.py index 05c2e190970..e0ca99aabe9 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/line/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/line/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.line.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.line.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.line.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickfont.py index 7e7045f83e5..dc75f60d4c2 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.line.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.line.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py index 1e382f6a9df..792d45da523 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.line.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.line.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_title.py index 239734c8c6c..f6f4d1154a0 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.line.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.line.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/title/_font.py index 1c9f3da206a..789aa9ebde6 100644 --- a/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/parcats/line/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcats.line.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.parcats.line.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcats.line.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_dimension.py b/packages/python/plotly/plotly/graph_objs/parcoords/_dimension.py index 2792e454f65..61e6334eef3 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_dimension.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_dimension.py @@ -555,8 +555,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Dimension -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Dimension +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Dimension`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_domain.py b/packages/python/plotly/plotly/graph_objs/parcoords/_domain.py index 0645887c8f3..cec9642abeb 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_labelfont.py b/packages/python/plotly/plotly/graph_objs/parcoords/_labelfont.py index 719cfacd30f..651ecb619ff 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_labelfont.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_labelfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Labelfont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Labelfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Labelfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/parcoords/_legendgrouptitle.py index 2f8e13d80e7..d1031a3ac15 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_line.py b/packages/python/plotly/plotly/graph_objs/parcoords/_line.py index a8dc2a57636..7d7693f5719 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_line.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_line.py @@ -831,8 +831,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_rangefont.py b/packages/python/plotly/plotly/graph_objs/parcoords/_rangefont.py index 0e081fda8f4..01c456fba3d 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_rangefont.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_rangefont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Rangefont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Rangefont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Rangefont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_stream.py b/packages/python/plotly/plotly/graph_objs/parcoords/_stream.py index 0d15bbaa005..a9b1a52f27d 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/_tickfont.py b/packages/python/plotly/plotly/graph_objs/parcoords/_tickfont.py index 8d0241ac22f..08c545355ce 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/parcoords/legendgrouptitle/_font.py index b341881bb08..9b548924c21 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/line/_colorbar.py b/packages/python/plotly/plotly/graph_objs/parcoords/line/_colorbar.py index 60ea2c0613d..a8b66c22f72 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/line/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/line/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.line.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.line.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.line.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py index 6e11aaaf61b..2687a7cad02 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.line.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.line.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py index aaa8572e1ec..91e8d618f6e 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.line.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.line.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_title.py index 4fa1c436b99..6f008760241 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.line.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.line.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/title/_font.py index 798c9f2e62e..240fb415c9d 100644 --- a/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/parcoords/line/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.parcoords.line.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.parcoords.line.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_domain.py b/packages/python/plotly/plotly/graph_objs/pie/_domain.py index 467a3ff0cea..66bbaa0e232 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_domain.py @@ -167,8 +167,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/pie/_hoverlabel.py index ba9014bb721..87a55b11627 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/pie/_insidetextfont.py index 51567e90b42..26006b49eac 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/pie/_legendgrouptitle.py index 2815338979b..4ed06cd234f 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_marker.py b/packages/python/plotly/plotly/graph_objs/pie/_marker.py index 51262c456b3..1cca49625f0 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_marker.py @@ -145,8 +145,8 @@ def __init__(self, arg=None, colors=None, colorssrc=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/pie/_outsidetextfont.py index 64690bca05c..552698ec7a3 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_outsidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_stream.py b/packages/python/plotly/plotly/graph_objs/pie/_stream.py index 09f3f41e1af..258d1201fb2 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_textfont.py b/packages/python/plotly/plotly/graph_objs/pie/_textfont.py index bd026fcc80e..a4cefa242ed 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_textfont.py @@ -283,8 +283,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/_title.py b/packages/python/plotly/plotly/graph_objs/pie/_title.py index ba4a53cf342..e0d23e480ec 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/_title.py +++ b/packages/python/plotly/plotly/graph_objs/pie/_title.py @@ -181,8 +181,8 @@ def __init__(self, arg=None, font=None, position=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/pie/hoverlabel/_font.py index 768a50bb3e7..2e6a182d32f 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/pie/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/pie/legendgrouptitle/_font.py index b96aac2389e..56f771624e8 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/pie/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/marker/_line.py b/packages/python/plotly/plotly/graph_objs/pie/marker/_line.py index 70595c014f0..01e91301afb 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/pie/marker/_line.py @@ -194,8 +194,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pie/title/_font.py b/packages/python/plotly/plotly/graph_objs/pie/title/_font.py index 54213af2aa5..1c70f1e7688 100644 --- a/packages/python/plotly/plotly/graph_objs/pie/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/pie/title/_font.py @@ -285,8 +285,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pie.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.pie.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.pie.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/pointcloud/_hoverlabel.py index fc3bfde0b47..94bd5a5c89d 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/pointcloud/_legendgrouptitle.py index 780b1071cba..87459d53ef6 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/_marker.py b/packages/python/plotly/plotly/graph_objs/pointcloud/_marker.py index c4c76917949..9920649ea38 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/_marker.py @@ -297,8 +297,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/_stream.py b/packages/python/plotly/plotly/graph_objs/pointcloud/_stream.py index 00278df8741..ebf0f9f128d 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/pointcloud/hoverlabel/_font.py index b812a37ae09..4071ee42f3e 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/pointcloud/legendgrouptitle/_font.py index 6af9e382060..386e2ed0a80 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/pointcloud/marker/_border.py b/packages/python/plotly/plotly/graph_objs/pointcloud/marker/_border.py index d77ce13be20..1a44736205f 100644 --- a/packages/python/plotly/plotly/graph_objs/pointcloud/marker/_border.py +++ b/packages/python/plotly/plotly/graph_objs/pointcloud/marker/_border.py @@ -147,8 +147,8 @@ def __init__(self, arg=None, arearatio=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.pointcloud.marker.Border -constructor must be a dict or +The first argument to the plotly.graph_objs.pointcloud.marker.Border +constructor must be a dict or an instance of :class:`plotly.graph_objs.pointcloud.marker.Border`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_domain.py b/packages/python/plotly/plotly/graph_objs/sankey/_domain.py index 7e557437117..a4d04fd60b3 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_domain.py @@ -168,8 +168,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/sankey/_hoverlabel.py index d635af36d58..f381e01c0bc 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/sankey/_legendgrouptitle.py index bcc2027daea..274b9b72f74 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_link.py b/packages/python/plotly/plotly/graph_objs/sankey/_link.py index 40045f51a7f..a74b9c299c6 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_link.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_link.py @@ -831,8 +831,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Link -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Link +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Link`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_node.py b/packages/python/plotly/plotly/graph_objs/sankey/_node.py index 8d4a45021b8..883f05d817e 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_node.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_node.py @@ -748,8 +748,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Node -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Node +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Node`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_stream.py b/packages/python/plotly/plotly/graph_objs/sankey/_stream.py index d0d3ca96df8..72583c9471f 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/_textfont.py b/packages/python/plotly/plotly/graph_objs/sankey/_textfont.py index 5d3aa840108..f38a1d5921d 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/_textfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/sankey/hoverlabel/_font.py index 2f5a17fc436..997cd7010a0 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/sankey/legendgrouptitle/_font.py index 3dc8cf82c6c..7eb8227a7a7 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/link/_colorscale.py b/packages/python/plotly/plotly/graph_objs/sankey/link/_colorscale.py index e61810bca88..022a3c58882 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/link/_colorscale.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/link/_colorscale.py @@ -305,8 +305,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.link.Colorscale -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.link.Colorscale +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.link.Colorscale`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/link/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/sankey/link/_hoverlabel.py index 5ad8dabecda..cbfa8f29198 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/link/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/link/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.link.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.link.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.link.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/link/_line.py b/packages/python/plotly/plotly/graph_objs/sankey/link/_line.py index 6a5b1c95c8e..d1c1d9b4aff 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/link/_line.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/link/_line.py @@ -194,8 +194,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.link.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.link.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.link.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/link/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/sankey/link/hoverlabel/_font.py index 110e44efba9..c8f65caf5dc 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/link/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/link/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.link.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.link.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.link.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/node/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/sankey/node/_hoverlabel.py index c4662b46677..7c1e33d8c96 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/node/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/node/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.node.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.node.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.node.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/node/_line.py b/packages/python/plotly/plotly/graph_objs/sankey/node/_line.py index 640ed4db907..26b939ac119 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/node/_line.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/node/_line.py @@ -194,8 +194,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.node.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.node.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.node.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sankey/node/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/sankey/node/hoverlabel/_font.py index bcbf98a6907..10706b6f129 100644 --- a/packages/python/plotly/plotly/graph_objs/sankey/node/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sankey/node/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sankey.node.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sankey.node.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sankey.node.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_error_x.py b/packages/python/plotly/plotly/graph_objs/scatter/_error_x.py index d16f586d593..d4f8f506ccf 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_error_x.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_error_x.py @@ -548,8 +548,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.ErrorX -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.ErrorX +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.ErrorX`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_error_y.py b/packages/python/plotly/plotly/graph_objs/scatter/_error_y.py index 1b237a861c2..8c24017d10a 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_error_y.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_error_y.py @@ -524,8 +524,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.ErrorY -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.ErrorY +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.ErrorY`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_fillpattern.py b/packages/python/plotly/plotly/graph_objs/scatter/_fillpattern.py index 8169fc5f120..4c164136fa1 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_fillpattern.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_fillpattern.py @@ -510,8 +510,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Fillpattern -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Fillpattern +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Fillpattern`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scatter/_hoverlabel.py index 2fee074da69..800c624dfec 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scatter/_legendgrouptitle.py index 17b277728a1..1c08c4ffcc2 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_line.py b/packages/python/plotly/plotly/graph_objs/scatter/_line.py index 9de393eeee0..c3f5b8c17eb 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_line.py @@ -275,8 +275,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_marker.py b/packages/python/plotly/plotly/graph_objs/scatter/_marker.py index e7874c384a0..363d7bff903 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_marker.py @@ -1388,8 +1388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_selected.py b/packages/python/plotly/plotly/graph_objs/scatter/_selected.py index e421b3418ab..3d44a1a65ad 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_stream.py b/packages/python/plotly/plotly/graph_objs/scatter/_stream.py index e4c575e58f6..9308720d14c 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatter/_textfont.py index 08e6209db7d..76c031f37d7 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/_unselected.py b/packages/python/plotly/plotly/graph_objs/scatter/_unselected.py index 39e98a5f915..b2f8099aa1f 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scatter/hoverlabel/_font.py index 97381943ccc..1f6147a03cc 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scatter/legendgrouptitle/_font.py index 5bfd22fcfcc..6629aab617a 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/_colorbar.py index 183181e05d8..c46296f9b55 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/_gradient.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/_gradient.py index 4116ca7d00d..b20e34c67a0 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/_gradient.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/_gradient.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.Gradient -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.Gradient +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.Gradient`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/_line.py index 1cb8192cbc4..4839ff5dd51 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py index 5fe1222f918..fdfc7b8e565 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py index fe5010fd03b..1d1fb7c597c 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_title.py index 4cc04eaa33b..83e22b289c3 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/title/_font.py index d0eb0ac7f3c..fba85ca1eec 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatter/selected/_marker.py index a727424cc18..bc65de46a85 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatter/selected/_textfont.py index e47dcd5e587..a1ee91470a3 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatter/unselected/_marker.py index 087bdee6d67..3de2a9e417e 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatter/unselected/_textfont.py index e6e30aa5a1a..486e02e29c5 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_error_x.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_error_x.py index b578ab0a39e..4ac8291f571 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_error_x.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_error_x.py @@ -548,8 +548,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.ErrorX -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.ErrorX +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.ErrorX`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_error_y.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_error_y.py index f3520ebdd22..7f34e433f42 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_error_y.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_error_y.py @@ -548,8 +548,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.ErrorY -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.ErrorY +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.ErrorY`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_error_z.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_error_z.py index 621dce55976..10eabe1fedc 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_error_z.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_error_z.py @@ -524,8 +524,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.ErrorZ -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.ErrorZ +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.ErrorZ`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_hoverlabel.py index 5819c26ce8c..b5049ba96a9 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_legendgrouptitle.py index 522d46506f6..516950958b9 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_line.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_line.py index aff261ff926..ae9fbcea779 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_line.py @@ -885,8 +885,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_marker.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_marker.py index fde4525990a..6b835ecc066 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_marker.py @@ -1198,8 +1198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_projection.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_projection.py index 7c5fad705c8..3b34ae5f6dc 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_projection.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_projection.py @@ -163,8 +163,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Projection -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Projection +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Projection`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_stream.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_stream.py index 10dc5f9c6e9..f1f3adf6132 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatter3d/_textfont.py index 34784a93681..4e5c111056d 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/_textfont.py @@ -254,8 +254,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scatter3d/hoverlabel/_font.py index eb1919cdff2..4026de498b7 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py index ba0bc51db96..d417a6e21ca 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/line/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scatter3d/line/_colorbar.py index 38c789e3991..a7e6cc84d5f 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/line/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/line/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.line.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.line.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.line.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py index 0b8a32e2aec..9d73b5c41cb 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py index 97f223d6b19..04e9d2fa7b0 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_title.py index 116bb3393e1..bbdc3f28662 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py index 7091264dd59..31eb455d4fc 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.line.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.line.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_colorbar.py index 97eb0d2e1b4..2cc1360a4f0 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_colorbar.py @@ -1954,8 +1954,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_line.py index db2ba943c3f..b2f9c285b7a 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/_line.py @@ -561,8 +561,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py index 439de8e6b3d..055c6eeedc8 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py index 076774ef653..f9537736504 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_title.py index 2592a8fa533..23d7da0cee3 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py index 2aa452a23ce..29bd82faf56 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_x.py b/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_x.py index 3a83449aad0..28728a3c8d6 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_x.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_x.py @@ -126,8 +126,8 @@ def __init__(self, arg=None, opacity=None, scale=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.projection.X -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.projection.X +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.projection.X`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_y.py b/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_y.py index 78816376bac..b36d3902c3a 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_y.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_y.py @@ -126,8 +126,8 @@ def __init__(self, arg=None, opacity=None, scale=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.projection.Y -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.projection.Y +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.projection.Y`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_z.py b/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_z.py index 92a6ff8929a..5ca5e519e88 100644 --- a/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_z.py +++ b/packages/python/plotly/plotly/graph_objs/scatter3d/projection/_z.py @@ -126,8 +126,8 @@ def __init__(self, arg=None, opacity=None, scale=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatter3d.projection.Z -constructor must be a dict or +The first argument to the plotly.graph_objs.scatter3d.projection.Z +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatter3d.projection.Z`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_hoverlabel.py index cdb0453abd2..bad273bd613 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_legendgrouptitle.py index d8722a0441a..d2f7208b4bb 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_line.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_line.py index 87527491ef6..12dc3b79922 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_line.py @@ -242,8 +242,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_marker.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_marker.py index f00644b4848..049ec74e8b0 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_marker.py @@ -1388,8 +1388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_selected.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_selected.py index 603f21fa941..f304c520ea8 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_stream.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_stream.py index 8e148ed1d25..bc4d38873db 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_textfont.py index bf49ec5ac57..f439af603e5 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/_unselected.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/_unselected.py index 8153e2458b5..15420192376 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/hoverlabel/_font.py index 09af6759ede..940dd531710 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py index 0883516fa05..1174926aacf 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_colorbar.py index 145989c6bb6..6d1a3e95126 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_colorbar.py @@ -1956,8 +1956,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_gradient.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_gradient.py index 623a45db2ba..e1d631261b4 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_gradient.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_gradient.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.Gradient -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.Gradient +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.Gradient`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_line.py index 6ab382fb9b8..223396a824a 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py index a177353dca8..2c2b34911ae 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py index 70352297bd5..1d6a29ee8f4 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py index 9b9a2b0be24..a7b63c6a74b 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py index a289efa717c..70a6f6edf25 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_marker.py index a0f95d772fb..1b24f8856f9 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_textfont.py index c87f1d919bd..0b331010650 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_marker.py index c07f89cdef6..5d0b8a5d0d9 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_textfont.py index fb8abd055d5..95209e17917 100644 --- a/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattercarpet/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattercarpet.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattercarpet.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattercarpet.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_hoverlabel.py index 754a6419327..a4e5fa62d63 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_legendgrouptitle.py index 921d6edb042..2d1e55976fd 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_line.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_line.py index 04d03b4e27d..7567b732492 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_line.py @@ -172,8 +172,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_marker.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_marker.py index e1ab8c10521..0a61419eb88 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_marker.py @@ -1359,8 +1359,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_selected.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_selected.py index 827978a17f8..c1277c1ae25 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_stream.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_stream.py index 5091e794380..fafa62d6278 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_textfont.py index 334f9dbddfe..3a6c5a00fe2 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/_unselected.py b/packages/python/plotly/plotly/graph_objs/scattergeo/_unselected.py index 2bf1c0e008a..5925e303523 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scattergeo/hoverlabel/_font.py index de35db49a7f..aff80f4b626 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py index 3ce876f921d..8467a015caa 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_colorbar.py index ddb7d135e45..d0c7804b119 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_colorbar.py @@ -1956,8 +1956,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_gradient.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_gradient.py index e59ee326c7b..9da07fb17f3 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_gradient.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_gradient.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.Gradient -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.Gradient +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.Gradient`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_line.py index a5ff03c1e81..3bea98d7d7e 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py index 1c43798e4f9..1dd3ac54785 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py index 06f7666ecda..8f39cd0d149 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_title.py index ea6df6272e4..17837af73c3 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py index 71c6b3c4f71..e90cdc0496f 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_marker.py index 37801459c7e..3d1b18e39be 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_textfont.py index ec9626f8f24..dc542178414 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_marker.py index 41322d4c592..12476e64cfe 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_textfont.py index 0025b123288..3202d39ac8c 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergeo/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergeo.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergeo.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergeo.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_error_x.py b/packages/python/plotly/plotly/graph_objs/scattergl/_error_x.py index 8d15c98fd2c..11270c70399 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_error_x.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_error_x.py @@ -548,8 +548,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.ErrorX -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.ErrorX +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.ErrorX`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_error_y.py b/packages/python/plotly/plotly/graph_objs/scattergl/_error_y.py index 637eb632dc5..a79211684c0 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_error_y.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_error_y.py @@ -524,8 +524,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.ErrorY -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.ErrorY +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.ErrorY`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scattergl/_hoverlabel.py index 116fd4171fe..80931f66699 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scattergl/_legendgrouptitle.py index f2a94feb538..ea56f6ba04b 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_line.py b/packages/python/plotly/plotly/graph_objs/scattergl/_line.py index e7955558d01..9659fbba199 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_line.py @@ -192,8 +192,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_marker.py b/packages/python/plotly/plotly/graph_objs/scattergl/_marker.py index d84ab9f26d1..8e90a17dcbf 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_marker.py @@ -1314,8 +1314,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_selected.py b/packages/python/plotly/plotly/graph_objs/scattergl/_selected.py index fd9fc773bf6..a7fabdd410a 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_stream.py b/packages/python/plotly/plotly/graph_objs/scattergl/_stream.py index 9b9bce11c74..9377ded88d1 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattergl/_textfont.py index c085d375301..f4de12c9947 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/_unselected.py b/packages/python/plotly/plotly/graph_objs/scattergl/_unselected.py index d54c46d0636..b7c165da06c 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scattergl/hoverlabel/_font.py index f332ab0f9f5..5c996be2a8c 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scattergl/legendgrouptitle/_font.py index e30ed1d636d..81a56248e28 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scattergl/marker/_colorbar.py index b68db795461..f1ea940ff6d 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/marker/_colorbar.py @@ -1954,8 +1954,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scattergl/marker/_line.py index 09860b9f46a..ba06e75bb9c 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py index d3dadbfa90a..b59bde55632 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py index 72f108b90e8..d6a4a14943d 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_title.py index 5fc7a496d22..7ef0b612e02 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py index 1bc55df0757..66dba22c247 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattergl/selected/_marker.py index 6be663123d6..7c75bf66ca0 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattergl/selected/_textfont.py index 6e1772b3816..d72808f27ea 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_marker.py index 3567a2b9b39..188144c355f 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_textfont.py index d7a7dd47b4b..03f459b9dc7 100644 --- a/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattergl/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattergl.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattergl.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattergl.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_hoverlabel.py index d9820ab067b..6bd2465753b 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_legendgrouptitle.py index b6fdadc6052..3a98fc1b2ff 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_line.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_line.py index 24de4166109..53702c28166 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_marker.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_marker.py index 76792fc5f47..b103a76d568 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_marker.py @@ -1195,8 +1195,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_selected.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_selected.py index 00179a06201..21df8b5b8c5 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_selected.py @@ -85,8 +85,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_stream.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_stream.py index ea8aee34d5b..20424942566 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_textfont.py index fc1f9f56cd1..fc8a77b87b9 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_textfont.py @@ -195,8 +195,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/_unselected.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/_unselected.py index b1e8c82b0cf..789952d317c 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/_unselected.py @@ -88,8 +88,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/hoverlabel/_font.py index f4d47f7ca05..828daf73f71 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py index f3c1526960f..37f2d576280 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/_colorbar.py index 2a82607e778..da2e50bad5f 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/_colorbar.py @@ -1956,8 +1956,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py index 7434dd4a2e2..a1dd54b44f0 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py index d736d9cc864..1c215a3bf2b 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py index f58475cdc8f..3c9d68fc711 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py index 5b963aa258d..e1a2d931ed4 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/selected/_marker.py index 80d0d60e214..14f82d5fa06 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattermapbox/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattermapbox/unselected/_marker.py index 763ab4bc1d4..4712c12b0d6 100644 --- a/packages/python/plotly/plotly/graph_objs/scattermapbox/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattermapbox/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattermapbox.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattermapbox.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattermapbox.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_hoverlabel.py index eedf1ddd2a1..4585d98cae0 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_legendgrouptitle.py index 02789ce0c4a..6c8526eb755 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_line.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_line.py index c419c76eec7..b1e237917e5 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_line.py @@ -242,8 +242,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_marker.py index 985349b10e2..c423ca2f57d 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_marker.py @@ -1388,8 +1388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_selected.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_selected.py index 342051b83ba..df8415c49eb 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_stream.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_stream.py index 7780e5de7cb..444327ede9f 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_textfont.py index 9f99c846723..1d062e102fb 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/_unselected.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/_unselected.py index caa5581899c..2cbe5169a3d 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/hoverlabel/_font.py index c8fed743307..21a7ce37acd 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py index 55bc638b91b..fe32ce880b6 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_colorbar.py index ad4522941e6..40710aa08f8 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_colorbar.py @@ -1956,8 +1956,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_gradient.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_gradient.py index 2c4c2dc4b5f..9c29c769c99 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_gradient.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_gradient.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.Gradient -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.Gradient +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.Gradient`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_line.py index 349a1b8c95b..99b4d76745a 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py index e9c9d92cd2d..5976f5deccf 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py index 0dcda87b37f..61eeba82553 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py index 61fc395f603..258a7e46e91 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py index 36e469ebf01..088a5188857 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_marker.py index ba12be4e21d..65c47bd19c8 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_textfont.py index 3fff454a3df..33b7ae9a0b7 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_marker.py index 5308fc69941..c92b7503448 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_textfont.py index eba4800f9f9..8330c2f1d8e 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolar/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolar.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolar.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolar.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_hoverlabel.py index c0bc614f90b..76f71b8cab3 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py index 1921dba21de..b0f1e95da35 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_line.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_line.py index 5eb42b4bb76..32de1b186f1 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_line.py @@ -192,8 +192,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_marker.py index ee0d4b288de..496cb9d7211 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_marker.py @@ -1314,8 +1314,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_selected.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_selected.py index ad9a3c7b898..3633cbd509c 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_stream.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_stream.py index 48df091d1ae..1446c900980 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_textfont.py index cd17d02dbd4..4f6b5147438 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_unselected.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_unselected.py index b01345b5bdc..41ad0befffc 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py index 76de852bf48..bda99288e6e 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py index 12824cba658..9596345a164 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_colorbar.py index 4f7e0c0d422..fb1999b79a1 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_colorbar.py @@ -1957,8 +1957,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_line.py index 5436583bc86..29e835c7142 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py index 2c97e1bf14a..940f9d29e3e 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py index 041cc67f913..4cf6020fc0f 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py index 98b05ee5646..2b8e2aeae81 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py index b23cfb0ea8b..ed908b4e006 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_marker.py index 8b2afd0f534..f8b22058a9d 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_textfont.py index e7d6acfc43f..b37d165bd01 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_marker.py index a76cd28afca..005c8a9e079 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_textfont.py index 3e08b8e558b..b05e65f33d7 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterpolargl/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterpolargl.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterpolargl.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterpolargl.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_hoverlabel.py index ce576e837f4..800848b4fb2 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_legendgrouptitle.py index c7831659784..cc15f65a487 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_line.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_line.py index 911809421c6..1cdcb7aae1b 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_line.py @@ -242,8 +242,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_marker.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_marker.py index 43df5d6a072..76daa149132 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_marker.py @@ -1388,8 +1388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_selected.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_selected.py index 7d4257b8fd5..f556045466f 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_stream.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_stream.py index dfff6372fc0..bbc9dd202c3 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_textfont.py index f9d4685b575..fb1887242a4 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/_unselected.py b/packages/python/plotly/plotly/graph_objs/scattersmith/_unselected.py index c6f2c2ed7f8..df78faca870 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scattersmith/hoverlabel/_font.py index 60f1abe2252..c5f257b6f05 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py index 2674c493f38..0ffddbc2db8 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_colorbar.py index 29381dde79e..c726d9b592b 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_colorbar.py @@ -1956,8 +1956,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_gradient.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_gradient.py index 5b02001c997..e1e91ba222f 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_gradient.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_gradient.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.Gradient -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.Gradient +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.Gradient`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_line.py index c76213014c3..61a47837459 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py index 8235c669acc..e7202e0aaba 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py index 6f1e31f862a..48b94ce5fd9 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_title.py index 008b4e68852..f58d5baac90 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py index 36ad10597b3..a02f6646a80 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_marker.py index e89cdb0a2fa..17f622a0913 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_textfont.py index f8ef981493a..d6207f10d58 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_marker.py index fa3a32f8f99..3e20eea5db1 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_textfont.py index 592920bf83a..f2fdfda870d 100644 --- a/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scattersmith/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scattersmith.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scattersmith.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scattersmith.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_hoverlabel.py index fa2d211c32d..79d5cd8269d 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_legendgrouptitle.py index 69d37d87ca9..2d3bf4fdc60 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_line.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_line.py index 65d286fad3d..9fdc65a2b34 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_line.py @@ -242,8 +242,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_marker.py index e93275048a7..c32f2aa8448 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_marker.py @@ -1388,8 +1388,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_selected.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_selected.py index ddc92c232d5..ea416db8aa6 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_selected.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_stream.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_stream.py index bb59408cd29..6f12b626be9 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_textfont.py index 57121518b2c..f32a6e91e46 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/_unselected.py b/packages/python/plotly/plotly/graph_objs/scatterternary/_unselected.py index fe7fc77f185..5546e8c40be 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/_unselected.py @@ -121,8 +121,8 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/scatterternary/hoverlabel/_font.py index 77bf7c772a7..8b202c96915 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py index f8dc010cc70..a9339185113 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_colorbar.py index 57178ffd8d0..bd371b3f6e1 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_colorbar.py @@ -1957,8 +1957,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_gradient.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_gradient.py index 2289114bb81..b5face9cc49 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_gradient.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_gradient.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.Gradient -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.Gradient +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.Gradient`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_line.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_line.py index de70c79bc78..427a71931c3 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py index 4d2fa14584f..6cf879dc32f 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py index 694eab4f3f9..20545634ca8 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_title.py index 173e02d43c7..a6e50d13a76 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py index 143ae411ac8..ddad227fd2a 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_marker.py index ab512287a6f..26bb1a9435c 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_textfont.py index 2ca0e005ae7..afb97493ebc 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/selected/_textfont.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.selected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.selected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.selected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_marker.py index 6d3c1ac2a75..bef9394b204 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_textfont.py b/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_textfont.py index 9508ce45274..1c452ced1d0 100644 --- a/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/scatterternary/unselected/_textfont.py @@ -115,8 +115,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.scatterternary.unselected.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.scatterternary.unselected.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.scatterternary.unselected.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_diagonal.py b/packages/python/plotly/plotly/graph_objs/splom/_diagonal.py index cb017e35783..fbfdc261a55 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_diagonal.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_diagonal.py @@ -76,8 +76,8 @@ def __init__(self, arg=None, visible=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Diagonal -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Diagonal +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Diagonal`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_dimension.py b/packages/python/plotly/plotly/graph_objs/splom/_dimension.py index b9855727b86..c9a7ffe2662 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_dimension.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_dimension.py @@ -308,8 +308,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Dimension -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Dimension +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Dimension`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/splom/_hoverlabel.py index 25887fc9778..e0dff02ed49 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/splom/_legendgrouptitle.py index 1aa69a0bf49..2aa5b6aa46c 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_marker.py b/packages/python/plotly/plotly/graph_objs/splom/_marker.py index a8f41b22a2b..a47fb44c0cf 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_marker.py @@ -1313,8 +1313,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_selected.py b/packages/python/plotly/plotly/graph_objs/splom/_selected.py index 30b90fb55a3..391699e3e3c 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_selected.py @@ -85,8 +85,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_stream.py b/packages/python/plotly/plotly/graph_objs/splom/_stream.py index 34340a280f7..c97ab999fe8 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/_unselected.py b/packages/python/plotly/plotly/graph_objs/splom/_unselected.py index 733b5875486..70ba03e6c21 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/splom/_unselected.py @@ -88,8 +88,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/dimension/_axis.py b/packages/python/plotly/plotly/graph_objs/splom/dimension/_axis.py index 3fe4b69c327..9d82b980af0 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/dimension/_axis.py +++ b/packages/python/plotly/plotly/graph_objs/splom/dimension/_axis.py @@ -112,8 +112,8 @@ def __init__(self, arg=None, matches=None, type=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.dimension.Axis -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.dimension.Axis +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.dimension.Axis`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/splom/hoverlabel/_font.py index 6fcdd915f7f..508146a0f7f 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/splom/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/splom/legendgrouptitle/_font.py index fbea4400915..58e70d59e11 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/splom/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/splom/marker/_colorbar.py index a1ae68d0ce1..a9f1b4b52c4 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/splom/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/marker/_line.py b/packages/python/plotly/plotly/graph_objs/splom/marker/_line.py index bdcfbfb2716..34ed78dae4c 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/splom/marker/_line.py @@ -590,8 +590,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickfont.py index 2d2bfa07a4e..44e3339565c 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py index a3a8adde967..7cd0145ad2f 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_title.py index a85c364fe68..dd215445f98 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/title/_font.py index 7c9fc1a054b..39279531936 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/splom/selected/_marker.py index dca4aeb1cc6..0d8d5e39b4e 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/splom/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/splom/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/splom/unselected/_marker.py index dde087e43e6..b86833b9c09 100644 --- a/packages/python/plotly/plotly/graph_objs/splom/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/splom/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.splom.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.splom.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.splom.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_colorbar.py b/packages/python/plotly/plotly/graph_objs/streamtube/_colorbar.py index 96683a4e52e..c23482de08c 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_colorbar.py @@ -1950,8 +1950,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/streamtube/_hoverlabel.py index 6bdcec910a7..606221355d9 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/streamtube/_legendgrouptitle.py index e68837a2da2..b68bce797ee 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_lighting.py b/packages/python/plotly/plotly/graph_objs/streamtube/_lighting.py index 5a160f5dc4a..c1093659289 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_lighting.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_lighting.py @@ -262,8 +262,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.Lighting -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.Lighting +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.Lighting`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_lightposition.py b/packages/python/plotly/plotly/graph_objs/streamtube/_lightposition.py index d31602e501e..d42b300a241 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_lightposition.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_lightposition.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.Lightposition -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.Lightposition +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.Lightposition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_starts.py b/packages/python/plotly/plotly/graph_objs/streamtube/_starts.py index 2660c3d1b21..8eaeb8062c8 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_starts.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_starts.py @@ -218,8 +218,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.Starts -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.Starts +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.Starts`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/_stream.py b/packages/python/plotly/plotly/graph_objs/streamtube/_stream.py index e8f3905d076..c9eaaf8e934 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickfont.py index 36d0c998843..ce57704648d 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py index fec978ccf25..25a8b253f13 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_title.py index 5209473bb7d..09cb33edee7 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/title/_font.py index abf352cad53..ba1156aa699 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/streamtube/hoverlabel/_font.py index 219ed9c0bcd..596323334c5 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/streamtube/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/streamtube/legendgrouptitle/_font.py index 1777d70ef97..8afa5f6fa5b 100644 --- a/packages/python/plotly/plotly/graph_objs/streamtube/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/streamtube/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.streamtube.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.streamtube.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.streamtube.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_domain.py b/packages/python/plotly/plotly/graph_objs/sunburst/_domain.py index 4d94c62bc2c..31cf6f6bad0 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/sunburst/_hoverlabel.py index 3864545b907..fcb17f60221 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/sunburst/_insidetextfont.py index bf784b56df3..49bc65cba7e 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_leaf.py b/packages/python/plotly/plotly/graph_objs/sunburst/_leaf.py index 2e2c9b2ae59..7c343bbba98 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_leaf.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_leaf.py @@ -75,8 +75,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Leaf -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Leaf +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Leaf`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/sunburst/_legendgrouptitle.py index b3e1a6971c9..c6f6af2d29d 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_marker.py b/packages/python/plotly/plotly/graph_objs/sunburst/_marker.py index ad676b4f0d8..f6eed90e754 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_marker.py @@ -822,8 +822,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/sunburst/_outsidetextfont.py index e417a5ac306..e7eeacf7659 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_outsidetextfont.py @@ -288,8 +288,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_root.py b/packages/python/plotly/plotly/graph_objs/sunburst/_root.py index 07fa61c0f84..cd4a949f20f 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_root.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_root.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Root -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Root +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Root`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_stream.py b/packages/python/plotly/plotly/graph_objs/sunburst/_stream.py index 71152a8e1a0..ee2526e662a 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/_textfont.py b/packages/python/plotly/plotly/graph_objs/sunburst/_textfont.py index 0b42172c341..28b377cf40d 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/sunburst/hoverlabel/_font.py index 29f11e081f8..8f2dcbf598d 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/sunburst/legendgrouptitle/_font.py index f656cedf094..7ccbd0c28a5 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/sunburst/marker/_colorbar.py index 90dcff725e4..7bbc57a2f86 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/marker/_line.py b/packages/python/plotly/plotly/graph_objs/sunburst/marker/_line.py index 16a09e7ab01..c116e5d9615 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/marker/_line.py @@ -197,8 +197,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py index b2f31f88f75..aa02d6d4d07 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py index 9359d03f44f..28d48b5b733 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_title.py index bb037f78937..678bd04968e 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py index 9063aaff5d4..ac1ec50e0ad 100644 --- a/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.sunburst.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.sunburst.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_colorbar.py b/packages/python/plotly/plotly/graph_objs/surface/_colorbar.py index cd841ad11dc..6b3e3744c1c 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_colorbar.py @@ -1951,8 +1951,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_contours.py b/packages/python/plotly/plotly/graph_objs/surface/_contours.py index 63da796ac76..f07540cf592 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_contours.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_contours.py @@ -238,8 +238,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.Contours -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.Contours +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.Contours`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/surface/_hoverlabel.py index 979976eefd0..97ae1a9a37b 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/surface/_legendgrouptitle.py index f77e5bd0d8b..9639caafecb 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_lighting.py b/packages/python/plotly/plotly/graph_objs/surface/_lighting.py index a428c024c5b..91e7ff62ee1 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_lighting.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_lighting.py @@ -198,8 +198,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.Lighting -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.Lighting +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.Lighting`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_lightposition.py b/packages/python/plotly/plotly/graph_objs/surface/_lightposition.py index f4a2537b293..29e5ac30ae5 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_lightposition.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_lightposition.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.Lightposition -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.Lightposition +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.Lightposition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/_stream.py b/packages/python/plotly/plotly/graph_objs/surface/_stream.py index 4a19df6d146..38f7bcbdc5c 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/surface/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickfont.py index 076677a2ccd..888a069b6c4 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickformatstop.py index a7b5fe3311e..89bdc997b58 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/surface/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/surface/colorbar/_title.py index 54a58c95d5e..0048ceab3b5 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/surface/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/surface/colorbar/title/_font.py index e051e57d887..e6fc8caf1a6 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/surface/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/contours/_x.py b/packages/python/plotly/plotly/graph_objs/surface/contours/_x.py index 3d6a3ad1fac..3a0122ad5de 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/contours/_x.py +++ b/packages/python/plotly/plotly/graph_objs/surface/contours/_x.py @@ -459,8 +459,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.contours.X -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.contours.X +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.contours.X`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/contours/_y.py b/packages/python/plotly/plotly/graph_objs/surface/contours/_y.py index 2bb591830e6..faf7eccca32 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/contours/_y.py +++ b/packages/python/plotly/plotly/graph_objs/surface/contours/_y.py @@ -459,8 +459,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.contours.Y -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.contours.Y +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.contours.Y`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/contours/_z.py b/packages/python/plotly/plotly/graph_objs/surface/contours/_z.py index b771c46c22e..21a4dc7262a 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/contours/_z.py +++ b/packages/python/plotly/plotly/graph_objs/surface/contours/_z.py @@ -459,8 +459,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.contours.Z -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.contours.Z +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.contours.Z`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/contours/x/_project.py b/packages/python/plotly/plotly/graph_objs/surface/contours/x/_project.py index 7bd12f07cdc..158db85158d 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/contours/x/_project.py +++ b/packages/python/plotly/plotly/graph_objs/surface/contours/x/_project.py @@ -154,8 +154,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.contours.x.Project -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.contours.x.Project +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.contours.x.Project`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/contours/y/_project.py b/packages/python/plotly/plotly/graph_objs/surface/contours/y/_project.py index c6b7afd3c81..68ff9fd518c 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/contours/y/_project.py +++ b/packages/python/plotly/plotly/graph_objs/surface/contours/y/_project.py @@ -154,8 +154,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.contours.y.Project -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.contours.y.Project +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.contours.y.Project`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/contours/z/_project.py b/packages/python/plotly/plotly/graph_objs/surface/contours/z/_project.py index 2a66a4a5a33..17efc1ae04a 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/contours/z/_project.py +++ b/packages/python/plotly/plotly/graph_objs/surface/contours/z/_project.py @@ -154,8 +154,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.contours.z.Project -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.contours.z.Project +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.contours.z.Project`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/surface/hoverlabel/_font.py index 61e39d0b860..19f3cdbc930 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/surface/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/surface/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/surface/legendgrouptitle/_font.py index 3fe127d8ce6..d7ffc85879c 100644 --- a/packages/python/plotly/plotly/graph_objs/surface/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/surface/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.surface.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.surface.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.surface.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/_cells.py b/packages/python/plotly/plotly/graph_objs/table/_cells.py index b0149af4313..3396d7e84d3 100644 --- a/packages/python/plotly/plotly/graph_objs/table/_cells.py +++ b/packages/python/plotly/plotly/graph_objs/table/_cells.py @@ -529,8 +529,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.Cells -constructor must be a dict or +The first argument to the plotly.graph_objs.table.Cells +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.Cells`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/_domain.py b/packages/python/plotly/plotly/graph_objs/table/_domain.py index 364573e666d..7b3274e955e 100644 --- a/packages/python/plotly/plotly/graph_objs/table/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/table/_domain.py @@ -168,8 +168,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.table.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/_header.py b/packages/python/plotly/plotly/graph_objs/table/_header.py index e06165dbe03..ee1ba14cf11 100644 --- a/packages/python/plotly/plotly/graph_objs/table/_header.py +++ b/packages/python/plotly/plotly/graph_objs/table/_header.py @@ -529,8 +529,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.Header -constructor must be a dict or +The first argument to the plotly.graph_objs.table.Header +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.Header`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/table/_hoverlabel.py index 762063642a3..2de7813231b 100644 --- a/packages/python/plotly/plotly/graph_objs/table/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/table/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.table.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/table/_legendgrouptitle.py index b1020ed2563..e80d911bbdd 100644 --- a/packages/python/plotly/plotly/graph_objs/table/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/table/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.table.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/_stream.py b/packages/python/plotly/plotly/graph_objs/table/_stream.py index 42b71d58797..f42337b2e04 100644 --- a/packages/python/plotly/plotly/graph_objs/table/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/table/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.table.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/cells/_fill.py b/packages/python/plotly/plotly/graph_objs/table/cells/_fill.py index b9c97b05ee8..c081a9b2ddc 100644 --- a/packages/python/plotly/plotly/graph_objs/table/cells/_fill.py +++ b/packages/python/plotly/plotly/graph_objs/table/cells/_fill.py @@ -142,8 +142,8 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.cells.Fill -constructor must be a dict or +The first argument to the plotly.graph_objs.table.cells.Fill +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.cells.Fill`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/cells/_font.py b/packages/python/plotly/plotly/graph_objs/table/cells/_font.py index ae2d6a37483..717a2847142 100644 --- a/packages/python/plotly/plotly/graph_objs/table/cells/_font.py +++ b/packages/python/plotly/plotly/graph_objs/table/cells/_font.py @@ -282,8 +282,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.cells.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.table.cells.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.cells.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/cells/_line.py b/packages/python/plotly/plotly/graph_objs/table/cells/_line.py index d4a2d7f7567..6483287201f 100644 --- a/packages/python/plotly/plotly/graph_objs/table/cells/_line.py +++ b/packages/python/plotly/plotly/graph_objs/table/cells/_line.py @@ -188,8 +188,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.cells.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.table.cells.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.cells.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/header/_fill.py b/packages/python/plotly/plotly/graph_objs/table/header/_fill.py index 56f570f92c0..92353609339 100644 --- a/packages/python/plotly/plotly/graph_objs/table/header/_fill.py +++ b/packages/python/plotly/plotly/graph_objs/table/header/_fill.py @@ -142,8 +142,8 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.header.Fill -constructor must be a dict or +The first argument to the plotly.graph_objs.table.header.Fill +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.header.Fill`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/header/_font.py b/packages/python/plotly/plotly/graph_objs/table/header/_font.py index 946e4323af6..fa7d878057d 100644 --- a/packages/python/plotly/plotly/graph_objs/table/header/_font.py +++ b/packages/python/plotly/plotly/graph_objs/table/header/_font.py @@ -282,8 +282,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.header.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.table.header.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.header.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/header/_line.py b/packages/python/plotly/plotly/graph_objs/table/header/_line.py index 95327e6eb92..8f0e41c9395 100644 --- a/packages/python/plotly/plotly/graph_objs/table/header/_line.py +++ b/packages/python/plotly/plotly/graph_objs/table/header/_line.py @@ -188,8 +188,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.header.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.table.header.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.header.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/table/hoverlabel/_font.py index 95b9207ee98..265f181b1a3 100644 --- a/packages/python/plotly/plotly/graph_objs/table/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/table/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.table.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/table/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/table/legendgrouptitle/_font.py index a71a5784484..d48cf0853ff 100644 --- a/packages/python/plotly/plotly/graph_objs/table/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/table/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.table.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.table.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.table.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_domain.py b/packages/python/plotly/plotly/graph_objs/treemap/_domain.py index 74ae46181e1..25cbbdb69c5 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_domain.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_domain.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Domain -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Domain +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Domain`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/treemap/_hoverlabel.py index 8d3a7ecd0c2..033ad4f0ffc 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/treemap/_insidetextfont.py index 011018ae763..b9adb31dafe 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/treemap/_legendgrouptitle.py index f94ccea8b56..a88a5dd085d 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_marker.py b/packages/python/plotly/plotly/graph_objs/treemap/_marker.py index b436639c6fb..2cfca85f4bd 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_marker.py @@ -912,8 +912,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/treemap/_outsidetextfont.py index 8f9de175525..8ee07314141 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_outsidetextfont.py @@ -288,8 +288,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_pathbar.py b/packages/python/plotly/plotly/graph_objs/treemap/_pathbar.py index fb8d7896b66..8b84a951950 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_pathbar.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_pathbar.py @@ -231,8 +231,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Pathbar -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Pathbar +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Pathbar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_root.py b/packages/python/plotly/plotly/graph_objs/treemap/_root.py index c90b48d0595..19fb073608e 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_root.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_root.py @@ -117,8 +117,8 @@ def __init__(self, arg=None, color=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Root -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Root +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Root`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_stream.py b/packages/python/plotly/plotly/graph_objs/treemap/_stream.py index 621f79d3110..8f1c320912a 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_textfont.py b/packages/python/plotly/plotly/graph_objs/treemap/_textfont.py index 8cd48d26b8d..91f8414c5e7 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/_tiling.py b/packages/python/plotly/plotly/graph_objs/treemap/_tiling.py index 85279fc0b73..6908b3a95c8 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/_tiling.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/_tiling.py @@ -191,8 +191,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.Tiling -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.Tiling +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.Tiling`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/treemap/hoverlabel/_font.py index 099539a372a..64af1fb191f 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/treemap/legendgrouptitle/_font.py index d9f205eb209..1ba47ef09c8 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/_colorbar.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/_colorbar.py index 7f32acc4244..d6e14c6d160 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/_colorbar.py @@ -1952,8 +1952,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/_line.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/_line.py index f17cf9770de..10d261ee159 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/_line.py @@ -197,8 +197,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/_pad.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/_pad.py index 43e4980a3f6..33e35a2cb60 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/_pad.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/_pad.py @@ -145,8 +145,8 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.Pad -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.Pad +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.Pad`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py index 8c7b69ae185..6ed372dc420 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py index 8f008ca1868..fa3754e45da 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_title.py index 6a9f5d45c84..e6633297988 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/title/_font.py index ea7bf4724d7..b5ba47b9386 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/marker/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.marker.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.marker.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/treemap/pathbar/_textfont.py b/packages/python/plotly/plotly/graph_objs/treemap/pathbar/_textfont.py index 49ee5f8fad0..961da6bce34 100644 --- a/packages/python/plotly/plotly/graph_objs/treemap/pathbar/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/treemap/pathbar/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.treemap.pathbar.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.treemap.pathbar.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.treemap.pathbar.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_box.py b/packages/python/plotly/plotly/graph_objs/violin/_box.py index a769ed37980..5b343e830e7 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_box.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_box.py @@ -204,8 +204,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Box -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Box +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Box`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/violin/_hoverlabel.py index 563bc24b004..8fb9e9511ad 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/violin/_legendgrouptitle.py index 0f5f1579404..8bfe27829d9 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_line.py b/packages/python/plotly/plotly/graph_objs/violin/_line.py index b9156db3dc9..b345e21426e 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_line.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_line.py @@ -135,8 +135,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_marker.py b/packages/python/plotly/plotly/graph_objs/violin/_marker.py index 5ca1af72db0..0fb40ea93f4 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_marker.py @@ -411,8 +411,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_meanline.py b/packages/python/plotly/plotly/graph_objs/violin/_meanline.py index f51ef364291..a01a203c037 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_meanline.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_meanline.py @@ -171,8 +171,8 @@ def __init__(self, arg=None, color=None, visible=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Meanline -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Meanline +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Meanline`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_selected.py b/packages/python/plotly/plotly/graph_objs/violin/_selected.py index 182a6635244..5af0f9da161 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_selected.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_selected.py @@ -85,8 +85,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Selected -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Selected +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Selected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_stream.py b/packages/python/plotly/plotly/graph_objs/violin/_stream.py index d63a36b4556..1650d9e04ae 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/_unselected.py b/packages/python/plotly/plotly/graph_objs/violin/_unselected.py index 3ed56701f58..b2bbee1581a 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/_unselected.py +++ b/packages/python/plotly/plotly/graph_objs/violin/_unselected.py @@ -88,8 +88,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.Unselected -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.Unselected +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.Unselected`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/box/_line.py b/packages/python/plotly/plotly/graph_objs/violin/box/_line.py index f2e8a6cffa8..82009a329ef 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/box/_line.py +++ b/packages/python/plotly/plotly/graph_objs/violin/box/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.box.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.box.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.box.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/violin/hoverlabel/_font.py index c4114966c6e..d4b8726a1f8 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/violin/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/violin/legendgrouptitle/_font.py index 527e085c5ea..a16712da7c7 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/violin/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/marker/_line.py b/packages/python/plotly/plotly/graph_objs/violin/marker/_line.py index 4aae27163f7..2ca0f3d5140 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/violin/marker/_line.py @@ -250,8 +250,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/selected/_marker.py b/packages/python/plotly/plotly/graph_objs/violin/selected/_marker.py index 9f58261c807..ab927292f80 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/selected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/violin/selected/_marker.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.selected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.selected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.selected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/violin/unselected/_marker.py b/packages/python/plotly/plotly/graph_objs/violin/unselected/_marker.py index 55ffee689f9..76449d2b9b8 100644 --- a/packages/python/plotly/plotly/graph_objs/violin/unselected/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/violin/unselected/_marker.py @@ -169,8 +169,8 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.violin.unselected.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.violin.unselected.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.violin.unselected.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_caps.py b/packages/python/plotly/plotly/graph_objs/volume/_caps.py index 74463c0e98d..9d6462ccc81 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_caps.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_caps.py @@ -177,8 +177,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Caps -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Caps +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Caps`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_colorbar.py b/packages/python/plotly/plotly/graph_objs/volume/_colorbar.py index e7c7b63b94b..e02d0640527 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_colorbar.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_colorbar.py @@ -1951,8 +1951,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.ColorBar -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.ColorBar +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.ColorBar`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_contour.py b/packages/python/plotly/plotly/graph_objs/volume/_contour.py index fec3e48a529..4faf0876afb 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_contour.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_contour.py @@ -160,8 +160,8 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Contour -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Contour +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Contour`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/volume/_hoverlabel.py index b5958159556..41252ce3e11 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/volume/_legendgrouptitle.py index 9c93ce0b3b3..212ac619802 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_lighting.py b/packages/python/plotly/plotly/graph_objs/volume/_lighting.py index ee62486f7de..d27f9d1e9cb 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_lighting.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_lighting.py @@ -262,8 +262,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Lighting -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Lighting +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Lighting`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_lightposition.py b/packages/python/plotly/plotly/graph_objs/volume/_lightposition.py index be8ece7a31d..a0e0eb1f86f 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_lightposition.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_lightposition.py @@ -127,8 +127,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Lightposition -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Lightposition +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Lightposition`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_slices.py b/packages/python/plotly/plotly/graph_objs/volume/_slices.py index 3bc625dadc4..e5b47a34eec 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_slices.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_slices.py @@ -192,8 +192,8 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Slices -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Slices +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Slices`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_spaceframe.py b/packages/python/plotly/plotly/graph_objs/volume/_spaceframe.py index bb702a3f702..8912ff3c280 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_spaceframe.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_spaceframe.py @@ -114,8 +114,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Spaceframe -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Spaceframe +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Spaceframe`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_stream.py b/packages/python/plotly/plotly/graph_objs/volume/_stream.py index ae328742799..3c5778090a1 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_stream.py @@ -110,8 +110,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/_surface.py b/packages/python/plotly/plotly/graph_objs/volume/_surface.py index 260f1c5dddb..b4547f344de 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/_surface.py +++ b/packages/python/plotly/plotly/graph_objs/volume/_surface.py @@ -192,8 +192,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.Surface -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.Surface +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.Surface`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/caps/_x.py b/packages/python/plotly/plotly/graph_objs/volume/caps/_x.py index c7330732011..93661103d0d 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/caps/_x.py +++ b/packages/python/plotly/plotly/graph_objs/volume/caps/_x.py @@ -118,8 +118,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.caps.X -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.caps.X +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.caps.X`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/caps/_y.py b/packages/python/plotly/plotly/graph_objs/volume/caps/_y.py index d931c1bdbf0..956a5b49365 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/caps/_y.py +++ b/packages/python/plotly/plotly/graph_objs/volume/caps/_y.py @@ -118,8 +118,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.caps.Y -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.caps.Y +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.caps.Y`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/caps/_z.py b/packages/python/plotly/plotly/graph_objs/volume/caps/_z.py index ede4d43f234..a42a47589fc 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/caps/_z.py +++ b/packages/python/plotly/plotly/graph_objs/volume/caps/_z.py @@ -118,8 +118,8 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.caps.Z -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.caps.Z +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.caps.Z`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickfont.py b/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickfont.py index ba6ceda0c8a..3e73bfe7a50 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickfont.py +++ b/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickfont.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.colorbar.Tickfont -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.colorbar.Tickfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.colorbar.Tickfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickformatstop.py b/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickformatstop.py index f516329757f..103def03614 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickformatstop.py +++ b/packages/python/plotly/plotly/graph_objs/volume/colorbar/_tickformatstop.py @@ -241,8 +241,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.colorbar.Tickformatstop -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.colorbar.Tickformatstop +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.colorbar.Tickformatstop`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/colorbar/_title.py b/packages/python/plotly/plotly/graph_objs/volume/colorbar/_title.py index a6e7e9328da..1ec2e6ee48e 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/colorbar/_title.py +++ b/packages/python/plotly/plotly/graph_objs/volume/colorbar/_title.py @@ -176,8 +176,8 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.colorbar.Title -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.colorbar.Title +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.colorbar.Title`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/colorbar/title/_font.py b/packages/python/plotly/plotly/graph_objs/volume/colorbar/title/_font.py index 5cf90e28c0a..3aa2e10ff88 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/colorbar/title/_font.py +++ b/packages/python/plotly/plotly/graph_objs/volume/colorbar/title/_font.py @@ -194,8 +194,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.colorbar.title.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.colorbar.title.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.colorbar.title.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/volume/hoverlabel/_font.py index b71611b471e..8cf47f9458b 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/volume/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/volume/legendgrouptitle/_font.py index c255dcf1d33..b213caa4495 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/volume/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/slices/_x.py b/packages/python/plotly/plotly/graph_objs/volume/slices/_x.py index 3a58c326edd..04d84e18475 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/slices/_x.py +++ b/packages/python/plotly/plotly/graph_objs/volume/slices/_x.py @@ -176,8 +176,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.slices.X -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.slices.X +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.slices.X`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/slices/_y.py b/packages/python/plotly/plotly/graph_objs/volume/slices/_y.py index 1b5ca609288..dbf474bd00d 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/slices/_y.py +++ b/packages/python/plotly/plotly/graph_objs/volume/slices/_y.py @@ -176,8 +176,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.slices.Y -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.slices.Y +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.slices.Y`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/volume/slices/_z.py b/packages/python/plotly/plotly/graph_objs/volume/slices/_z.py index 5daed44a7be..32b05693a21 100644 --- a/packages/python/plotly/plotly/graph_objs/volume/slices/_z.py +++ b/packages/python/plotly/plotly/graph_objs/volume/slices/_z.py @@ -176,8 +176,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.volume.slices.Z -constructor must be a dict or +The first argument to the plotly.graph_objs.volume.slices.Z +constructor must be a dict or an instance of :class:`plotly.graph_objs.volume.slices.Z`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_connector.py b/packages/python/plotly/plotly/graph_objs/waterfall/_connector.py index 1ef0bf17cd7..9808c28ce7c 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_connector.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_connector.py @@ -137,8 +137,8 @@ def __init__(self, arg=None, line=None, mode=None, visible=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Connector -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Connector +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Connector`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_decreasing.py b/packages/python/plotly/plotly/graph_objs/waterfall/_decreasing.py index fb8200951c5..452f4439615 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_decreasing.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_decreasing.py @@ -85,8 +85,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Decreasing -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Decreasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Decreasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_hoverlabel.py b/packages/python/plotly/plotly/graph_objs/waterfall/_hoverlabel.py index 1ebe442585e..549de510091 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_hoverlabel.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_hoverlabel.py @@ -445,8 +445,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Hoverlabel -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Hoverlabel +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Hoverlabel`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_increasing.py b/packages/python/plotly/plotly/graph_objs/waterfall/_increasing.py index c8e9eaf0b8c..3efad61d153 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_increasing.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_increasing.py @@ -85,8 +85,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Increasing -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Increasing +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Increasing`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_insidetextfont.py b/packages/python/plotly/plotly/graph_objs/waterfall/_insidetextfont.py index 5bcbe7adf31..ae22681bc82 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_insidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_insidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Insidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Insidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Insidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_legendgrouptitle.py b/packages/python/plotly/plotly/graph_objs/waterfall/_legendgrouptitle.py index a2e75a45be8..cd5e970d2a7 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_legendgrouptitle.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_legendgrouptitle.py @@ -124,8 +124,8 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Legendgrouptitle -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Legendgrouptitle +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Legendgrouptitle`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_outsidetextfont.py b/packages/python/plotly/plotly/graph_objs/waterfall/_outsidetextfont.py index 2e350bda30c..09ba3b85457 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_outsidetextfont.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_outsidetextfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Outsidetextfont -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Outsidetextfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Outsidetextfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_stream.py b/packages/python/plotly/plotly/graph_objs/waterfall/_stream.py index 376954dcd02..36060f46e34 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_stream.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_stream.py @@ -111,8 +111,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Stream -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Stream +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Stream`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_textfont.py b/packages/python/plotly/plotly/graph_objs/waterfall/_textfont.py index 00e74163b92..eeeb5e2ab24 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_textfont.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_textfont.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Textfont -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Textfont +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Textfont`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/_totals.py b/packages/python/plotly/plotly/graph_objs/waterfall/_totals.py index e7ca7694b1c..48611b7b001 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/_totals.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/_totals.py @@ -86,8 +86,8 @@ def __init__(self, arg=None, marker=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.Totals -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.Totals +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.Totals`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/connector/_line.py b/packages/python/plotly/plotly/graph_objs/waterfall/connector/_line.py index 6867372355b..37bfa9068aa 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/connector/_line.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/connector/_line.py @@ -172,8 +172,8 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.connector.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.connector.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.connector.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/_marker.py b/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/_marker.py index 11293b5ce2b..1c97357d3ce 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/_marker.py @@ -146,8 +146,8 @@ def __init__(self, arg=None, color=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.decreasing.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.decreasing.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.decreasing.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/marker/_line.py b/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/marker/_line.py index 6b44b44074f..d368f65b950 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/decreasing/marker/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.decreasing.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.decreasing.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.decreasing.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/hoverlabel/_font.py b/packages/python/plotly/plotly/graph_objs/waterfall/hoverlabel/_font.py index 074e24386ac..af885cd4c4d 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/hoverlabel/_font.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/hoverlabel/_font.py @@ -284,8 +284,8 @@ def __init__( else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.hoverlabel.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.hoverlabel.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.hoverlabel.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/increasing/_marker.py b/packages/python/plotly/plotly/graph_objs/waterfall/increasing/_marker.py index 361e73bd819..d781c684bd4 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/increasing/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/increasing/_marker.py @@ -146,8 +146,8 @@ def __init__(self, arg=None, color=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.increasing.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.increasing.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.increasing.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/increasing/marker/_line.py b/packages/python/plotly/plotly/graph_objs/waterfall/increasing/marker/_line.py index 11fa42bd9e5..476494b42c9 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/increasing/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/increasing/marker/_line.py @@ -136,8 +136,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.increasing.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.increasing.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.increasing.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/legendgrouptitle/_font.py b/packages/python/plotly/plotly/graph_objs/waterfall/legendgrouptitle/_font.py index 56e0eb688f4..15ed68a03a1 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/legendgrouptitle/_font.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/legendgrouptitle/_font.py @@ -193,8 +193,8 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.legendgrouptitle.Font -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.legendgrouptitle.Font +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.legendgrouptitle.Font`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/totals/_marker.py b/packages/python/plotly/plotly/graph_objs/waterfall/totals/_marker.py index 82c8aa99820..569e78ac5d5 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/totals/_marker.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/totals/_marker.py @@ -151,8 +151,8 @@ def __init__(self, arg=None, color=None, line=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.totals.Marker -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.totals.Marker +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.totals.Marker`""" ) diff --git a/packages/python/plotly/plotly/graph_objs/waterfall/totals/marker/_line.py b/packages/python/plotly/plotly/graph_objs/waterfall/totals/marker/_line.py index e064fc90036..d0eec46f41e 100644 --- a/packages/python/plotly/plotly/graph_objs/waterfall/totals/marker/_line.py +++ b/packages/python/plotly/plotly/graph_objs/waterfall/totals/marker/_line.py @@ -140,8 +140,8 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): else: raise ValueError( """\ -The first argument to the plotly.graph_objs.waterfall.totals.marker.Line -constructor must be a dict or +The first argument to the plotly.graph_objs.waterfall.totals.marker.Line +constructor must be a dict or an instance of :class:`plotly.graph_objs.waterfall.totals.marker.Line`""" ) diff --git a/packages/python/plotly/plotly/subplots.py b/packages/python/plotly/plotly/subplots.py index 855b5f78ba2..5540c7dd76b 100644 --- a/packages/python/plotly/plotly/subplots.py +++ b/packages/python/plotly/plotly/subplots.py @@ -1,45 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import, unicode_literals - -# Constants -# --------- -# Subplot types that are each individually positioned with a domain -# -# Each of these subplot types has a `domain` property with `x`/`y` -# properties. -# Note that this set does not contain `xaxis`/`yaxis` because these behave a -# little differently. -import collections - -_single_subplot_types = {"scene", "geo", "polar", "ternary", "mapbox"} -_subplot_types = set.union(_single_subplot_types, {"xy", "domain"}) - -# For most subplot types, a trace is associated with a particular subplot -# using a trace property with a name that matches the subplot type. For -# example, a `scatter3d.scene` property set to `'scene2'` associates a -# scatter3d trace with the second `scene` subplot in the figure. -# -# There are a few subplot types that don't follow this pattern, and instead -# the trace property is just named `subplot`. For example setting -# the `scatterpolar.subplot` property to `polar3` associates the scatterpolar -# trace with the third polar subplot in the figure -_subplot_prop_named_subplot = {"polar", "ternary", "mapbox"} - - -# Named tuple to hold an xaxis/yaxis pair that represent a single subplot -SubplotXY = collections.namedtuple("SubplotXY", ("xaxis", "yaxis")) -SubplotDomain = collections.namedtuple("SubplotDomain", ("x", "y")) - -SubplotRef = collections.namedtuple( - "SubplotRef", ("subplot_type", "layout_keys", "trace_kwargs") -) - - -def _get_initial_max_subplot_ids(): - max_subplot_ids = {subplot_type: 0 for subplot_type in _single_subplot_types} - max_subplot_ids["xaxis"] = 0 - max_subplot_ids["yaxis"] = 0 - return max_subplot_ids +import plotly.graph_objects as go +from . import _subplots as sub def make_subplots( @@ -62,7 +23,7 @@ def make_subplots( y_title=None, figure=None, **kwargs, -): +) -> go.Figure: """ Return an instance of plotly.graph_objs.Figure with predefined subplots configured in 'layout'. @@ -340,1167 +301,24 @@ def make_subplots( Figure(...) """ - import plotly.graph_objs as go - - # Handle backward compatibility - # ----------------------------- - use_legacy_row_heights_order = "row_width" in kwargs - row_heights = kwargs.pop("row_width", row_heights) - column_widths = kwargs.pop("column_width", column_widths) - - if kwargs: - raise TypeError( - "make_subplots() got unexpected keyword argument(s): {}".format( - list(kwargs) - ) - ) - - # Validate coerce inputs - # ---------------------- - # ### rows ### - if not isinstance(rows, int) or rows <= 0: - raise ValueError( - """ -The 'rows' argument to make_suplots must be an int greater than 0. - Received value of type {typ}: {val}""".format( - typ=type(rows), val=repr(rows) - ) - ) - - # ### cols ### - if not isinstance(cols, int) or cols <= 0: - raise ValueError( - """ -The 'cols' argument to make_suplots must be an int greater than 0. - Received value of type {typ}: {val}""".format( - typ=type(cols), val=repr(cols) - ) - ) - - # ### start_cell ### - if start_cell == "bottom-left": - col_dir = 1 - row_dir = 1 - elif start_cell == "top-left": - col_dir = 1 - row_dir = -1 - else: - raise ValueError( - """ -The 'start_cell` argument to make_subplots must be one of \ -['bottom-left', 'top-left'] - Received value of type {typ}: {val}""".format( - typ=type(start_cell), val=repr(start_cell) - ) - ) - - # ### Helper to validate coerce elements of lists of dictionaries ### - def _check_keys_and_fill(name, arg, defaults): - def _checks(item, defaults): - if item is None: - return - if not isinstance(item, dict): - raise ValueError( - """ -Elements of the '{name}' argument to make_suplots must be dictionaries \ -or None. - Received value of type {typ}: {val}""".format( - name=name, typ=type(item), val=repr(item) - ) - ) - - for k in item: - if k not in defaults: - raise ValueError( - """ -Invalid key specified in an element of the '{name}' argument to \ -make_subplots: {k} - Valid keys include: {valid_keys}""".format( - k=repr(k), name=name, valid_keys=repr(list(defaults)) - ) - ) - for k, v in defaults.items(): - item.setdefault(k, v) - - for arg_i in arg: - if isinstance(arg_i, (list, tuple)): - # 2D list - for arg_ii in arg_i: - _checks(arg_ii, defaults) - elif isinstance(arg_i, dict): - # 1D list - _checks(arg_i, defaults) - - # ### specs ### - if specs is None: - specs = [[{} for c in range(cols)] for r in range(rows)] - elif not ( - isinstance(specs, (list, tuple)) - and specs - and all(isinstance(row, (list, tuple)) for row in specs) - and len(specs) == rows - and all(len(row) == cols for row in specs) - and all(all(v is None or isinstance(v, dict) for v in row) for row in specs) - ): - raise ValueError( - """ -The 'specs' argument to make_subplots must be a 2D list of dictionaries with \ -dimensions ({rows} x {cols}). - Received value of type {typ}: {val}""".format( - rows=rows, cols=cols, typ=type(specs), val=repr(specs) - ) - ) - - for row in specs: - for spec in row: - # For backward compatibility, - # convert is_3d flag to type='scene' kwarg - if spec and spec.pop("is_3d", None): - spec["type"] = "scene" - - spec_defaults = dict( - type="xy", secondary_y=False, colspan=1, rowspan=1, l=0.0, r=0.0, b=0.0, t=0.0 - ) - _check_keys_and_fill("specs", specs, spec_defaults) - - # Validate secondary_y - has_secondary_y = False - for row in specs: - for spec in row: - if spec is not None: - has_secondary_y = has_secondary_y or spec["secondary_y"] - if spec and spec["type"] != "xy" and spec["secondary_y"]: - raise ValueError( - """ -The 'secondary_y' spec property is not supported for subplot of type '{s_typ}' - 'secondary_y' is only supported for subplots of type 'xy' -""".format( - s_typ=spec["type"] - ) - ) - - # ### insets ### - if insets is None or insets is False: - insets = [] - elif not ( - isinstance(insets, (list, tuple)) and all(isinstance(v, dict) for v in insets) - ): - raise ValueError( - """ -The 'insets' argument to make_suplots must be a list of dictionaries. - Received value of type {typ}: {val}""".format( - typ=type(insets), val=repr(insets) - ) - ) - - if insets: - for inset in insets: - if inset and inset.pop("is_3d", None): - inset["type"] = "scene" - - inset_defaults = dict( - cell=(1, 1), type="xy", l=0.0, w="to_end", b=0.0, h="to_end" - ) - _check_keys_and_fill("insets", insets, inset_defaults) - - # ### shared_xaxes / shared_yaxes - valid_shared_vals = [None, True, False, "rows", "columns", "all"] - shared_err_msg = """ -The {arg} argument to make_subplots must be one of: {valid_vals} - Received value of type {typ}: {val}""" - - if shared_xaxes not in valid_shared_vals: - val = shared_xaxes - raise ValueError( - shared_err_msg.format( - arg="shared_xaxes", - valid_vals=valid_shared_vals, - typ=type(val), - val=repr(val), - ) - ) - if shared_yaxes not in valid_shared_vals: - val = shared_yaxes - raise ValueError( - shared_err_msg.format( - arg="shared_yaxes", - valid_vals=valid_shared_vals, - typ=type(val), - val=repr(val), - ) - ) - - def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname): - if spacing < 0 or spacing > 1: - raise ValueError("%s spacing must be between 0 and 1." % (name,)) - if dimsize <= 1: - return - max_spacing = 1.0 / float(dimsize - 1) - if spacing > max_spacing: - raise ValueError( - """{name} spacing cannot be greater than (1 / ({dimvarname} - 1)) = {max_spacing:f}. -The resulting plot would have {dimsize} {dimname} ({dimvarname}={dimsize}).""".format( - dimvarname=dimvarname, - name=name, - dimname=dimname, - max_spacing=max_spacing, - dimsize=dimsize, - ) - ) - - # ### horizontal_spacing ### - if horizontal_spacing is None: - if has_secondary_y: - horizontal_spacing = 0.4 / cols - else: - horizontal_spacing = 0.2 / cols - # check horizontal_spacing can be satisfied: - _check_hv_spacing(cols, horizontal_spacing, "Horizontal", "cols", "columns") - - # ### vertical_spacing ### - if vertical_spacing is None: - if subplot_titles is not None: - vertical_spacing = 0.5 / rows - else: - vertical_spacing = 0.3 / rows - # check vertical_spacing can be satisfied: - _check_hv_spacing(rows, vertical_spacing, "Vertical", "rows", "rows") - - # ### subplot titles ### - if subplot_titles is None: - subplot_titles = [""] * rows * cols - - # ### column_widths ### - if has_secondary_y: - # Add room for secondary y-axis title - max_width = 0.94 - elif row_titles: - # Add a little breathing room between row labels and legend - max_width = 0.98 - else: - max_width = 1.0 - - if column_widths is None: - widths = [(max_width - horizontal_spacing * (cols - 1)) / cols] * cols - elif isinstance(column_widths, (list, tuple)) and len(column_widths) == cols: - cum_sum = float(sum(column_widths)) - widths = [] - for w in column_widths: - widths.append((max_width - horizontal_spacing * (cols - 1)) * (w / cum_sum)) - else: - raise ValueError( - """ -The 'column_widths' argument to make_suplots must be a list of numbers of \ -length {cols}. - Received value of type {typ}: {val}""".format( - cols=cols, typ=type(column_widths), val=repr(column_widths) - ) - ) - - # ### row_heights ### - if row_heights is None: - heights = [(1.0 - vertical_spacing * (rows - 1)) / rows] * rows - elif isinstance(row_heights, (list, tuple)) and len(row_heights) == rows: - cum_sum = float(sum(row_heights)) - heights = [] - for h in row_heights: - heights.append((1.0 - vertical_spacing * (rows - 1)) * (h / cum_sum)) - if row_dir < 0 and not use_legacy_row_heights_order: - heights = list(reversed(heights)) - else: - raise ValueError( - """ -The 'row_heights' argument to make_suplots must be a list of numbers of \ -length {rows}. - Received value of type {typ}: {val}""".format( - rows=rows, typ=type(row_heights), val=repr(row_heights) - ) - ) - - # ### column_titles / row_titles ### - if column_titles and not isinstance(column_titles, (list, tuple)): - raise ValueError( - """ -The column_titles argument to make_subplots must be a list or tuple - Received value of type {typ}: {val}""".format( - typ=type(column_titles), val=repr(column_titles) - ) - ) - - if row_titles and not isinstance(row_titles, (list, tuple)): - raise ValueError( - """ -The row_titles argument to make_subplots must be a list or tuple - Received value of type {typ}: {val}""".format( - typ=type(row_titles), val=repr(row_titles) - ) - ) - - # Init layout - # ----------- - layout = go.Layout() - - # Build grid reference - # -------------------- - # Built row/col sequence using 'row_dir' and 'col_dir' - col_seq = range(cols)[::col_dir] - row_seq = range(rows)[::row_dir] - - # Build 2D array of tuples of the start x and start y coordinate of each - # subplot - grid = [ - [ - ( - (sum(widths[:c]) + c * horizontal_spacing), - (sum(heights[:r]) + r * vertical_spacing), - ) - for c in col_seq - ] - for r in row_seq - ] - - domains_grid = [[None for _ in range(cols)] for _ in range(rows)] - - # Initialize subplot reference lists for the grid and insets - grid_ref = [[None for c in range(cols)] for r in range(rows)] - - list_of_domains = [] # added for subplot titles - - max_subplot_ids = _get_initial_max_subplot_ids() - - # Loop through specs -- (r, c) <-> (row, col) - for r, spec_row in enumerate(specs): - for c, spec in enumerate(spec_row): - - if spec is None: # skip over None cells - continue - - # ### Compute x and y domain for subplot ### - c_spanned = c + spec["colspan"] - 1 # get spanned c - r_spanned = r + spec["rowspan"] - 1 # get spanned r - - # Throw exception if 'colspan' | 'rowspan' is too large for grid - if c_spanned >= cols: - raise Exception( - "Some 'colspan' value is too large for " "this subplot grid." - ) - if r_spanned >= rows: - raise Exception( - "Some 'rowspan' value is too large for " "this subplot grid." - ) - - # Get x domain using grid and colspan - x_s = grid[r][c][0] + spec["l"] - - x_e = grid[r][c_spanned][0] + widths[c_spanned] - spec["r"] - x_domain = [x_s, x_e] - - # Get y domain (dep. on row_dir) using grid & r_spanned - if row_dir > 0: - y_s = grid[r][c][1] + spec["b"] - y_e = grid[r_spanned][c][1] + heights[r_spanned] - spec["t"] - else: - y_s = grid[r_spanned][c][1] + spec["b"] - y_e = grid[r][c][1] + heights[-1 - r] - spec["t"] - y_domain = [y_s, y_e] - - list_of_domains.append(x_domain) - list_of_domains.append(y_domain) - - domains_grid[r][c] = [x_domain, y_domain] - - # ### construct subplot container ### - subplot_type = spec["type"] - secondary_y = spec["secondary_y"] - subplot_refs = _init_subplot( - layout, subplot_type, secondary_y, x_domain, y_domain, max_subplot_ids - ) - grid_ref[r][c] = subplot_refs - - _configure_shared_axes(layout, grid_ref, specs, "x", shared_xaxes, row_dir) - _configure_shared_axes(layout, grid_ref, specs, "y", shared_yaxes, row_dir) - - # Build inset reference - # --------------------- - # Loop through insets - insets_ref = [None for inset in range(len(insets))] if insets else None - if insets: - for i_inset, inset in enumerate(insets): - - r = inset["cell"][0] - 1 - c = inset["cell"][1] - 1 - - # Throw exception if r | c is out of range - if not (0 <= r < rows): - raise Exception( - "Some 'cell' row value is out of range. " - "Note: the starting cell is (1, 1)" - ) - if not (0 <= c < cols): - raise Exception( - "Some 'cell' col value is out of range. " - "Note: the starting cell is (1, 1)" - ) - - # Get inset x domain using grid - x_s = grid[r][c][0] + inset["l"] * widths[c] - if inset["w"] == "to_end": - x_e = grid[r][c][0] + widths[c] - else: - x_e = x_s + inset["w"] * widths[c] - x_domain = [x_s, x_e] - - # Get inset y domain using grid - y_s = grid[r][c][1] + inset["b"] * heights[-1 - r] - if inset["h"] == "to_end": - y_e = grid[r][c][1] + heights[-1 - r] - else: - y_e = y_s + inset["h"] * heights[-1 - r] - y_domain = [y_s, y_e] - - list_of_domains.append(x_domain) - list_of_domains.append(y_domain) - - subplot_type = inset["type"] - - subplot_refs = _init_subplot( - layout, subplot_type, False, x_domain, y_domain, max_subplot_ids - ) - - insets_ref[i_inset] = subplot_refs - - # Build grid_str - # This is the message printed when print_grid=True - grid_str = _build_grid_str(specs, grid_ref, insets, insets_ref, row_seq) - - # Add subplot titles - plot_title_annotations = _build_subplot_title_annotations( - subplot_titles, list_of_domains - ) - - layout["annotations"] = plot_title_annotations - - # Add column titles - if column_titles: - domains_list = [] - if row_dir > 0: - for c in range(cols): - domain_pair = domains_grid[-1][c] - if domain_pair: - domains_list.extend(domain_pair) - else: - for c in range(cols): - domain_pair = domains_grid[0][c] - if domain_pair: - domains_list.extend(domain_pair) - - # Add subplot titles - column_title_annotations = _build_subplot_title_annotations( - column_titles, domains_list - ) - - layout["annotations"] += tuple(column_title_annotations) - - if row_titles: - domains_list = [] - for r in range(rows): - domain_pair = domains_grid[r][-1] - if domain_pair: - domains_list.extend(domain_pair) - - # Add subplot titles - column_title_annotations = _build_subplot_title_annotations( - row_titles, domains_list, title_edge="right" - ) - - layout["annotations"] += tuple(column_title_annotations) - - if x_title: - domains_list = [(0, max_width), (0, 1)] - - # Add subplot titles - column_title_annotations = _build_subplot_title_annotations( - [x_title], domains_list, title_edge="bottom", offset=30 - ) - - layout["annotations"] += tuple(column_title_annotations) - - if y_title: - domains_list = [(0, 1), (0, 1)] - - # Add subplot titles - column_title_annotations = _build_subplot_title_annotations( - [y_title], domains_list, title_edge="left", offset=40 - ) - - layout["annotations"] += tuple(column_title_annotations) - - # Handle displaying grid information - if print_grid: - print(grid_str) - - # Build resulting figure - if figure is None: - figure = go.Figure() - figure.update_layout(layout) - - # Attach subplot grid info to the figure - figure.__dict__["_grid_ref"] = grid_ref - figure.__dict__["_grid_str"] = grid_str - - return figure - - -def _configure_shared_axes(layout, grid_ref, specs, x_or_y, shared, row_dir): - rows = len(grid_ref) - cols = len(grid_ref[0]) - - layout_key_ind = ["x", "y"].index(x_or_y) - - if row_dir < 0: - rows_iter = range(rows - 1, -1, -1) - else: - rows_iter = range(rows) - - def update_axis_matches(first_axis_id, subplot_ref, spec, remove_label): - if subplot_ref is None: - return first_axis_id - - if x_or_y == "x": - span = spec["colspan"] - else: - span = spec["rowspan"] - - if subplot_ref.subplot_type == "xy" and span == 1: - if first_axis_id is None: - first_axis_name = subplot_ref.layout_keys[layout_key_ind] - first_axis_id = first_axis_name.replace("axis", "") - else: - axis_name = subplot_ref.layout_keys[layout_key_ind] - axis_to_match = layout[axis_name] - axis_to_match.matches = first_axis_id - if remove_label: - axis_to_match.showticklabels = False - - return first_axis_id - - if shared == "columns" or (x_or_y == "x" and shared is True): - for c in range(cols): - first_axis_id = None - ok_to_remove_label = x_or_y == "x" - for r in rows_iter: - if not grid_ref[r][c]: - continue - subplot_ref = grid_ref[r][c][0] - spec = specs[r][c] - first_axis_id = update_axis_matches( - first_axis_id, subplot_ref, spec, ok_to_remove_label - ) - - elif shared == "rows" or (x_or_y == "y" and shared is True): - for r in rows_iter: - first_axis_id = None - ok_to_remove_label = x_or_y == "y" - for c in range(cols): - if not grid_ref[r][c]: - continue - subplot_ref = grid_ref[r][c][0] - spec = specs[r][c] - first_axis_id = update_axis_matches( - first_axis_id, subplot_ref, spec, ok_to_remove_label - ) - - elif shared == "all": - first_axis_id = None - for c in range(cols): - for ri, r in enumerate(rows_iter): - if not grid_ref[r][c]: - continue - subplot_ref = grid_ref[r][c][0] - spec = specs[r][c] - - if x_or_y == "y": - ok_to_remove_label = c > 0 - else: - ok_to_remove_label = ri > 0 if row_dir > 0 else r < rows - 1 - - first_axis_id = update_axis_matches( - first_axis_id, subplot_ref, spec, ok_to_remove_label - ) - - -def _init_subplot_xy(layout, secondary_y, x_domain, y_domain, max_subplot_ids=None): - if max_subplot_ids is None: - max_subplot_ids = _get_initial_max_subplot_ids() - - # Get axis label and anchor - x_cnt = max_subplot_ids["xaxis"] + 1 - y_cnt = max_subplot_ids["yaxis"] + 1 - - # Compute x/y labels (the values of trace.xaxis/trace.yaxis - x_label = "x{cnt}".format(cnt=x_cnt if x_cnt > 1 else "") - y_label = "y{cnt}".format(cnt=y_cnt if y_cnt > 1 else "") - - # Anchor x and y axes to each other - x_anchor, y_anchor = y_label, x_label - - # Build layout.xaxis/layout.yaxis containers - xaxis_name = "xaxis{cnt}".format(cnt=x_cnt if x_cnt > 1 else "") - yaxis_name = "yaxis{cnt}".format(cnt=y_cnt if y_cnt > 1 else "") - x_axis = {"domain": x_domain, "anchor": x_anchor} - y_axis = {"domain": y_domain, "anchor": y_anchor} - - layout[xaxis_name] = x_axis - layout[yaxis_name] = y_axis - - subplot_refs = [ - SubplotRef( - subplot_type="xy", - layout_keys=(xaxis_name, yaxis_name), - trace_kwargs={"xaxis": x_label, "yaxis": y_label}, - ) - ] - - if secondary_y: - y_cnt += 1 - secondary_yaxis_name = "yaxis{cnt}".format(cnt=y_cnt if y_cnt > 1 else "") - secondary_y_label = "y{cnt}".format(cnt=y_cnt) - - # Add secondary y-axis to subplot reference - subplot_refs.append( - SubplotRef( - subplot_type="xy", - layout_keys=(xaxis_name, secondary_yaxis_name), - trace_kwargs={"xaxis": x_label, "yaxis": secondary_y_label}, - ) - ) - - # Add secondary y axis to layout - secondary_y_axis = {"anchor": y_anchor, "overlaying": y_label, "side": "right"} - layout[secondary_yaxis_name] = secondary_y_axis - - # increment max_subplot_ids - max_subplot_ids["xaxis"] = x_cnt - max_subplot_ids["yaxis"] = y_cnt - - return tuple(subplot_refs) - - -def _init_subplot_single( - layout, subplot_type, x_domain, y_domain, max_subplot_ids=None -): - if max_subplot_ids is None: - max_subplot_ids = _get_initial_max_subplot_ids() - - # Add scene to layout - cnt = max_subplot_ids[subplot_type] + 1 - label = "{subplot_type}{cnt}".format( - subplot_type=subplot_type, cnt=cnt if cnt > 1 else "" + return sub.make_subplots( + rows, + cols, + shared_xaxes, + shared_yaxes, + start_cell, + print_grid, + horizontal_spacing, + vertical_spacing, + subplot_titles, + column_widths, + row_heights, + specs, + insets, + column_titles, + row_titles, + x_title, + y_title, + figure, + **kwargs, ) - scene = dict(domain={"x": x_domain, "y": y_domain}) - layout[label] = scene - - trace_key = ( - "subplot" if subplot_type in _subplot_prop_named_subplot else subplot_type - ) - - subplot_ref = SubplotRef( - subplot_type=subplot_type, layout_keys=(label,), trace_kwargs={trace_key: label} - ) - - # increment max_subplot_id - max_subplot_ids[subplot_type] = cnt - - return (subplot_ref,) - - -def _init_subplot_domain(x_domain, y_domain): - # No change to layout since domain traces are labeled individually - subplot_ref = SubplotRef( - subplot_type="domain", - layout_keys=(), - trace_kwargs={"domain": {"x": tuple(x_domain), "y": tuple(y_domain)}}, - ) - - return (subplot_ref,) - - -def _subplot_type_for_trace_type(trace_type): - from plotly.validators import DataValidator - - trace_validator = DataValidator() - if trace_type in trace_validator.class_strs_map: - # subplot_type is a trace name, find the subplot type for trace - trace = trace_validator.validate_coerce([{"type": trace_type}])[0] - if "domain" in trace: - return "domain" - elif "xaxis" in trace and "yaxis" in trace: - return "xy" - elif "geo" in trace: - return "geo" - elif "scene" in trace: - return "scene" - elif "subplot" in trace: - for t in _subplot_prop_named_subplot: - try: - trace.subplot = t - return t - except ValueError: - pass - - return None - - -def _validate_coerce_subplot_type(subplot_type): - - # Lowercase subplot_type - orig_subplot_type = subplot_type - subplot_type = subplot_type.lower() - - # Check if it's a named subplot type - if subplot_type in _subplot_types: - return subplot_type - - # Try to determine subplot type for trace - subplot_type = _subplot_type_for_trace_type(subplot_type) - - if subplot_type is None: - raise ValueError("Unsupported subplot type: {}".format(repr(orig_subplot_type))) - else: - return subplot_type - - -def _init_subplot( - layout, subplot_type, secondary_y, x_domain, y_domain, max_subplot_ids=None -): - # Normalize subplot type - subplot_type = _validate_coerce_subplot_type(subplot_type) - - if max_subplot_ids is None: - max_subplot_ids = _get_initial_max_subplot_ids() - - # Clamp domain elements between [0, 1]. - # This is only needed to combat numerical precision errors - # See GH1031 - x_domain = [max(0.0, x_domain[0]), min(1.0, x_domain[1])] - y_domain = [max(0.0, y_domain[0]), min(1.0, y_domain[1])] - - if subplot_type == "xy": - subplot_refs = _init_subplot_xy( - layout, secondary_y, x_domain, y_domain, max_subplot_ids - ) - elif subplot_type in _single_subplot_types: - subplot_refs = _init_subplot_single( - layout, subplot_type, x_domain, y_domain, max_subplot_ids - ) - elif subplot_type == "domain": - subplot_refs = _init_subplot_domain(x_domain, y_domain) - else: - raise ValueError("Unsupported subplot type: {}".format(repr(subplot_type))) - - return subplot_refs - - -def _get_cartesian_label(x_or_y, r, c, cnt): - # Default label (given strictly by cnt) - label = "{x_or_y}{cnt}".format(x_or_y=x_or_y, cnt=cnt) - return label - - -def _build_subplot_title_annotations( - subplot_titles, list_of_domains, title_edge="top", offset=0 -): - # If shared_axes is False (default) use list_of_domains - # This is used for insets and irregular layouts - # if not shared_xaxes and not shared_yaxes: - x_dom = list_of_domains[::2] - y_dom = list_of_domains[1::2] - subtitle_pos_x = [] - subtitle_pos_y = [] - - if title_edge == "top": - text_angle = 0 - xanchor = "center" - yanchor = "bottom" - - for x_domains in x_dom: - subtitle_pos_x.append(sum(x_domains) / 2.0) - for y_domains in y_dom: - subtitle_pos_y.append(y_domains[1]) - - yshift = offset - xshift = 0 - elif title_edge == "bottom": - text_angle = 0 - xanchor = "center" - yanchor = "top" - - for x_domains in x_dom: - subtitle_pos_x.append(sum(x_domains) / 2.0) - for y_domains in y_dom: - subtitle_pos_y.append(y_domains[0]) - - yshift = -offset - xshift = 0 - elif title_edge == "right": - text_angle = 90 - xanchor = "left" - yanchor = "middle" - - for x_domains in x_dom: - subtitle_pos_x.append(x_domains[1]) - for y_domains in y_dom: - subtitle_pos_y.append(sum(y_domains) / 2.0) - - yshift = 0 - xshift = offset - elif title_edge == "left": - text_angle = -90 - xanchor = "right" - yanchor = "middle" - - for x_domains in x_dom: - subtitle_pos_x.append(x_domains[0]) - for y_domains in y_dom: - subtitle_pos_y.append(sum(y_domains) / 2.0) - - yshift = 0 - xshift = -offset - else: - raise ValueError("Invalid annotation edge '{edge}'".format(edge=title_edge)) - - plot_titles = [] - for index in range(len(subplot_titles)): - if not subplot_titles[index] or index >= len(subtitle_pos_y): - pass - else: - annot = { - "y": subtitle_pos_y[index], - "xref": "paper", - "x": subtitle_pos_x[index], - "yref": "paper", - "text": subplot_titles[index], - "showarrow": False, - "font": dict(size=16), - "xanchor": xanchor, - "yanchor": yanchor, - } - - if xshift != 0: - annot["xshift"] = xshift - - if yshift != 0: - annot["yshift"] = yshift - - if text_angle != 0: - annot["textangle"] = text_angle - - plot_titles.append(annot) - return plot_titles - - -def _build_grid_str(specs, grid_ref, insets, insets_ref, row_seq): - - # Compute rows and columns - rows = len(specs) - cols = len(specs[0]) - - # Initialize constants - sp = " " # space between cell - s_str = "[ " # cell start string - e_str = " ]" # cell end string - - s_top = "⎡ " # U+23A1 - s_mid = "⎢ " # U+23A2 - s_bot = "⎣ " # U+23A3 - - e_top = " ⎤" # U+23A4 - e_mid = " ⎟" # U+239F - e_bot = " ⎦" # U+23A6 - - colspan_str = " -" # colspan string - rowspan_str = " :" # rowspan string - empty_str = " (empty) " # empty cell string - # Init grid_str with intro message - grid_str = "This is the format of your plot grid:\n" - - # Init tmp list of lists of strings (sorta like 'grid_ref' but w/ strings) - _tmp = [["" for c in range(cols)] for r in range(rows)] - - # Define cell string as function of (r, c) and grid_ref - def _get_cell_str(r, c, subplot_refs): - layout_keys = sorted({k for ref in subplot_refs for k in ref.layout_keys}) - - ref_str = ",".join(layout_keys) - - # Replace yaxis2 -> y2 - ref_str = ref_str.replace("axis", "") - return "({r},{c}) {ref}".format(r=r + 1, c=c + 1, ref=ref_str) - - # Find max len of _cell_str, add define a padding function - cell_len = ( - max( - [ - len(_get_cell_str(r, c, ref)) - for r, row_ref in enumerate(grid_ref) - for c, ref in enumerate(row_ref) - if ref - ] - ) - + len(s_str) - + len(e_str) - ) - - def _pad(s, cell_len=cell_len): - return " " * (cell_len - len(s)) - - # Loop through specs, fill in _tmp - for r, spec_row in enumerate(specs): - for c, spec in enumerate(spec_row): - - ref = grid_ref[r][c] - if ref is None: - if _tmp[r][c] == "": - _tmp[r][c] = empty_str + _pad(empty_str) - continue - - if spec["rowspan"] > 1: - cell_str = s_top + _get_cell_str(r, c, ref) - else: - cell_str = s_str + _get_cell_str(r, c, ref) - - if spec["colspan"] > 1: - for cc in range(1, spec["colspan"] - 1): - _tmp[r][c + cc] = colspan_str + _pad(colspan_str) - - if spec["rowspan"] > 1: - _tmp[r][c + spec["colspan"] - 1] = ( - colspan_str + _pad(colspan_str + e_str) - ) + e_top - else: - _tmp[r][c + spec["colspan"] - 1] = ( - colspan_str + _pad(colspan_str + e_str) - ) + e_str - else: - padding = " " * (cell_len - len(cell_str) - 2) - if spec["rowspan"] > 1: - cell_str += padding + e_top - else: - cell_str += padding + e_str - - if spec["rowspan"] > 1: - for cc in range(spec["colspan"]): - for rr in range(1, spec["rowspan"]): - row_str = rowspan_str + _pad(rowspan_str) - if cc == 0: - if rr < spec["rowspan"] - 1: - row_str = s_mid + row_str[2:] - else: - row_str = s_bot + row_str[2:] - - if cc == spec["colspan"] - 1: - if rr < spec["rowspan"] - 1: - row_str = row_str[:-2] + e_mid - else: - row_str = row_str[:-2] + e_bot - - _tmp[r + rr][c + cc] = row_str - - _tmp[r][c] = cell_str + _pad(cell_str) - - # Append grid_str using data from _tmp in the correct order - for r in row_seq[::-1]: - grid_str += sp.join(_tmp[r]) + "\n" - - # Append grid_str to include insets info - if insets: - grid_str += "\nWith insets:\n" - for i_inset, inset in enumerate(insets): - r = inset["cell"][0] - 1 - c = inset["cell"][1] - 1 - ref = grid_ref[r][c] - - subplot_labels_str = ",".join(insets_ref[i_inset][0].layout_keys) - - # Replace, e.g., yaxis2 -> y2 - subplot_labels_str = subplot_labels_str.replace("axis", "") - - grid_str += ( - s_str - + subplot_labels_str - + e_str - + " over " - + s_str - + _get_cell_str(r, c, ref) - + e_str - + "\n" - ) - return grid_str - - -def _set_trace_grid_reference(trace, layout, grid_ref, row, col, secondary_y=False): - - if row <= 0: - raise Exception( - "Row value is out of range. " "Note: the starting cell is (1, 1)" - ) - if col <= 0: - raise Exception( - "Col value is out of range. " "Note: the starting cell is (1, 1)" - ) - try: - subplot_refs = grid_ref[row - 1][col - 1] - except IndexError: - raise Exception( - "The (row, col) pair sent is out of " - "range. Use Figure.print_grid to view the " - "subplot grid. " - ) - - if not subplot_refs: - raise ValueError( - """ -No subplot specified at grid position ({row}, {col})""".format( - row=row, col=col - ) - ) - - if secondary_y: - if len(subplot_refs) < 2: - raise ValueError( - """ -Subplot with type '{subplot_type}' at grid position ({row}, {col}) was not -created with the secondary_y spec property set to True. See the docstring -for the specs argument to plotly.subplots.make_subplots for more information. -""" - ) - trace_kwargs = subplot_refs[1].trace_kwargs - else: - trace_kwargs = subplot_refs[0].trace_kwargs - - for k in trace_kwargs: - if k not in trace: - raise ValueError( - """\ -Trace type '{typ}' is not compatible with subplot type '{subplot_type}' -at grid position ({row}, {col}) - -See the docstring for the specs argument to plotly.subplots.make_subplots -for more information on subplot types""".format( - typ=trace.type, - subplot_type=subplot_refs[0].subplot_type, - row=row, - col=col, - ) - ) - - # Update trace reference - trace.update(trace_kwargs) - - -def _get_grid_subplot(fig, row, col, secondary_y=False): - try: - grid_ref = fig._grid_ref - except AttributeError: - raise Exception( - "In order to reference traces by row and column, " - "you must first use " - "plotly.tools.make_subplots " - "to create the figure with a subplot grid." - ) - - rows = len(grid_ref) - cols = len(grid_ref[0]) - - # Validate row - if not isinstance(row, int) or row < 1 or rows < row: - raise ValueError( - """ -The row argument to get_subplot must be an integer where 1 <= row <= {rows} - Received value of type {typ}: {val}""".format( - rows=rows, typ=type(row), val=repr(row) - ) - ) - - if not isinstance(col, int) or col < 1 or cols < col: - raise ValueError( - """ -The col argument to get_subplot must be an integer where 1 <= row <= {cols} - Received value of type {typ}: {val}""".format( - cols=cols, typ=type(col), val=repr(col) - ) - ) - - subplot_refs = fig._grid_ref[row - 1][col - 1] - if not subplot_refs: - return None - - if secondary_y: - if len(subplot_refs) > 1: - layout_keys = subplot_refs[1].layout_keys - else: - return None - else: - layout_keys = subplot_refs[0].layout_keys - - if len(layout_keys) == 0: - return SubplotDomain(**subplot_refs[0].trace_kwargs["domain"]) - elif len(layout_keys) == 1: - return fig.layout[layout_keys[0]] - elif len(layout_keys) == 2: - return SubplotXY( - xaxis=fig.layout[layout_keys[0]], yaxis=fig.layout[layout_keys[1]] - ) - else: - raise ValueError( - """ -Unexpected subplot type with layout_keys of {}""".format( - layout_keys - ) - ) - - -def _get_subplot_ref_for_trace(trace): - - if "domain" in trace: - return SubplotRef( - subplot_type="domain", - layout_keys=(), - trace_kwargs={"domain": {"x": trace.domain.x, "y": trace.domain.y}}, - ) - - elif "xaxis" in trace and "yaxis" in trace: - xaxis_name = "xaxis" + trace.xaxis[1:] if trace.xaxis else "xaxis" - yaxis_name = "yaxis" + trace.yaxis[1:] if trace.yaxis else "yaxis" - - return SubplotRef( - subplot_type="xy", - layout_keys=(xaxis_name, yaxis_name), - trace_kwargs={"xaxis": trace.xaxis, "yaxis": trace.yaxis}, - ) - elif "geo" in trace: - return SubplotRef( - subplot_type="geo", - layout_keys=(trace.geo,), - trace_kwargs={"geo": trace.geo}, - ) - elif "scene" in trace: - return SubplotRef( - subplot_type="scene", - layout_keys=(trace.scene,), - trace_kwargs={"scene": trace.scene}, - ) - elif "subplot" in trace: - for t in _subplot_prop_named_subplot: - try: - validator = trace._get_prop_validator("subplot") - validator.validate_coerce(t) - return SubplotRef( - subplot_type=t, - layout_keys=(trace.subplot,), - trace_kwargs={"subplot": trace.subplot}, - ) - except ValueError: - pass - - return None From 7d6109822d4568ddfab1a4a634a82cf434e220d3 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Tue, 3 May 2022 19:25:42 -0400 Subject: [PATCH 2/3] fix subplot imports --- packages/python/plotly/plotly/subplots.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/python/plotly/plotly/subplots.py b/packages/python/plotly/plotly/subplots.py index 5540c7dd76b..5e9e898474e 100644 --- a/packages/python/plotly/plotly/subplots.py +++ b/packages/python/plotly/plotly/subplots.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import plotly.graph_objects as go -from . import _subplots as sub +from . import _subplots as _sub +from ._subplots import SubplotXY, SubplotDomain, SubplotRef # noqa: F401 def make_subplots( @@ -301,7 +302,7 @@ def make_subplots( Figure(...) """ - return sub.make_subplots( + return _sub.make_subplots( rows, cols, shared_xaxes, From 5dc67fa7a7314cab97d4c96a30fdf4c5661c9039 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Tue, 3 May 2022 19:28:34 -0400 Subject: [PATCH 3/3] fix subplot imports --- packages/python/plotly/plotly/basedatatypes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/python/plotly/plotly/basedatatypes.py b/packages/python/plotly/plotly/basedatatypes.py index 3bde4f5738a..1a7cbb80073 100644 --- a/packages/python/plotly/plotly/basedatatypes.py +++ b/packages/python/plotly/plotly/basedatatypes.py @@ -1181,7 +1181,7 @@ def select_traces(self, selector=None, row=None, col=None, secondary_y=None): ) def _perform_select_traces(self, filter_by_subplot, grid_subplot_refs, selector): - from plotly.subplots import _get_subplot_ref_for_trace + from plotly._subplots import _get_subplot_ref_for_trace # functions for filtering def _filter_by_subplot_ref(trace): @@ -2313,7 +2313,7 @@ def append_trace(self, trace, row, col): self.add_trace(trace=trace, row=row, col=col) def _set_trace_grid_position(self, trace, row, col, secondary_y=False): - from plotly.subplots import _set_trace_grid_reference + from plotly._subplots import _set_trace_grid_reference grid_ref = self._validate_get_grid_ref() return _set_trace_grid_reference( @@ -2413,7 +2413,7 @@ def get_subplot(self, row, col, secondary_y=False): - xaxis: plotly.graph_objs.layout.XAxis instance for subplot - yaxis: plotly.graph_objs.layout.YAxis instance for subplot """ - from plotly.subplots import _get_grid_subplot + from plotly._subplots import _get_grid_subplot return _get_grid_subplot(self, row, col, secondary_y)