Datasets:

repository
stringclasses
11 values
repo_id
stringlengths
1
3
target_module_path
stringlengths
16
72
prompt
stringlengths
298
21.7k
relavent_test_path
stringlengths
50
99
full_function
stringlengths
336
33.8k
function_name
stringlengths
2
51
content_class
stringclasses
3 values
external_dependencies
stringclasses
2 values
more-itertools
80
more_itertools/recipes.py
def powerset(iterable): """Yields all possible subsets of the iterable. >>> list(powerset([1, 2, 3])) [(), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3), (1, 2, 3)] :func:`powerset` will operate on iterables that aren't :class:`set` instances, so repeated elements in the input will produce repe...
/usr/src/app/target_test_cases/failed_tests_recipes.powerset.txt
def powerset(iterable): """Yields all possible subsets of the iterable. >>> list(powerset([1, 2, 3])) [(), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3), (1, 2, 3)] :func:`powerset` will operate on iterables that aren't :class:`set` instances, so repeated elements in the input will produce repe...
recipes.powerset
self-contained
non_external
more-itertools
81
more_itertools/recipes.py
def random_product(*args, repeat=1): """Draw an item at random from each of the input iterables. >>> random_product('abc', range(4), 'XYZ') # doctest:+SKIP ('c', 3, 'Z') If *repeat* is provided as a keyword argument, that many items will be drawn from each iterable. >>> random_pr...
/usr/src/app/target_test_cases/failed_tests_recipes.random_product.txt
def random_product(*args, repeat=1): """Draw an item at random from each of the input iterables. >>> random_product('abc', range(4), 'XYZ') # doctest:+SKIP ('c', 3, 'Z') If *repeat* is provided as a keyword argument, that many items will be drawn from each iterable. >>> random_pr...
recipes.random_product
self-contained
external
more-itertools
82
more_itertools/recipes.py
def repeatfunc(func, times=None, *args): """Call *func* with *args* repeatedly, returning an iterable over the results. If *times* is specified, the iterable will terminate after that many repetitions: >>> from operator import add >>> times = 4 >>> args = 3, 5 >>> list(...
/usr/src/app/target_test_cases/failed_tests_recipes.repeatfunc.txt
def repeatfunc(func, times=None, *args): """Call *func* with *args* repeatedly, returning an iterable over the results. If *times* is specified, the iterable will terminate after that many repetitions: >>> from operator import add >>> times = 4 >>> args = 3, 5 >>> list(...
recipes.repeatfunc
self-contained
non_external
more-itertools
83
more_itertools/recipes.py
def tabulate(function, start=0): """Return an iterator over the results of ``func(start)``, ``func(start + 1)``, ``func(start + 2)``... *func* should be a function that accepts one integer argument. If *start* is not specified it defaults to 0. It will be incremented each time the iterator is adva...
/usr/src/app/target_test_cases/failed_tests_recipes.tabulate.txt
def tabulate(function, start=0): """Return an iterator over the results of ``func(start)``, ``func(start + 1)``, ``func(start + 2)``... *func* should be a function that accepts one integer argument. If *start* is not specified it defaults to 0. It will be incremented each time the iterator is adva...
recipes.tabulate
self-contained
non_external
more-itertools
84
more_itertools/recipes.py
def unique(iterable, key=None, reverse=False): """Yields unique elements in sorted order. >>> list(unique([[1, 2], [3, 4], [1, 2]])) [[1, 2], [3, 4]] *key* and *reverse* are passed to :func:`sorted`. >>> list(unique('ABBcCAD', str.casefold)) ['A', 'B', 'c', 'D'] >>> list(unique('ABBcCAD',...
/usr/src/app/target_test_cases/failed_tests_recipes.unique.txt
def unique(iterable, key=None, reverse=False): """Yields unique elements in sorted order. >>> list(unique([[1, 2], [3, 4], [1, 2]])) [[1, 2], [3, 4]] *key* and *reverse* are passed to :func:`sorted`. >>> list(unique('ABBcCAD', str.casefold)) ['A', 'B', 'c', 'D'] >>> list(unique('ABBcCAD',...
recipes.unique
file-level
non_external
more-itertools
85
more_itertools/recipes.py
def unique_everseen(iterable, key=None): """ Yield unique elements, preserving order. >>> list(unique_everseen('AAAABBBCCDAABBB')) ['A', 'B', 'C', 'D'] >>> list(unique_everseen('ABBCcAD', str.lower)) ['A', 'B', 'C', 'D'] Sequences with a mix of hashable and unhashable items...
/usr/src/app/target_test_cases/failed_tests_recipes.unique_everseen.txt
def unique_everseen(iterable, key=None): """ Yield unique elements, preserving order. >>> list(unique_everseen('AAAABBBCCDAABBB')) ['A', 'B', 'C', 'D'] >>> list(unique_everseen('ABBCcAD', str.lower)) ['A', 'B', 'C', 'D'] Sequences with a mix of hashable and unhashable items...
recipes.unique_everseen
self-contained
non_external
plotly.py
0
packages/python/plotly/plotly/graph_objs/_bar.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict ...
/usr/src/app/target_test_cases/failed_tests__bar.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict ...
_bar.marker
file-level
non_external
plotly.py
1
packages/python/plotly/plotly/figure_factory/_bullet.py
def create_bullet( data, markers=None, measures=None, ranges=None, subtitles=None, titles=None, orientation="h", range_colors=("rgb(200, 200, 200)", "rgb(245, 245, 245)"), measure_colors=("rgb(31, 119, 180)", "rgb(176, 196, 221)"), horizontal_spacing=None, vertical_spacing=No...
/usr/src/app/target_test_cases/failed_tests__bullet.create_bullet.txt
def create_bullet( data, markers=None, measures=None, ranges=None, subtitles=None, titles=None, orientation="h", range_colors=("rgb(200, 200, 200)", "rgb(245, 245, 245)"), measure_colors=("rgb(31, 119, 180)", "rgb(176, 196, 221)"), horizontal_spacing=None, vertical_spacing=No...
_bullet.create_bullet
repository-level
non_external
plotly.py
2
packages/python/plotly/plotly/figure_factory/_candlestick.py
def create_candlestick(open, high, low, close, dates=None, direction="both", **kwargs): """ **deprecated**, use instead the plotly.graph_objects trace :class:`plotly.graph_objects.Candlestick` :param (list) open: opening values :param (list) high: high values :param (list) low: low values :...
/usr/src/app/target_test_cases/failed_tests__candlestick.create_candlestick.txt
def create_candlestick(open, high, low, close, dates=None, direction="both", **kwargs): """ **deprecated**, use instead the plotly.graph_objects trace :class:`plotly.graph_objects.Candlestick` :param (list) open: opening values :param (list) high: high values :param (list) low: low values :...
_candlestick.create_candlestick
repository-level
non_external
plotly.py
3
packages/python/plotly/plotly/graph_objs/layout/_coloraxis.py
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.layout.coloraxis.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
/usr/src/app/target_test_cases/failed_tests__coloraxis.colorbar.txt
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.layout.coloraxis.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
_coloraxis.colorbar
file-level
non_external
plotly.py
4
packages/python/plotly/plotly/graph_objs/histogram2dcontour/_contours.py
def __init__( self, arg=None, coloring=None, end=None, labelfont=None, labelformat=None, operation=None, showlabels=None, showlines=None, size=None, start=None, type=None, value=None, **kwargs, ): ...
/usr/src/app/target_test_cases/failed_tests__contours.Contours.__init__.txt
def __init__( self, arg=None, coloring=None, end=None, labelfont=None, labelformat=None, operation=None, showlabels=None, showlines=None, size=None, start=None, type=None, value=None, **kwargs, ): ...
_contours.Contours.__init__
repository-level
external
plotly.py
5
packages/python/plotly/plotly/figure_factory/_county_choropleth.py
def create_choropleth( fips, values, scope=["usa"], binning_endpoints=None, colorscale=None, order=None, simplify_county=0.02, simplify_state=0.02, asp=None, show_hover=True, show_state_data=True, state_outline=None, county_outline=None, centroid_marker=None, ...
/usr/src/app/target_test_cases/failed_tests__county_choropleth.create_choropleth.txt
def create_choropleth( fips, values, scope=["usa"], binning_endpoints=None, colorscale=None, order=None, simplify_county=0.02, simplify_state=0.02, asp=None, show_hover=True, show_state_data=True, state_outline=None, county_outline=None, centroid_marker=None, ...
_county_choropleth.create_choropleth
repository-level
external
plotly.py
6
packages/python/plotly/plotly/graph_objs/parcoords/_dimension.py
def __init__( self, arg=None, constraintrange=None, label=None, multiselect=None, name=None, range=None, templateitemname=None, tickformat=None, ticktext=None, ticktextsrc=None, tickvals=None, tickvalssrc=None, ...
/usr/src/app/target_test_cases/failed_tests__dimension.Dimension.__init__.txt
def __init__( self, arg=None, constraintrange=None, label=None, multiselect=None, name=None, range=None, templateitemname=None, tickformat=None, ticktext=None, ticktextsrc=None, tickvals=None, tickvalssrc=None, ...
_dimension.Dimension.__init__
repository-level
external
plotly.py
7
packages/python/plotly/plotly/figure_factory/_distplot.py
def create_distplot( hist_data, group_labels, bin_size=1.0, curve_type="kde", colors=None, rug_text=None, histnorm=DEFAULT_HISTNORM, show_hist=True, show_curve=True, show_rug=True, ): """ Function that creates a distplot similar to seaborn.distplot; **this function is...
/usr/src/app/target_test_cases/failed_tests__distplot.create_distplot.txt
def create_distplot( hist_data, group_labels, bin_size=1.0, curve_type="kde", colors=None, rug_text=None, histnorm=DEFAULT_HISTNORM, show_hist=True, show_curve=True, show_rug=True, ): """ Function that creates a distplot similar to seaborn.distplot; **this function is...
_distplot.create_distplot
repository-level
non_external
plotly.py
8
packages/python/plotly/plotly/figure_factory/_facet_grid.py
def create_facet_grid( df, x=None, y=None, facet_row=None, facet_col=None, color_name=None, colormap=None, color_is_cat=False, facet_row_labels=None, facet_col_labels=None, height=None, width=None, trace_type="scatter", scales="fixed", dtick_x=None, dtick_...
/usr/src/app/target_test_cases/failed_tests__facet_grid.create_facet_grid.txt
def create_facet_grid( df, x=None, y=None, facet_row=None, facet_col=None, color_name=None, colormap=None, color_is_cat=False, facet_row_labels=None, facet_col_labels=None, height=None, width=None, trace_type="scatter", scales="fixed", dtick_x=None, dtick_...
_facet_grid.create_facet_grid
repository-level
external
plotly.py
9
packages/python/plotly/plotly/graph_objs/_funnel.py
def __init__( self, arg=None, alignmentgroup=None, cliponaxis=None, connector=None, constraintext=None, customdata=None, customdatasrc=None, dx=None, dy=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, ...
/usr/src/app/target_test_cases/failed_tests__funnel.Funnel.__init__.txt
def __init__( self, arg=None, alignmentgroup=None, cliponaxis=None, connector=None, constraintext=None, customdata=None, customdatasrc=None, dx=None, dy=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, ...
_funnel.Funnel.__init__
repository-level
external
plotly.py
10
packages/python/plotly/plotly/graph_objs/_funnel.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.funnel.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported di...
/usr/src/app/target_test_cases/failed_tests__funnel.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.funnel.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported di...
_funnel.marker
file-level
non_external
plotly.py
11
packages/python/plotly/plotly/graph_objs/_funnelarea.py
def __init__( self, arg=None, aspectratio=None, baseratio=None, customdata=None, customdatasrc=None, dlabel=None, domain=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplate...
/usr/src/app/target_test_cases/failed_tests__funnelarea.Funnelarea.__init__.txt
def __init__( self, arg=None, aspectratio=None, baseratio=None, customdata=None, customdatasrc=None, dlabel=None, domain=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplate...
_funnelarea.Funnelarea.__init__
repository-level
external
plotly.py
12
packages/python/plotly/plotly/figure_factory/_gantt.py
def create_gantt( df, colors=None, index_col=None, show_colorbar=False, reverse_colors=False, title="Gantt Chart", bar_width=0.2, showgrid_x=False, showgrid_y=False, height=600, width=None, tasks=None, task_names=None, data=None, group_tasks=False, show_ho...
/usr/src/app/target_test_cases/failed_tests__gantt.create_gantt.txt
def create_gantt( df, colors=None, index_col=None, show_colorbar=False, reverse_colors=False, title="Gantt Chart", bar_width=0.2, showgrid_x=False, showgrid_y=False, height=600, width=None, tasks=None, task_names=None, data=None, group_tasks=False, show_ho...
_gantt.create_gantt
repository-level
non_external
plotly.py
13
packages/python/plotly/plotly/graph_objs/layout/_grid.py
def __init__( self, arg=None, columns=None, domain=None, pattern=None, roworder=None, rows=None, subplots=None, xaxes=None, xgap=None, xside=None, yaxes=None, ygap=None, yside=None, **kwargs, ...
/usr/src/app/target_test_cases/failed_tests__grid.Grid.__init__.txt
def __init__( self, arg=None, columns=None, domain=None, pattern=None, roworder=None, rows=None, subplots=None, xaxes=None, xgap=None, xside=None, yaxes=None, ygap=None, yside=None, **kwargs, ...
_grid.Grid.__init__
repository-level
external
plotly.py
14
packages/python/plotly/plotly/graph_objs/_histogram.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.histogram.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
/usr/src/app/target_test_cases/failed_tests__histogram.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.histogram.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
_histogram.marker
file-level
non_external
plotly.py
15
packages/python/plotly/plotly/io/_html.py
def to_html( fig, config=None, auto_play=True, include_plotlyjs=True, include_mathjax=False, post_script=None, full_html=True, animation_opts=None, default_width="100%", default_height="100%", validate=True, div_id=None, ): """ Convert a figure to an HTML string r...
/usr/src/app/target_test_cases/failed_tests__html.to_html.txt
def to_html( fig, config=None, auto_play=True, include_plotlyjs=True, include_mathjax=False, post_script=None, full_html=True, animation_opts=None, default_width="100%", default_height="100%", validate=True, div_id=None, ): """ Convert a figure to an HTML string r...
_html.to_html
repository-level
external
plotly.py
16
packages/python/plotly/plotly/io/_html.py
def write_html( fig, file, config=None, auto_play=True, include_plotlyjs=True, include_mathjax=False, post_script=None, full_html=True, animation_opts=None, validate=True, default_width="100%", default_height="100%", auto_open=False, div_id=None, ): """ Wr...
/usr/src/app/target_test_cases/failed_tests__html.write_html.txt
def write_html( fig, file, config=None, auto_play=True, include_plotlyjs=True, include_mathjax=False, post_script=None, full_html=True, animation_opts=None, validate=True, default_width="100%", default_height="100%", auto_open=False, div_id=None, ): """ Wr...
_html.write_html
repository-level
external
plotly.py
17
packages/python/plotly/plotly/express/_imshow.py
def imshow( img, zmin=None, zmax=None, origin=None, labels={}, x=None, y=None, animation_frame=None, facet_col=None, facet_col_wrap=None, facet_col_spacing=None, facet_row_spacing=None, color_continuous_scale=None, color_continuous_midpoint=None, range_color=N...
/usr/src/app/target_test_cases/failed_tests__imshow.imshow.txt
def imshow( img, zmin=None, zmax=None, origin=None, labels={}, x=None, y=None, animation_frame=None, facet_col=None, facet_col_wrap=None, facet_col_spacing=None, facet_row_spacing=None, color_continuous_scale=None, color_continuous_midpoint=None, range_color=N...
_imshow.imshow
repository-level
external
plotly.py
18
packages/python/plotly/plotly/graph_objs/_layout.py
def annotations(self): """ The 'annotations' property is a tuple of instances of Annotation that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Annotation - A list or tuple of dicts of string/value properties that will be passe...
/usr/src/app/target_test_cases/failed_tests__layout.annotations.txt
def annotations(self): """ The 'annotations' property is a tuple of instances of Annotation that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Annotation - A list or tuple of dicts of string/value properties that will be passe...
_layout.annotations
file-level
non_external
plotly.py
19
packages/python/plotly/plotly/graph_objs/_layout.py
def coloraxis(self): """ The 'coloraxis' property is an instance of Coloraxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Coloraxis` - A dict of string/value properties that will be passed to the Coloraxis constructor ...
/usr/src/app/target_test_cases/failed_tests__layout.coloraxis.txt
def coloraxis(self): """ The 'coloraxis' property is an instance of Coloraxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Coloraxis` - A dict of string/value properties that will be passed to the Coloraxis constructor ...
_layout.coloraxis
file-level
non_external
plotly.py
20
packages/python/plotly/plotly/graph_objs/_layout.py
def geo(self): """ The 'geo' property is an instance of Geo that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Geo` - A dict of string/value properties that will be passed to the Geo constructor Supported dict properties: ...
/usr/src/app/target_test_cases/failed_tests__layout.geo.txt
def geo(self): """ The 'geo' property is an instance of Geo that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Geo` - A dict of string/value properties that will be passed to the Geo constructor Supported dict properties: ...
_layout.geo
file-level
non_external
plotly.py
21
packages/python/plotly/plotly/graph_objs/_layout.py
def grid(self): """ The 'grid' property is an instance of Grid that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Grid` - A dict of string/value properties that will be passed to the Grid constructor Supported dict propert...
/usr/src/app/target_test_cases/failed_tests__layout.grid.txt
def grid(self): """ The 'grid' property is an instance of Grid that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Grid` - A dict of string/value properties that will be passed to the Grid constructor Supported dict propert...
_layout.grid
file-level
non_external
plotly.py
22
packages/python/plotly/plotly/graph_objs/_layout.py
def images(self): """ The 'images' property is a tuple of instances of Image that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Image - A list or tuple of dicts of string/value properties that will be passed to the Image const...
/usr/src/app/target_test_cases/failed_tests__layout.images.txt
def images(self): """ The 'images' property is a tuple of instances of Image that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Image - A list or tuple of dicts of string/value properties that will be passed to the Image const...
_layout.images
file-level
non_external
plotly.py
23
packages/python/plotly/plotly/graph_objs/_layout.py
def legend(self): """ The 'legend' property is an instance of Legend that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Legend` - A dict of string/value properties that will be passed to the Legend constructor Supported di...
/usr/src/app/target_test_cases/failed_tests__layout.legend.txt
def legend(self): """ The 'legend' property is an instance of Legend that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Legend` - A dict of string/value properties that will be passed to the Legend constructor Supported di...
_layout.legend
file-level
non_external
plotly.py
24
packages/python/plotly/plotly/graph_objs/_layout.py
def mapbox(self): """ The 'mapbox' property is an instance of Mapbox that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Mapbox` - A dict of string/value properties that will be passed to the Mapbox constructor Supported di...
/usr/src/app/target_test_cases/failed_tests__layout.mapbox.txt
def mapbox(self): """ The 'mapbox' property is an instance of Mapbox that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Mapbox` - A dict of string/value properties that will be passed to the Mapbox constructor Supported di...
_layout.mapbox
file-level
non_external
plotly.py
25
packages/python/plotly/plotly/graph_objs/_layout.py
def scene(self): """ The 'scene' property is an instance of Scene that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Scene` - A dict of string/value properties that will be passed to the Scene constructor Supported dict pr...
/usr/src/app/target_test_cases/failed_tests__layout.scene.txt
def scene(self): """ The 'scene' property is an instance of Scene that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Scene` - A dict of string/value properties that will be passed to the Scene constructor Supported dict pr...
_layout.scene
file-level
non_external
plotly.py
26
packages/python/plotly/plotly/graph_objs/_layout.py
def shapes(self): """ The 'shapes' property is a tuple of instances of Shape that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Shape - A list or tuple of dicts of string/value properties that will be passed to the Shape const...
/usr/src/app/target_test_cases/failed_tests__layout.shapes.txt
def shapes(self): """ The 'shapes' property is a tuple of instances of Shape that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Shape - A list or tuple of dicts of string/value properties that will be passed to the Shape const...
_layout.shapes
file-level
non_external
plotly.py
27
packages/python/plotly/plotly/graph_objs/_layout.py
def sliders(self): """ The 'sliders' property is a tuple of instances of Slider that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Slider - A list or tuple of dicts of string/value properties that will be passed to the Slider ...
/usr/src/app/target_test_cases/failed_tests__layout.sliders.txt
def sliders(self): """ The 'sliders' property is a tuple of instances of Slider that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.Slider - A list or tuple of dicts of string/value properties that will be passed to the Slider ...
_layout.sliders
file-level
non_external
plotly.py
28
packages/python/plotly/plotly/graph_objs/_layout.py
def title(self): """ The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Title` - A dict of string/value properties that will be passed to the Title constructor Supported dict pr...
/usr/src/app/target_test_cases/failed_tests__layout.title.txt
def title(self): """ The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.layout.Title` - A dict of string/value properties that will be passed to the Title constructor Supported dict pr...
_layout.title
file-level
non_external
plotly.py
29
packages/python/plotly/plotly/graph_objs/layout/_legend.py
def __init__( self, arg=None, bgcolor=None, bordercolor=None, borderwidth=None, entrywidth=None, entrywidthmode=None, font=None, groupclick=None, grouptitlefont=None, indentation=None, itemclick=None, itemdoublec...
/usr/src/app/target_test_cases/failed_tests__legend.Legend.__init__.txt
def __init__( self, arg=None, bgcolor=None, bordercolor=None, borderwidth=None, entrywidth=None, entrywidthmode=None, font=None, groupclick=None, grouptitlefont=None, indentation=None, itemclick=None, itemdoublec...
_legend.Legend.__init__
repository-level
external
plotly.py
30
packages/python/plotly/plotly/graph_objs/scatter/_marker.py
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
/usr/src/app/target_test_cases/failed_tests__marker.colorbar.txt
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
_marker.colorbar
file-level
non_external
plotly.py
31
packages/python/plotly/plotly/graph_objs/layout/_modebar.py
def __init__( self, arg=None, activecolor=None, add=None, addsrc=None, bgcolor=None, color=None, orientation=None, remove=None, removesrc=None, uirevision=None, **kwargs, ): """ Construct a new Modeba...
/usr/src/app/target_test_cases/failed_tests__modebar.Modebar.__init__.txt
def __init__( self, arg=None, activecolor=None, add=None, addsrc=None, bgcolor=None, color=None, orientation=None, remove=None, removesrc=None, uirevision=None, **kwargs, ): """ Construct a new Modeba...
_modebar.Modebar.__init__
repository-level
external
plotly.py
32
packages/python/plotly/plotly/graph_objs/layout/_newshape.py
def __init__( self, arg=None, drawdirection=None, fillcolor=None, fillrule=None, label=None, layer=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, ...
/usr/src/app/target_test_cases/failed_tests__newshape.Newshape.__init__.txt
def __init__( self, arg=None, drawdirection=None, fillcolor=None, fillrule=None, label=None, layer=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, ...
_newshape.Newshape.__init__
repository-level
external
plotly.py
33
packages/python/plotly/plotly/graph_objs/_parcats.py
def __init__( self, arg=None, arrangement=None, bundlecolors=None, counts=None, countssrc=None, dimensions=None, dimensiondefaults=None, domain=None, hoverinfo=None, hoveron=None, hovertemplate=None, labelfont=No...
/usr/src/app/target_test_cases/failed_tests__parcats.Parcats.__init__.txt
def __init__( self, arg=None, arrangement=None, bundlecolors=None, counts=None, countssrc=None, dimensions=None, dimensiondefaults=None, domain=None, hoverinfo=None, hoveron=None, hovertemplate=None, labelfont=No...
_parcats.Parcats.__init__
repository-level
external
plotly.py
34
packages/python/plotly/plotly/graph_objs/_parcats.py
def dimensions(self): """ The dimensions (variables) of the parallel categories diagram. The 'dimensions' property is a tuple of instances of Dimension that may be specified as: - A list or tuple of instances of plotly.graph_objs.parcats.Dimension - A list or tup...
/usr/src/app/target_test_cases/failed_tests__parcats.dimensions.txt
def dimensions(self): """ The dimensions (variables) of the parallel categories diagram. The 'dimensions' property is a tuple of instances of Dimension that may be specified as: - A list or tuple of instances of plotly.graph_objs.parcats.Dimension - A list or tup...
_parcats.dimensions
file-level
non_external
plotly.py
35
packages/python/plotly/plotly/graph_objs/_parcoords.py
def dimensions(self): """ The dimensions (variables) of the parallel coordinates chart. 2..60 dimensions are supported. The 'dimensions' property is a tuple of instances of Dimension that may be specified as: - A list or tuple of instances of plotly.graph_objs.parc...
/usr/src/app/target_test_cases/failed_tests__parcoords.dimensions.txt
def dimensions(self): """ The dimensions (variables) of the parallel coordinates chart. 2..60 dimensions are supported. The 'dimensions' property is a tuple of instances of Dimension that may be specified as: - A list or tuple of instances of plotly.graph_objs.parc...
_parcoords.dimensions
file-level
non_external
plotly.py
36
packages/python/plotly/plotly/graph_objs/_parcoords.py
def line(self): """ The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.parcoords.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict prop...
/usr/src/app/target_test_cases/failed_tests__parcoords.line.txt
def line(self): """ The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.parcoords.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict prop...
_parcoords.line
file-level
non_external
plotly.py
37
packages/python/plotly/plotly/graph_objs/layout/_polar.py
def angularaxis(self): """ The 'angularaxis' property is an instance of AngularAxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.polar.AngularAxis` - A dict of string/value properties that will be passed to the AngularAxis constr...
/usr/src/app/target_test_cases/failed_tests__polar.angularaxis.txt
def angularaxis(self): """ The 'angularaxis' property is an instance of AngularAxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.polar.AngularAxis` - A dict of string/value properties that will be passed to the AngularAxis constr...
_polar.angularaxis
file-level
non_external
plotly.py
38
packages/python/plotly/plotly/figure_factory/_quiver.py
def create_quiver( x, y, u, v, scale=0.1, arrow_scale=0.3, angle=math.pi / 9, scaleratio=None, **kwargs ): """ Returns data for a quiver plot. :param (list|ndarray) x: x coordinates of the arrow locations :param (list|ndarray) y: y coordinates of the arrow locations :param (list|ndarray) u: x c...
/usr/src/app/target_test_cases/failed_tests__quiver.create_quiver.txt
def create_quiver( x, y, u, v, scale=0.1, arrow_scale=0.3, angle=math.pi / 9, scaleratio=None, **kwargs ): """ Returns data for a quiver plot. :param (list|ndarray) x: x coordinates of the arrow locations :param (list|ndarray) y: y coordinates of the arrow locations :param (list|ndarray) u: x c...
_quiver.create_quiver
repository-level
non_external
plotly.py
39
packages/python/plotly/plotly/graph_objs/_sankey.py
def __init__( self, arg=None, arrangement=None, customdata=None, customdatasrc=None, domain=None, hoverinfo=None, hoverlabel=None, ids=None, idssrc=None, legend=None, legendgrouptitle=None, legendrank=None, ...
/usr/src/app/target_test_cases/failed_tests__sankey.Sankey.__init__.txt
def __init__( self, arg=None, arrangement=None, customdata=None, customdatasrc=None, domain=None, hoverinfo=None, hoverlabel=None, ids=None, idssrc=None, legend=None, legendgrouptitle=None, legendrank=None, ...
_sankey.Sankey.__init__
repository-level
external
plotly.py
40
packages/python/plotly/plotly/graph_objs/_scatter.py
def error_x(self): """ The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported...
/usr/src/app/target_test_cases/failed_tests__scatter.error_x.txt
def error_x(self): """ The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported...
_scatter.error_x
file-level
non_external
plotly.py
41
packages/python/plotly/plotly/graph_objs/_scatter.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported d...
/usr/src/app/target_test_cases/failed_tests__scatter.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported d...
_scatter.marker
file-level
non_external
plotly.py
42
packages/python/plotly/plotly/graph_objs/_scatter.py
def textfont(self): """ Sets the text font. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.Textfont` - A dict of string/value properties that will be passed to the Textfo...
/usr/src/app/target_test_cases/failed_tests__scatter.textfont.txt
def textfont(self): """ Sets the text font. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatter.Textfont` - A dict of string/value properties that will be passed to the Textfo...
_scatter.textfont
file-level
non_external
plotly.py
43
packages/python/plotly/plotly/graph_objs/_scatter3d.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
/usr/src/app/target_test_cases/failed_tests__scatter3d.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
_scatter3d.marker
file-level
non_external
plotly.py
44
packages/python/plotly/plotly/graph_objs/_scattergl.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scattergl.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
/usr/src/app/target_test_cases/failed_tests__scattergl.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scattergl.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
_scattergl.marker
file-level
non_external
plotly.py
45
packages/python/plotly/plotly/figure_factory/_scatterplot.py
def create_scatterplotmatrix( df, index=None, endpts=None, diag="scatter", height=500, width=500, size=6, title="Scatterplot Matrix", colormap=None, colormap_type="cat", dataframe=None, headers=None, index_vals=None, **kwargs, ): """ Returns data for a sca...
/usr/src/app/target_test_cases/failed_tests__scatterplot.create_scatterplotmatrix.txt
def create_scatterplotmatrix( df, index=None, endpts=None, diag="scatter", height=500, width=500, size=6, title="Scatterplot Matrix", colormap=None, colormap_type="cat", dataframe=None, headers=None, index_vals=None, **kwargs, ): """ Returns data for a sca...
_scatterplot.create_scatterplotmatrix
repository-level
non_external
plotly.py
46
packages/python/plotly/plotly/graph_objs/_scatterpolar.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Suppor...
/usr/src/app/target_test_cases/failed_tests__scatterpolar.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Suppor...
_scatterpolar.marker
file-level
non_external
plotly.py
47
packages/python/plotly/plotly/graph_objs/layout/_scene.py
def xaxis(self): """ The 'xaxis' property is an instance of XAxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.scene.XAxis` - A dict of string/value properties that will be passed to the XAxis constructor Supported d...
/usr/src/app/target_test_cases/failed_tests__scene.xaxis.txt
def xaxis(self): """ The 'xaxis' property is an instance of XAxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.scene.XAxis` - A dict of string/value properties that will be passed to the XAxis constructor Supported d...
_scene.xaxis
file-level
non_external
plotly.py
48
packages/python/plotly/plotly/graph_objs/layout/_selection.py
def __init__( self, arg=None, line=None, name=None, opacity=None, path=None, templateitemname=None, type=None, x0=None, x1=None, xref=None, y0=None, y1=None, yref=None, **kwargs, ): ""...
/usr/src/app/target_test_cases/failed_tests__selection.Selection.__init__.txt
def __init__( self, arg=None, line=None, name=None, opacity=None, path=None, templateitemname=None, type=None, x0=None, x1=None, xref=None, y0=None, y1=None, yref=None, **kwargs, ): ""...
_selection.Selection.__init__
repository-level
external
plotly.py
49
packages/python/plotly/plotly/graph_objs/layout/_slider.py
def __init__( self, arg=None, active=None, activebgcolor=None, bgcolor=None, bordercolor=None, borderwidth=None, currentvalue=None, font=None, len=None, lenmode=None, minorticklen=None, name=None, pad=Non...
/usr/src/app/target_test_cases/failed_tests__slider.Slider.__init__.txt
def __init__( self, arg=None, active=None, activebgcolor=None, bgcolor=None, bordercolor=None, borderwidth=None, currentvalue=None, font=None, len=None, lenmode=None, minorticklen=None, name=None, pad=Non...
_slider.Slider.__init__
repository-level
external
plotly.py
50
packages/python/plotly/plotly/graph_objs/_splom.py
def __init__( self, arg=None, customdata=None, customdatasrc=None, diagonal=None, dimensions=None, dimensiondefaults=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, ...
/usr/src/app/target_test_cases/failed_tests__splom.Splom.__init__.txt
def __init__( self, arg=None, customdata=None, customdatasrc=None, diagonal=None, dimensions=None, dimensiondefaults=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, ...
_splom.Splom.__init__
repository-level
external
plotly.py
51
packages/python/plotly/plotly/graph_objs/_splom.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.splom.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dic...
/usr/src/app/target_test_cases/failed_tests__splom.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.splom.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dic...
_splom.marker
file-level
non_external
plotly.py
52
packages/python/plotly/plotly/_subplots.py
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=No...
/usr/src/app/target_test_cases/failed_tests__subplots.make_subplots.txt
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=No...
_subplots.make_subplots
repository-level
non_external
plotly.py
53
packages/python/plotly/plotly/graph_objs/_sunburst.py
def __init__( self, arg=None, branchvalues=None, count=None, customdata=None, customdatasrc=None, domain=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, hovert...
/usr/src/app/target_test_cases/failed_tests__sunburst.Sunburst.__init__.txt
def __init__( self, arg=None, branchvalues=None, count=None, customdata=None, customdatasrc=None, domain=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, hovert...
_sunburst.Sunburst.__init__
repository-level
external
plotly.py
54
packages/python/plotly/plotly/graph_objs/_sunburst.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.sunburst.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported ...
/usr/src/app/target_test_cases/failed_tests__sunburst.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.sunburst.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported ...
_sunburst.marker
file-level
non_external
plotly.py
55
packages/python/plotly/plotly/graph_objs/layout/_template.py
def data(self): """ The 'data' property is an instance of Data that may be specified as: - An instance of :class:`plotly.graph_objs.layout.template.Data` - A dict of string/value properties that will be passed to the Data constructor Supported dic...
/usr/src/app/target_test_cases/failed_tests__template.data.txt
def data(self): """ The 'data' property is an instance of Data that may be specified as: - An instance of :class:`plotly.graph_objs.layout.template.Data` - A dict of string/value properties that will be passed to the Data constructor Supported dic...
_template.data
file-level
non_external
plotly.py
56
packages/python/plotly/plotly/io/_templates.py
def to_templated(fig, skip=("title", "text")): """ Return a copy of a figure where all styling properties have been moved into the figure's template. The template property of the resulting figure may then be used to set the default styling of other figures. Parameters ---------- fig ...
/usr/src/app/target_test_cases/failed_tests__templates.to_templated.txt
def to_templated(fig, skip=("title", "text")): """ Return a copy of a figure where all styling properties have been moved into the figure's template. The template property of the resulting figure may then be used to set the default styling of other figures. Parameters ---------- fig ...
_templates.to_templated
repository-level
external
plotly.py
57
packages/python/plotly/plotly/graph_objs/layout/_ternary.py
def aaxis(self): """ The 'aaxis' property is an instance of Aaxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.ternary.Aaxis` - A dict of string/value properties that will be passed to the Aaxis constructor Supported...
/usr/src/app/target_test_cases/failed_tests__ternary.aaxis.txt
def aaxis(self): """ The 'aaxis' property is an instance of Aaxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.ternary.Aaxis` - A dict of string/value properties that will be passed to the Aaxis constructor Supported...
_ternary.aaxis
file-level
non_external
plotly.py
58
packages/python/plotly/plotly/graph_objs/scatter/_textfont.py
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, lineposition=None, linepositionsrc=None, shadow=None, shadowsrc=None, size=None, sizesrc=None, style=None, stylesrc=No...
/usr/src/app/target_test_cases/failed_tests__textfont.Textfont.__init__.txt
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, lineposition=None, linepositionsrc=None, shadow=None, shadowsrc=None, size=None, sizesrc=None, style=None, stylesrc=No...
_textfont.Textfont.__init__
repository-level
external
plotly.py
59
packages/python/plotly/plotly/graph_objs/_treemap.py
def __init__( self, arg=None, branchvalues=None, count=None, customdata=None, customdatasrc=None, domain=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, hovert...
/usr/src/app/target_test_cases/failed_tests__treemap.Treemap.__init__.txt
def __init__( self, arg=None, branchvalues=None, count=None, customdata=None, customdatasrc=None, domain=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, hovert...
_treemap.Treemap.__init__
repository-level
external
plotly.py
60
packages/python/plotly/plotly/graph_objs/_treemap.py
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.treemap.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported d...
/usr/src/app/target_test_cases/failed_tests__treemap.marker.txt
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.treemap.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported d...
_treemap.marker
file-level
non_external
plotly.py
61
packages/python/plotly/plotly/figure_factory/_trisurf.py
def create_trisurf( x, y, z, simplices, colormap=None, show_colorbar=True, scale=None, color_func=None, title="Trisurf Plot", plot_edges=True, showbackground=True, backgroundcolor="rgb(230, 230, 230)", gridcolor="rgb(255, 255, 255)", zerolinecolor="rgb(255, 255, 2...
/usr/src/app/target_test_cases/failed_tests__trisurf.create_trisurf.txt
def create_trisurf( x, y, z, simplices, colormap=None, show_colorbar=True, scale=None, color_func=None, title="Trisurf Plot", plot_edges=True, showbackground=True, backgroundcolor="rgb(230, 230, 230)", gridcolor="rgb(255, 255, 255)", zerolinecolor="rgb(255, 255, 2...
_trisurf.create_trisurf
repository-level
non_external
plotly.py
62
packages/python/plotly/plotly/graph_objs/layout/_updatemenu.py
def __init__( self, arg=None, active=None, bgcolor=None, bordercolor=None, borderwidth=None, buttons=None, buttondefaults=None, direction=None, font=None, name=None, pad=None, showactive=None, templateite...
/usr/src/app/target_test_cases/failed_tests__updatemenu.Updatemenu.__init__.txt
def __init__( self, arg=None, active=None, bgcolor=None, bordercolor=None, borderwidth=None, buttons=None, buttondefaults=None, direction=None, font=None, name=None, pad=None, showactive=None, templateite...
_updatemenu.Updatemenu.__init__
repository-level
external
plotly.py
63
packages/python/plotly/plotly/graph_objs/layout/_updatemenu.py
def buttons(self): """ The 'buttons' property is a tuple of instances of Button that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.updatemenu.Button - A list or tuple of dicts of string/value properties that will be passed to ...
/usr/src/app/target_test_cases/failed_tests__updatemenu.buttons.txt
def buttons(self): """ The 'buttons' property is a tuple of instances of Button that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.updatemenu.Button - A list or tuple of dicts of string/value properties that will be passed to ...
_updatemenu.buttons
file-level
non_external
plotly.py
64
packages/python/plotly/plotly/graph_objs/_violin.py
def __init__( self, arg=None, alignmentgroup=None, bandwidth=None, box=None, customdata=None, customdatasrc=None, fillcolor=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hoveron=None, hovertemplate=No...
/usr/src/app/target_test_cases/failed_tests__violin.Violin.__init__.txt
def __init__( self, arg=None, alignmentgroup=None, bandwidth=None, box=None, customdata=None, customdatasrc=None, fillcolor=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hoveron=None, hovertemplate=No...
_violin.Violin.__init__
repository-level
external
plotly.py
65
packages/python/plotly/plotly/figure_factory/_violin.py
def create_violin( data, data_header=None, group_header=None, colors=None, use_colorscale=False, group_stats=None, rugplot=True, sort=False, height=450, width=600, title="Violin and Rug Plot", ): """ **deprecated**, use instead the plotly.graph_objects trace :clas...
/usr/src/app/target_test_cases/failed_tests__violin.create_violin.txt
def create_violin( data, data_header=None, group_header=None, colors=None, use_colorscale=False, group_stats=None, rugplot=True, sort=False, height=450, width=600, title="Violin and Rug Plot", ): """ **deprecated**, use instead the plotly.graph_objects trace :clas...
_violin.create_violin
repository-level
external
plotly.py
66
packages/python/plotly/plotly/graph_objs/_waterfall.py
def __init__( self, arg=None, alignmentgroup=None, base=None, cliponaxis=None, connector=None, constraintext=None, customdata=None, customdatasrc=None, decreasing=None, dx=None, dy=None, hoverinfo=None, h...
/usr/src/app/target_test_cases/failed_tests__waterfall.Waterfall.__init__.txt
def __init__( self, arg=None, alignmentgroup=None, base=None, cliponaxis=None, connector=None, constraintext=None, customdata=None, customdatasrc=None, decreasing=None, dx=None, dy=None, hoverinfo=None, h...
_waterfall.Waterfall.__init__
repository-level
external
plotly.py
67
packages/python/plotly/plotly/basedatatypes.py
def add_trace( self, trace, row=None, col=None, secondary_y=None, exclude_empty_subplots=False ): """ Add a trace to the figure Parameters ---------- trace : BaseTraceType or dict Either: - An instances of a trace classe from the plotly....
/usr/src/app/target_test_cases/failed_tests_basedatatypes.BaseFigure.add_trace.txt
def add_trace( self, trace, row=None, col=None, secondary_y=None, exclude_empty_subplots=False ): """ Add a trace to the figure Parameters ---------- trace : BaseTraceType or dict Either: - An instances of a trace classe from the plotly....
basedatatypes.BaseFigure.add_trace
file-level
non_external
plotly.py
68
packages/python/plotly/plotly/basedatatypes.py
def batch_animate(self, duration=500, easing="cubic-in-out"): """ Context manager to animate trace / layout updates Parameters ---------- duration : number The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. ...
/usr/src/app/target_test_cases/failed_tests_basedatatypes.batch_animate.txt
def batch_animate(self, duration=500, easing="cubic-in-out"): """ Context manager to animate trace / layout updates Parameters ---------- duration : number The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. ...
basedatatypes.batch_animate
file-level
external
plotly.py
69
packages/python/plotly/plotly/express/imshow_utils.py
def rescale_intensity(image, in_range="image", out_range="dtype"): """Return image after stretching or shrinking its intensity levels. The desired intensity range of the input and output, `in_range` and `out_range` respectively, are used to stretch or shrink the intensity range of the input image. See ...
/usr/src/app/target_test_cases/failed_tests_imshow_utils.rescale_intensity.txt
def rescale_intensity(image, in_range="image", out_range="dtype"): """Return image after stretching or shrinking its intensity levels. The desired intensity range of the input and output, `in_range` and `out_range` respectively, are used to stretch or shrink the intensity range of the input image. See ...
imshow_utils.rescale_intensity
file-level
external
plotly.py
70
packages/python/plotly/plotly/offline/offline.py
def iplot( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, image=None, filename="plot_image", image_width=800, image_height=600, config=None, auto_play=True, animation_opts=None, ): """ Draw plotly graphs inside an IPython or Jupyter not...
/usr/src/app/target_test_cases/failed_tests_offline.iplot.txt
def iplot( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, image=None, filename="plot_image", image_width=800, image_height=600, config=None, auto_play=True, animation_opts=None, ): """ Draw plotly graphs inside an IPython or Jupyter not...
offline.iplot
repository-level
non_external
plotly.py
71
packages/python/plotly/plotly/offline/offline.py
def plot( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, output_type="file", include_plotlyjs=True, filename="temp-plot.html", auto_open=True, image=None, image_filename="plot_image", image_width=800, image_height=600, config=None, ...
/usr/src/app/target_test_cases/failed_tests_offline.plot.txt
def plot( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, output_type="file", include_plotlyjs=True, filename="temp-plot.html", auto_open=True, image=None, image_filename="plot_image", image_width=800, image_height=600, config=None, ...
offline.plot
repository-level
external
plotly.py
72
packages/python/plotly/_plotly_utils/png.py
def __init__( self, width=None, height=None, size=None, greyscale=Default, alpha=False, bitdepth=8, palette=None, transparent=None, background=None, gamma=None, compression=None, interlace=False, planes=N...
/usr/src/app/target_test_cases/failed_tests_png.Writer.__init__.txt
def __init__( self, width=None, height=None, size=None, greyscale=Default, alpha=False, bitdepth=8, palette=None, transparent=None, background=None, gamma=None, compression=None, interlace=False, planes=N...
png.Writer.__init__
file-level
non_external
plotly.py
73
packages/python/plotly/_plotly_utils/png.py
def from_array(a, mode=None, info={}): """ Create a PNG :class:`Image` object from a 2-dimensional array. One application of this function is easy PIL-style saving: ``png.from_array(pixels, 'L').save('foo.png')``. Unless they are specified using the *info* parameter, the PNG's height and width ...
/usr/src/app/target_test_cases/failed_tests_png.from_array.txt
def from_array(a, mode=None, info={}): """ Create a PNG :class:`Image` object from a 2-dimensional array. One application of this function is easy PIL-style saving: ``png.from_array(pixels, 'L').save('foo.png')``. Unless they are specified using the *info* parameter, the PNG's height and width ...
png.from_array
file-level
non_external
plotly.py
74
packages/python/plotly/plotly/subplots.py
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=No...
/usr/src/app/target_test_cases/failed_tests_subplots.make_subplots.txt
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=No...
subplots.make_subplots
repository-level
non_external
plotly.py
75
packages/python/plotly/plotly/tools.py
def make_subplots( rows=1, cols=1, shared_xaxes=False, shared_yaxes=False, start_cell="top-left", print_grid=None, **kwargs, ): """Return an instance of plotly.graph_objs.Figure with the subplots domain set in 'layout'. Example 1: # stack two subplots vertically fig = to...
/usr/src/app/target_test_cases/failed_tests_tools.make_subplots.txt
def make_subplots( rows=1, cols=1, shared_xaxes=False, shared_yaxes=False, start_cell="top-left", print_grid=None, **kwargs, ): """Return an instance of plotly.graph_objs.Figure with the subplots domain set in 'layout'. Example 1: # stack two subplots vertically fig = to...
tools.make_subplots
repository-level
external
sphinx
0
sphinx/application.py
def __init__(self, srcdir: str | os.PathLike[str], confdir: str | os.PathLike[str] | None, outdir: str | os.PathLike[str], doctreedir: str | os.PathLike[str], buildername: str, confoverrides: dict | None = None, status: IO[str] | None = sys.stdout, warning: IO[str]...
/usr/src/app/target_test_cases/failed_tests___init__.txt
def __init__(self, srcdir: str | os.PathLike[str], confdir: str | os.PathLike[str] | None, outdir: str | os.PathLike[str], doctreedir: str | os.PathLike[str], buildername: str, confoverrides: dict | None = None, status: IO[str] | None = sys.stdout, warning: IO[str]...
__init__
repository-level
external
sphinx
1
sphinx/directives/__init__.py
def run(self) -> list[Node]: """ Main directive entry function, called by docutils upon encountering the directive. This directive is meant to be quite easily subclassable, so it delegates to several additional methods. What it does: * find out if called as a domai...
/usr/src/app/target_test_cases/failed_tests___init__.ObjectDescription.run.txt
def run(self) -> list[Node]: """ Main directive entry function, called by docutils upon encountering the directive. This directive is meant to be quite easily subclassable, so it delegates to several additional methods. What it does: * find out if called as a domai...
__init__.ObjectDescription.run
repository-level
non_external
sphinx
2
sphinx/ext/napoleon/__init__.py
def _process_docstring(app: Sphinx, what: str, name: str, obj: Any, options: Any, lines: list[str]) -> None: """Process the docstring for a given python object. Called when autodoc has read and processed a docstring. `lines` is a list of docstring lines that `_process_docstring` modi...
/usr/src/app/target_test_cases/failed_tests__process_docstring.txt
def _process_docstring(app: Sphinx, what: str, name: str, obj: Any, options: Any, lines: list[str]) -> None: """Process the docstring for a given python object. Called when autodoc has read and processed a docstring. `lines` is a list of docstring lines that `_process_docstring` modi...
__init__._process_docstring
repository-level
external
sphinx
3
sphinx/ext/napoleon/__init__.py
def _skip_member(app: Sphinx, what: str, name: str, obj: Any, skip: bool, options: Any) -> bool | None: """Determine if private and special class members are included in docs. The following settings in conf.py determine if private and special class members or init methods are included in t...
/usr/src/app/target_test_cases/failed_tests__skip_member.txt
def _skip_member(app: Sphinx, what: str, name: str, obj: Any, skip: bool, options: Any) -> bool | None: """Determine if private and special class members are included in docs. The following settings in conf.py determine if private and special class members or init methods are included in t...
__init__._skip_member
repository-level
external
sphinx
4
sphinx/ext/napoleon/__init__.py
def setup(app: Sphinx) -> ExtensionMetadata: """Sphinx extension setup function. When the extension is loaded, Sphinx imports this module and executes the ``setup()`` function, which in turn notifies Sphinx of everything the extension offers. Parameters ---------- app : sphinx.application....
/usr/src/app/target_test_cases/failed_tests_setup.txt
def setup(app: Sphinx) -> ExtensionMetadata: """Sphinx extension setup function. When the extension is loaded, Sphinx imports this module and executes the ``setup()`` function, which in turn notifies Sphinx of everything the extension offers. Parameters ---------- app : sphinx.application....
__init__.setup
repository-level
non_external
sphinx
5
sphinx/ext/coverage.py
def _determine_py_coverage_modules( coverage_modules: Sequence[str], seen_modules: Set[str], ignored_module_exps: Iterable[re.Pattern[str]], py_undoc: dict[str, dict[str, Any]], ) -> list[str]: """Return a sorted list of modules to check for coverage. Figure out which of the two operating modes...
/usr/src/app/target_test_cases/failed_tests__determine_py_coverage_modules.txt
def _determine_py_coverage_modules( coverage_modules: Sequence[str], seen_modules: Set[str], ignored_module_exps: Iterable[re.Pattern[str]], py_undoc: dict[str, dict[str, Any]], ) -> list[str]: """Return a sorted list of modules to check for coverage. Figure out which of the two operating modes...
_determine_py_coverage_modules
repository-level
external
sphinx
6
sphinx/util/nodes.py
def _make_id(string: str) -> str: """Convert `string` into an identifier and return it. This function is a modified version of ``docutils.nodes.make_id()`` of docutils-0.16. Changes: * Allow to use capital alphabet characters * Allow to use dots (".") and underscores ("_") for an identifier ...
/usr/src/app/target_test_cases/failed_tests__make_id.txt
def _make_id(string: str) -> str: """Convert `string` into an identifier and return it. This function is a modified version of ``docutils.nodes.make_id()`` of docutils-0.16. Changes: * Allow to use capital alphabet characters * Allow to use dots (".") and underscores ("_") for an identifier ...
_make_id
file-level
non_external
sphinx
7
sphinx/ext/intersphinx/_load.py
def _read_from_url(url: str, *, config: Config) -> HTTPResponse: """Reads data from *url* with an HTTP *GET*. This function supports fetching from resources which use basic HTTP auth as laid out by RFC1738 § 3.1. See § 5 for grammar definitions for URLs. .. seealso: https://www.ietf.org/rfc/rf...
/usr/src/app/target_test_cases/failed_tests__read_from_url.txt
def _read_from_url(url: str, *, config: Config) -> HTTPResponse: """Reads data from *url* with an HTTP *GET*. This function supports fetching from resources which use basic HTTP auth as laid out by RFC1738 § 3.1. See § 5 for grammar definitions for URLs. .. seealso: https://www.ietf.org/rfc/rf...
_read_from_url
repository-level
external
sphinx
8
sphinx/environment/adapters/toctree.py
def _resolve_toctree( env: BuildEnvironment, docname: str, builder: Builder, toctree: addnodes.toctree, *, prune: bool = True, maxdepth: int = 0, titles_only: bool = False, collapse: bool = False, includehidden: bool = False, ) -> Element | None: """Resolve a *toctree* node into individual bullet lists ...
/usr/src/app/target_test_cases/failed_tests_toctree._resolve_toctree.txt
def _resolve_toctree( env: BuildEnvironment, docname: str, builder: Builder, toctree: addnodes.toctree, *, prune: bool = True, maxdepth: int = 0, titles_only: bool = False, collapse: bool = False, includehidden: bool = False, ) -> Element | None: """Resolve a *toctree* node into individual bullet lists ...
_resolve_toctree
repository-level
non_external
sphinx
9
sphinx/ext/autosummary/generate.py
def _split_full_qualified_name(name: str) -> tuple[str | None, str]: """Split full qualified name to a pair of modname and qualname. A qualname is an abbreviation for "Qualified name" introduced at PEP-3155 (https://peps.python.org/pep-3155/). It is a dotted path name from the module top-level. A...
/usr/src/app/target_test_cases/failed_tests__split_full_qualified_name.txt
def _split_full_qualified_name(name: str) -> tuple[str | None, str]: """Split full qualified name to a pair of modname and qualname. A qualname is an abbreviation for "Qualified name" introduced at PEP-3155 (https://peps.python.org/pep-3155/). It is a dotted path name from the module top-level. A...
_split_full_qualified_name
self-contained
external
sphinx
10
sphinx/application.py
def add_autodocumenter(self, cls: type[Documenter], override: bool = False) -> None: """Register a new documenter class for the autodoc extension. Add *cls* as a new documenter class for the :mod:`sphinx.ext.autodoc` extension. It must be a subclass of :class:`sphinx.ext.autodoc.Do...
/usr/src/app/target_test_cases/failed_tests_add_autodocumenter.txt
def add_autodocumenter(self, cls: type[Documenter], override: bool = False) -> None: """Register a new documenter class for the autodoc extension. Add *cls* as a new documenter class for the :mod:`sphinx.ext.autodoc` extension. It must be a subclass of :class:`sphinx.ext.autodoc.Do...
add_autodocumenter
repository-level
non_external
sphinx
11
sphinx/application.py
def add_crossref_type( self, directivename: str, rolename: str, indextemplate: str = '', ref_nodeclass: type[nodes.TextElement] | None = None, objname: str = '', override: bool = False, ) -> None: """Register a new crossref object type. This method is very similar to :me...
/usr/src/app/target_test_cases/failed_tests_add_crossref_type.txt
def add_crossref_type( self, directivename: str, rolename: str, indextemplate: str = '', ref_nodeclass: type[nodes.TextElement] | None = None, objname: str = '', override: bool = False, ) -> None: """Register a new crossref object type. This method is very similar to :me...
add_crossref_type
file-level
non_external
sphinx
12
sphinx/application.py
def add_directive(self, name: str, cls: type[Directive], override: bool = False) -> None: """Register a Docutils directive. :param name: The name of the directive :param cls: A directive class :param override: If false, do not install it if another directive ...
/usr/src/app/target_test_cases/failed_tests_add_directive.txt
def add_directive(self, name: str, cls: type[Directive], override: bool = False) -> None: """Register a Docutils directive. :param name: The name of the directive :param cls: A directive class :param override: If false, do not install it if another directive ...
add_directive
repository-level
non_external
sphinx
13
sphinx/application.py
def add_js_file(self, filename: str | None, priority: int = 500, loading_method: str | None = None, **kwargs: Any) -> None: """Register a JavaScript file to include in the HTML output. :param filename: The name of a JavaScript file that the default HTML ...
/usr/src/app/target_test_cases/failed_tests_add_js_file.txt
def add_js_file(self, filename: str | None, priority: int = 500, loading_method: str | None = None, **kwargs: Any) -> None: """Register a JavaScript file to include in the HTML output. :param filename: The name of a JavaScript file that the default HTML ...
add_js_file
file-level
external
sphinx
14
sphinx/application.py
def add_node(self, node: type[Element], override: bool = False, **kwargs: tuple[Callable, Callable | None]) -> None: """Register a Docutils node class. This is necessary for Docutils internals. It may also be used in the future to validate nodes in the parsed documents. ...
/usr/src/app/target_test_cases/failed_tests_add_node.txt
def add_node(self, node: type[Element], override: bool = False, **kwargs: tuple[Callable, Callable | None]) -> None: """Register a Docutils node class. This is necessary for Docutils internals. It may also be used in the future to validate nodes in the parsed documents. ...
add_node
repository-level
external
sphinx
15
sphinx/application.py
def add_object_type(self, directivename: str, rolename: str, indextemplate: str = '', parse_node: Callable | None = None, ref_nodeclass: type[nodes.TextElement] | None = None, objname: str = '', doc_field_types: Sequence = (), ...
/usr/src/app/target_test_cases/failed_tests_add_object_type.txt
def add_object_type(self, directivename: str, rolename: str, indextemplate: str = '', parse_node: Callable | None = None, ref_nodeclass: type[nodes.TextElement] | None = None, objname: str = '', doc_field_types: Sequence = (), ...
add_object_type
file-level
external
sphinx
16
sphinx/application.py
def add_role(self, name: str, role: Any, override: bool = False) -> None: """Register a Docutils role. :param name: The name of role :param role: A role function :param override: If false, do not install it if another role is already installed as the same na...
/usr/src/app/target_test_cases/failed_tests_add_role.txt
def add_role(self, name: str, role: Any, override: bool = False) -> None: """Register a Docutils role. :param name: The name of role :param role: A role function :param override: If false, do not install it if another role is already installed as the same na...
add_role
repository-level
external
sphinx
17
sphinx/cmd/quickstart.py
def ask_user(d: dict[str, Any]) -> None: """Ask the user for quickstart values missing from *d*. Values are: * path: root path * sep: separate source and build dirs (bool) * dot: replacement for dot in _templates etc. * project: project name * author: author names ...
/usr/src/app/target_test_cases/failed_tests_ask_user.txt
def ask_user(d: dict[str, Any]) -> None: """Ask the user for quickstart values missing from *d*. Values are: * path: root path * sep: separate source and build dirs (bool) * dot: replacement for dot in _templates etc. * project: project name * author: author names ...
ask_user
repository-level
external