Repository Analysis

plotly/plotly.py

The interactive graphing library for Python :sparkles:

86.9 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of plotly/plotly.py, a Python project with 18,759 GitHub stars. SynthScan v2.0 examined 593,023 lines of code across 1949 source files, recording 13568 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 86.9 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

86.9
Adjusted Score
86.9
Raw Score
100%
Time Factor
2026-08-27
Last Push
18.8K
Stars
Python
Language
593.0K
Lines of Code
1.9K
Files
13.6K
Pattern Hits
2026-08-29
Scan Date
4.86
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 2HIGH 9463MEDIUM 293LOW 3810

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 13568 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-File Repetition9433 hits · 47165 pts
SeverityFileLineSnippetContext
HIGHplotly/basedatatypes.py0update the properties of the figure with a dict and/or with keyword arguments. this recursively updates the structure ofSTRING
HIGHplotly/graph_objs/_figurewidget.py0update the properties of the figure with a dict and/or with keyword arguments. this recursively updates the structure ofSTRING
HIGHplotly/graph_objs/_figure.py0update the properties of the figure with a dict and/or with keyword arguments. this recursively updates the structure ofSTRING
HIGHplotly/basedatatypes.py0perform a property update operation on all shapes that satisfy the specified selection criteria parameters ---------- paSTRING
HIGHplotly/graph_objs/_figurewidget.py0perform a property update operation on all shapes that satisfy the specified selection criteria parameters ---------- paSTRING
HIGHplotly/graph_objs/_figure.py0perform a property update operation on all shapes that satisfy the specified selection criteria parameters ---------- paSTRING
HIGHplotly/basedatatypes.py0update the properties of the figure's layout with a dict and/or with keyword arguments. this recursively updates the strSTRING
HIGHplotly/graph_objs/_figurewidget.py0update the properties of the figure's layout with a dict and/or with keyword arguments. this recursively updates the strSTRING
HIGHplotly/graph_objs/_figure.py0update the properties of the figure's layout with a dict and/or with keyword arguments. this recursively updates the strSTRING
HIGHplotly/basedatatypes.py0add a trace to the figure parameters ---------- trace : basetracetype or dict either: - an instances of a trace classe fSTRING
HIGHplotly/graph_objs/_figurewidget.py0add a trace to the figure parameters ---------- trace : basetracetype or dict either: - an instances of a trace classe fSTRING
HIGHplotly/graph_objs/_figure.py0add a trace to the figure parameters ---------- trace : basetracetype or dict either: - an instances of a trace classe fSTRING
HIGHplotly/basedatatypes.py0add traces to the figure parameters ---------- data : list[basetracetype or dict] a list of trace specifications to be aSTRING
HIGHplotly/graph_objs/_figurewidget.py0add traces to the figure parameters ---------- data : list[basetracetype or dict] a list of trace specifications to be aSTRING
HIGHplotly/graph_objs/_figure.py0add traces to the figure parameters ---------- data : list[basetracetype or dict] a list of trace specifications to be aSTRING
HIGHplotly/basedatatypes.py0add subplots to this figure. if the figure already contains subplots, then this throws an error. accepts any keyword argSTRING
HIGHplotly/graph_objs/_figurewidget.py0add subplots to this figure. if the figure already contains subplots, then this throws an error. accepts any keyword argSTRING
HIGHplotly/graph_objs/_figure.py0add subplots to this figure. if the figure already contains subplots, then this throws an error. accepts any keyword argSTRING
HIGHplotly/graph_objs/_heatmap.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_histogram2dcontour.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_histogram2d.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_choroplethmap.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_cone.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_contourcarpet.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_volume.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_isosurface.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_densitymap.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_choropleth.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_streamtube.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_mesh3d.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_contour.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_surface.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/layout/_coloraxis.py0determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscaleSTRING
HIGHplotly/graph_objs/_heatmap.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_histogram2dcontour.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_histogram2d.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_choroplethmap.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_cone.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_contourcarpet.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_volume.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_isosurface.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_densitymap.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_choropleth.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_streamtube.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_mesh3d.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_contour.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/_surface.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatterternary/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatterternary/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/splom/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/splom/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/parcats/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scattergl/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scattergl/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scattermap/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/parcoords/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/quiver/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatterpolargl/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatterpolargl/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/barpolar/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
9373 more matches not shown…
Unused Imports2326 hits · 2114 pts
SeverityFileLineSnippetContext
LOW…e/test_figure_widget_backend/test_missing_anywidget.py6CODE
LOW…e/test_figure_widget_backend/test_missing_anywidget.py10CODE
LOWplotly/files.py1CODE
LOWplotly/files.py1CODE
LOWplotly/subplots.py3CODE
LOWplotly/subplots.py3CODE
LOWplotly/subplots.py3CODE
LOWplotly/tools.py9CODE
LOWplotly/tools.py12CODE
LOWplotly/tools.py15CODE
LOWplotly/__init__.py38CODE
LOWplotly/__init__.py38CODE
LOWplotly/__init__.py38CODE
LOWplotly/__init__.py38CODE
LOWplotly/__init__.py38CODE
LOWplotly/__init__.py38CODE
LOWplotly/__init__.py38CODE
LOWplotly/utils.py4CODE
LOWplotly/utils.py4CODE
LOWplotly/utils.py5CODE
LOWplotly/exceptions.py1CODE
LOWplotly/optional_imports.py1CODE
LOWplotly/graph_objs/__init__.py5CODE
LOWplotly/graph_objs/__init__.py6CODE
LOWplotly/graph_objs/__init__.py7CODE
LOWplotly/graph_objs/__init__.py8CODE
LOWplotly/graph_objs/__init__.py9CODE
LOWplotly/graph_objs/__init__.py10CODE
LOWplotly/graph_objs/__init__.py11CODE
LOWplotly/graph_objs/__init__.py12CODE
LOWplotly/graph_objs/__init__.py13CODE
LOWplotly/graph_objs/__init__.py14CODE
LOWplotly/graph_objs/__init__.py15CODE
LOWplotly/graph_objs/__init__.py16CODE
LOWplotly/graph_objs/__init__.py17CODE
LOWplotly/graph_objs/__init__.py18CODE
LOWplotly/graph_objs/__init__.py19CODE
LOWplotly/graph_objs/__init__.py20CODE
LOWplotly/graph_objs/__init__.py21CODE
LOWplotly/graph_objs/__init__.py22CODE
LOWplotly/graph_objs/__init__.py23CODE
LOWplotly/graph_objs/__init__.py24CODE
LOWplotly/graph_objs/__init__.py25CODE
LOWplotly/graph_objs/__init__.py26CODE
LOWplotly/graph_objs/__init__.py27CODE
LOWplotly/graph_objs/__init__.py28CODE
LOWplotly/graph_objs/__init__.py29CODE
LOWplotly/graph_objs/__init__.py30CODE
LOWplotly/graph_objs/__init__.py31CODE
LOWplotly/graph_objs/__init__.py32CODE
LOWplotly/graph_objs/__init__.py33CODE
LOWplotly/graph_objs/__init__.py34CODE
LOWplotly/graph_objs/__init__.py35CODE
LOWplotly/graph_objs/__init__.py36CODE
LOWplotly/graph_objs/__init__.py37CODE
LOWplotly/graph_objs/__init__.py38CODE
LOWplotly/graph_objs/__init__.py39CODE
LOWplotly/graph_objs/__init__.py40CODE
LOWplotly/graph_objs/__init__.py41CODE
LOWplotly/graph_objs/__init__.py42CODE
2266 more matches not shown…
Hyper-Verbose Identifiers621 hits · 661 pts
SeverityFileLineSnippetContext
LOWcommands.py147def overwrite_plotlyjs_version_file(plotlyjs_version):CODE
LOWcommands.py231def update_schema_bundle_from_main(args):CODE
LOWcommands.py283def bump_version_pyproject_toml(new_version):CODE
LOWcommands.py319def bump_version_package_json(new_version):CODE
LOWcommands.py348def bump_version_citation_cff(new_version, new_date):CODE
LOWcommands.py395def bump_version_changelog_md(new_version, new_date):CODE
LOW…sts/test_optional/test_matplotlylib/test_date_times.py52 def test_pandas_time_series_date_formatter(self):CODE
LOW…test_optional/test_autoshapes/test_axis_span_shapes.py31def subplot_empty_traces_fig_fixture():CODE
LOW…test_optional/test_autoshapes/test_axis_span_shapes.py334def test_add_span_shape_no_empty_plot(CODE
LOW…test_optional/test_autoshapes/test_axis_span_shapes.py375def test_non_subplot_add_span_shape(test_input, expected, non_subplot_fig_fixture):CODE
LOW…test_optional/test_autoshapes/test_axis_span_shapes.py387def test_invalid_subplot_address(test_input, subplot_fig_fixture):CODE
LOW…test_optional/test_autoshapes/test_axis_span_shapes.py393def _check_figure_shapes_custom_sized(test_input, expected, fig):CODE
LOW…test_optional/test_autoshapes/test_axis_span_shapes.py474def test_custom_sized_subplots(test_input, expected, custom_sized_subplots):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py55def test_add_shape_no_annotation(multi_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py62def test_add_annotated_shape_single_plot(single_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py77def test_add_annotated_shape_multi_plot(multi_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py108def test_bad_annotation_position(multi_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py148def test_annotation_position_override(multi_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py257def test_specify_annotation_as_dict(multi_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py286def test_default_annotation_positions(multi_plot_fixture):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py331def draw_all_annotation_positions(testing=False):CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py424def test_all_annotation_positions():CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py436def test_vline_datetime_string_annotation():CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py446def test_hline_with_datetime_xaxis():CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py456def test_vrect_datetime_string_annotation():CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py466def test_vline_datetime_object_annotation():CODE
LOW…test_optional/test_autoshapes/test_annotated_shapes.py485def test_vrect_datetime_object_annotation():CODE
LOWtests/test_optional/test_autoshapes/common.py14def _check_figure_layout_objects(test_input, expected, fig, layout_key="shapes"):CODE
LOWtests/test_optional/test_utils/test_utils.py36 def test_masked_constants_example():CODE
LOWtests/test_optional/test_utils/test_utils.py168 def test_encode_as_datetime_with_microsecond(self):CODE
LOWtests/test_optional/test_utils/test_utils.py181 def test_encode_as_datetime_with_localized_tz(self):CODE
LOWtests/test_optional/test_utils/test_utils.py216 def test_figure_json_encoding(self):CODE
LOWtests/test_optional/test_utils/test_utils.py258 def test_datetime_json_encoding(self):CODE
LOWtests/test_optional/test_utils/test_utils.py272 def test_pandas_json_encoding(self):CODE
LOWtests/test_optional/test_utils/test_utils.py304 def test_encode_customdata_datetime_series(self):CODE
LOWtests/test_optional/test_utils/test_utils.py333 def test_encode_customdata_datetime_homogeneous_dataframe(self):CODE
LOWtests/test_optional/test_utils/test_utils.py367 def test_encode_customdata_datetime_inhomogeneous_dataframe(self):CODE
LOWtests/test_optional/test_utils/test_utils.py388 def test_numpy_masked_json_encoding(self):CODE
LOWtests/test_optional/test_utils/test_utils.py456 def test_invalid_encode_exception(self):CODE
LOWtests/test_optional/test_utils/test_utils.py462 def test_numpy_integer_import(self):CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py57def test_kaleido_to_image_returns_bytes():CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py85def test_kaleido_to_image_kwargs():CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py97def test_kaleido_write_image_kwargs(tmp_path):CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py114def test_kaleido_write_images(tmp_path):CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py301def test_width_height_priority():CODE
LOW…ts/test_optional/test_kaleido/test_kaleido_v0_error.py23def assert_error_message_contents(excinfo):CODE
LOW…ts/test_optional/test_kaleido/test_kaleido_v0_error.py53def test_full_figure_for_development_raises():CODE
LOW…ts/test_optional/test_kaleido/test_kaleido_v0_error.py68def test_figure_to_image_raises():CODE
LOW…ts/test_optional/test_kaleido/test_kaleido_v0_error.py75def test_figure_write_image_raises(tmp_path):CODE
LOW…ts/test_optional/test_kaleido/test_kaleido_v0_error.py82def test_figure_full_figure_for_development_raises():CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py402 def test_dendrogram_random_matrix(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py533 def test_dendrogram_orientation(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py554 def test_dendrogram_colorscale(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py641 def test_dendrogram_ticklabels(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py1054 def test_simple_ternary_contour(self):CODE
LOWtests/test_optional/test_offline/test_offline.py32 def test_iplot_works_without_init_notebook_mode(self):CODE
LOWtests/test_optional/test_offline/test_offline.py35 def test_iplot_works_after_you_call_init_notebook_mode(self):CODE
LOWtests/test_optional/test_offline/test_offline.py68 def test_default_mpl_plot_generates_expected_html(self):CODE
LOWtests/test_optional/test_px/test_px_input.py228def test_wrong_dimensions_of_array():CODE
LOWtests/test_optional/test_px/test_px_input.py234def test_wrong_dimensions_mixed_case(constructor):CODE
561 more matches not shown…
AI Structural Patterns639 hits · 599 pts
SeverityFileLineSnippetContext
LOW…test_core/test_subplots/test_find_nonempty_subplots.py41CODE
LOWplotly/subplots.py6CODE
LOWplotly/_subplots.py42CODE
LOWplotly/graph_objs/_heatmap.py1792CODE
LOWplotly/graph_objs/_histogram2dcontour.py1743CODE
LOWplotly/graph_objs/_indicator.py549CODE
LOWplotly/graph_objs/_sankey.py680CODE
LOWplotly/graph_objs/_histogram2d.py1701CODE
LOWplotly/graph_objs/_histogram.py1723CODE
LOWplotly/graph_objs/_funnel.py1662CODE
LOWplotly/graph_objs/_ohlc.py1144CODE
LOWplotly/graph_objs/_figurewidget.py652CODE
LOWplotly/graph_objs/_figurewidget.py1170CODE
LOWplotly/graph_objs/_figurewidget.py1465CODE
LOWplotly/graph_objs/_figurewidget.py2074CODE
LOWplotly/graph_objs/_figurewidget.py2435CODE
LOWplotly/graph_objs/_figurewidget.py2682CODE
LOWplotly/graph_objs/_figurewidget.py3032CODE
LOWplotly/graph_objs/_figurewidget.py3377CODE
LOWplotly/graph_objs/_figurewidget.py3817CODE
LOWplotly/graph_objs/_figurewidget.py4363CODE
LOWplotly/graph_objs/_figurewidget.py4715CODE
LOWplotly/graph_objs/_figurewidget.py5047CODE
LOWplotly/graph_objs/_figurewidget.py5552CODE
LOWplotly/graph_objs/_figurewidget.py5883CODE
LOWplotly/graph_objs/_figurewidget.py6417CODE
LOWplotly/graph_objs/_figurewidget.py6933CODE
LOWplotly/graph_objs/_figurewidget.py7446CODE
LOWplotly/graph_objs/_figurewidget.py7974CODE
LOWplotly/graph_objs/_figurewidget.py8332CODE
LOWplotly/graph_objs/_figurewidget.py8640CODE
LOWplotly/graph_objs/_figurewidget.py8820CODE
LOWplotly/graph_objs/_figurewidget.py9244CODE
LOWplotly/graph_objs/_figurewidget.py9733CODE
LOWplotly/graph_objs/_figurewidget.py10093CODE
LOWplotly/graph_objs/_figurewidget.py10311CODE
LOWplotly/graph_objs/_figurewidget.py10500CODE
LOWplotly/graph_objs/_figurewidget.py10874CODE
LOWplotly/graph_objs/_figurewidget.py11257CODE
LOWplotly/graph_objs/_figurewidget.py11470CODE
LOWplotly/graph_objs/_figurewidget.py12053CODE
LOWplotly/graph_objs/_figurewidget.py12449CODE
LOWplotly/graph_objs/_figurewidget.py12826CODE
LOWplotly/graph_objs/_figurewidget.py13197CODE
LOWplotly/graph_objs/_figurewidget.py13674CODE
LOWplotly/graph_objs/_figurewidget.py14021CODE
LOWplotly/graph_objs/_figurewidget.py14408CODE
LOWplotly/graph_objs/_figurewidget.py14790CODE
LOWplotly/graph_objs/_figurewidget.py15154CODE
LOWplotly/graph_objs/_figurewidget.py15534CODE
LOWplotly/graph_objs/_figurewidget.py15856CODE
LOWplotly/graph_objs/_figurewidget.py16287CODE
LOWplotly/graph_objs/_figurewidget.py16648CODE
LOWplotly/graph_objs/_figurewidget.py17071CODE
LOWplotly/graph_objs/_figurewidget.py17247CODE
LOWplotly/graph_objs/_figurewidget.py17601CODE
LOWplotly/graph_objs/_figurewidget.py18079CODE
LOWplotly/graph_objs/_figurewidget.py18516CODE
LOWplotly/graph_objs/_figurewidget.py20376CODE
LOWplotly/graph_objs/_figurewidget.py20954CODE
579 more matches not shown…
Decorative Section Separators274 hits · 592 pts
SeverityFileLineSnippetContext
MEDIUM…st_plotly_utils/validators/test_colorlist_validator.py33# ----------COMMENT
MEDIUMtests/test_io/test_to_from_json.py221# ----------COMMENT
MEDIUMtests/test_io/test_renderers.py89# ---------------COMMENT
MEDIUMtests/test_io/test_renderers.py265# ----------COMMENT
MEDIUMtests/test_core/test_figure_messages/test_on_change.py22 # --------------------COMMENT
MEDIUMtests/test_core/test_figure_messages/test_on_change.py45 # ------------------------COMMENT
MEDIUMtests/test_core/test_graph_objs/test_template.py132 # ------------------------COMMENT
MEDIUMtests/test_core/test_graph_objs/test_template.py26 # -------------------------COMMENT
MEDIUM…ts/test_core/test_update_objects/test_update_traces.py108 # --------------------------------COMMENT
MEDIUM…ts/test_core/test_update_objects/test_update_traces.py282 # ------------------COMMENT
MEDIUMplotly/_subplots.py347 # -----------------------------COMMENT
MEDIUMplotly/_subplots.py360 # ----------------------COMMENT
MEDIUMplotly/_subplots.py633 # -----------COMMENT
MEDIUMplotly/_subplots.py637 # --------------------COMMENT
MEDIUMplotly/_subplots.py767 # ---------------------COMMENT
MEDIUMplotly/serializers.py29 # -----------------------COMMENT
MEDIUMplotly/serializers.py34 # -----------------------------COMMENT
MEDIUMplotly/serializers.py39 # ------------------COMMENT
MEDIUMplotly/serializers.py57 # ----------------COMMENT
MEDIUMplotly/serializers.py62 # -------------------COMMENT
MEDIUMplotly/serializers.py84 # -----------COMMENT
MEDIUMplotly/serializers.py89 # -----------------COMMENT
MEDIUMplotly/serializers.py94 # ----------------COMMENT
MEDIUMplotly/serializers.py99 # -------------------COMMENT
MEDIUMplotly/basedatatypes.py483 # ------------------------------COMMENT
MEDIUMplotly/basedatatypes.py488 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py498 # ------------------------------------------------------COMMENT
MEDIUMplotly/basedatatypes.py681 # --------------COMMENT
MEDIUMplotly/basedatatypes.py687 # -----------------COMMENT
MEDIUMplotly/basedatatypes.py692 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py1681 # -----------------------COMMENT
MEDIUMplotly/basedatatypes.py1685 # ---------------------COMMENT
MEDIUMplotly/basedatatypes.py1694 # ------------------------------COMMENT
MEDIUMplotly/basedatatypes.py1800 # -------------------COMMENT
MEDIUMplotly/basedatatypes.py1804 # -----------------COMMENT
MEDIUMplotly/basedatatypes.py1813 # -------------COMMENT
MEDIUMplotly/basedatatypes.py1893 # ---------------COMMENT
MEDIUMplotly/basedatatypes.py1897 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py1903 # ---------------------COMMENT
MEDIUMplotly/basedatatypes.py1909 # -----------------------------------------------------COMMENT
MEDIUMplotly/basedatatypes.py1925 # --------------------------------------------COMMENT
MEDIUMplotly/basedatatypes.py1933 # --------------COMMENT
MEDIUMplotly/basedatatypes.py4256 # ---------------COMMENT
MEDIUMplotly/basedatatypes.py4260 # ------------COMMENT
MEDIUMplotly/basedatatypes.py4264 # ---------------------COMMENT
MEDIUMplotly/basedatatypes.py4490 # -----------------------COMMENT
MEDIUMplotly/basedatatypes.py4494 # -------------------------COMMENT
MEDIUMplotly/basedatatypes.py4500 # ---------------------------------------------COMMENT
MEDIUMplotly/basedatatypes.py4670 # --------------COMMENT
MEDIUMplotly/basedatatypes.py4676 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py4682 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py4803 # --------------COMMENT
MEDIUMplotly/basedatatypes.py4809 # -----------------COMMENT
MEDIUMplotly/basedatatypes.py4814 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py4819 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py5189 # -----------COMMENT
MEDIUMplotly/basedatatypes.py5201 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py5237 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py5243 # ------------COMMENT
MEDIUMplotly/basedatatypes.py5248 # ------------------------------------------COMMENT
214 more matches not shown…
Cross-Language Confusion27 hits · 124 pts
SeverityFileLineSnippetContext
HIGHtests/test_optional/test_utils/test_utils.py228 '"y": [1, 2, 3, null, null, "2014-01-05T00:00:00"], 'CODE
HIGHtests/test_optional/test_utils/test_utils.py276 assert j1 == '[1, 2, 3, "2014-01-05T00:00:00", null, null, null]'CODE
HIGHtests/test_optional/test_utils/test_utils.py291 assert j3 == "[null]"CODE
HIGHtests/test_optional/test_utils/test_utils.py392 assert j1 == "[1, 2, null]"CODE
HIGHtests/test_optional/test_utils/test_utils.py453 expected_result = '[1, null, null, null, "platypus"]'CODE
HIGHtests/test_optional/test_px/test_px_input.py276 assert df_out.equals(df)CODE
HIGHtests/test_optional/test_px/test_px_input.py286 assert df_out.equals(df)CODE
HIGHtests/test_optional/test_px/test_px_input.py490 assert petal_length.equals(petal_length)CODE
HIGHtests/test_core/test_graph_objs/test_update.py71 If the original list is undefined, the updated list should beSTRING
HIGHtests/test_core/test_utils/test_utils.py11 expected_result = '[1, null, null, null, "platypus"]'CODE
HIGHplotly/graph_objs/_figurewidget.py17858 undefined, `scalegroup` will default to the trace'sSTRING
HIGHplotly/graph_objs/_violin.py729 a violin's `width` is undefined, `scalegroup` will default toSTRING
HIGHplotly/graph_objs/_violin.py1428 undefined, `scalegroup` will default to the trace'sCODE
HIGHplotly/graph_objs/_violin.py1825 undefined, `scalegroup` will default to the trace'sCODE
HIGHplotly/graph_objs/_figure.py17856 undefined, `scalegroup` will default to the trace'sSTRING
HIGHplotly/graph_objs/layout/_xaxis.py1414 Sets the spike color. If undefined, will use the series colorSTRING
HIGHplotly/graph_objs/layout/_xaxis.py2573 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/graph_objs/layout/_xaxis.py3205 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/graph_objs/layout/_yaxis.py1422 Sets the spike color. If undefined, will use the series colorSTRING
HIGHplotly/graph_objs/layout/_yaxis.py2591 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/graph_objs/layout/_yaxis.py3233 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/io/_base_renderers.py228if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: "STIX-WebCODE
HIGHplotly/io/_base_renderers.py308 if (!display || display === 'none') {{CODE
HIGHplotly/io/_html.py31if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: "STIX-WebCODE
HIGHplotly/matplotlylib/mplexporter/tools.py18 if (window['d3'] === undefined) {{CODE
HIGHplotly/matplotlylib/mplexporter/tools.py25 if (window['topojson'] === undefined) {{CODE
HIGH…ly/matplotlylib/mplexporter/renderers/fake_renderer.py64 When the following are left undefined, they will be implemented viaSTRING
Deep Nesting102 hits · 80 pts
SeverityFileLineSnippetContext
LOWcommands.py504CODE
LOWtests/utils.py15CODE
LOWtests/test_optional/optional_utils.py64CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py1125CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py1139CODE
LOWtests/test_optional/test_px/test_px.py450CODE
LOWtests/test_io/test_renderers.py444CODE
LOW…est_core/test_graph_objs/test_instantiate_hierarchy.py16CODE
LOWplotly/_subplots.py42CODE
LOWplotly/_subplots.py896CODE
LOWplotly/_subplots.py1085CODE
LOWplotly/_subplots.py1168CODE
LOWplotly/_subplots.py1264CODE
LOWplotly/_subplots.py1514CODE
LOWplotly/tools.py487CODE
LOWplotly/serializers.py7CODE
LOWplotly/basedatatypes.py159CODE
LOWplotly/basedatatypes.py297CODE
LOWplotly/basedatatypes.py679CODE
LOWplotly/basedatatypes.py741CODE
LOWplotly/basedatatypes.py862CODE
LOWplotly/basedatatypes.py1115CODE
LOWplotly/basedatatypes.py1418CODE
LOWplotly/basedatatypes.py1468CODE
LOWplotly/basedatatypes.py1710CODE
LOWplotly/basedatatypes.py1870CODE
LOWplotly/basedatatypes.py2530CODE
LOWplotly/basedatatypes.py2821CODE
LOWplotly/basedatatypes.py3817CODE
LOWplotly/basedatatypes.py4348CODE
LOWplotly/basedatatypes.py4414CODE
LOWplotly/basedatatypes.py4642CODE
LOWplotly/basedatatypes.py4780CODE
LOWplotly/utils.py186CODE
LOWplotly/utils.py74CODE
LOWplotly/validator_cache.py17CODE
LOWplotly/basewidget.py635CODE
LOWplotly/basewidget.py806CODE
LOWplotly/basewidget.py884CODE
LOWplotly/express/_core.py156CODE
LOWplotly/express/_core.py200CODE
LOWplotly/express/_core.py288CODE
LOWplotly/express/_core.py877CODE
LOWplotly/express/_core.py1028CODE
LOWplotly/express/_core.py1134CODE
LOWplotly/express/_core.py1234CODE
LOWplotly/express/_core.py1501CODE
LOWplotly/express/_core.py1952CODE
LOWplotly/express/_core.py2230CODE
LOWplotly/express/_core.py2525CODE
LOWplotly/express/_imshow.py20CODE
LOWplotly/express/_imshow.py39CODE
LOWplotly/express/_imshow.py56CODE
LOWplotly/io/_json.py476CODE
LOWplotly/io/_renderers.py36CODE
LOWplotly/io/_renderers.py273CODE
LOWplotly/io/_renderers.py319CODE
LOWplotly/io/_base_renderers.py604CODE
LOWplotly/io/_html.py35CODE
LOWplotly/io/_templates.py275CODE
42 more matches not shown…
Redundant / Tautological Comments37 hits · 56 pts
SeverityFileLineSnippetContext
LOWcommands.py407 # Check if the header already exists, so that we don't add a double headerCOMMENT
LOWplotly/_subplots.py1118 # Check if it's a named subplot typeCOMMENT
LOWplotly/basedatatypes.py482 # Assign layout_plotly to layoutCOMMENT
LOWplotly/basedatatypes.py1924 # Assign value to final parent dict or listCOMMENT
LOWplotly/basedatatypes.py5191 # Check if we should send null updateCOMMENT
LOWplotly/utils.py88 # Set threshold to self.max_list_elementsCOMMENT
LOWplotly/io/_json.py278 # Open fileCOMMENT
LOWplotly/io/_json.py462 # Read file contents into JSON stringCOMMENT
LOWplotly/io/_renderers.py492 # Check if we're running in a Colab web notebookCOMMENT
LOWplotly/io/_renderers.py496 # Check if we're running in a Kaggle notebookCOMMENT
LOWplotly/io/_renderers.py500 # Check if we're running in an Azure NotebookCOMMENT
LOWplotly/io/_renderers.py504 # Check if we're running in VSCodeCOMMENT
LOWplotly/io/_renderers.py508 # Check if we're running in nteractCOMMENT
LOWplotly/io/_renderers.py512 # Check if we're running in CoCalcCOMMENT
LOWplotly/io/_renderers.py519 # Check if we're running in ipython terminalCOMMENT
LOWplotly/io/_renderers.py525 # Check if we're running in a Jupyter notebook or JupyterLabCOMMENT
LOWplotly/io/_renderers.py106 # Check if we need to remove it as the defaultCOMMENT
LOWplotly/io/_kaleido.py150 # Check if trying to export to EPS format, which is not supported in Kaleido v1STRING
LOWplotly/io/_kaleido.py280 # Open fileSTRING
LOWplotly/io/_html.py482 # Check if file is a stringCOMMENT
LOWplotly/io/_html.py501 # Check if we should copy plotly.min.js to output directoryCOMMENT
LOWplotly/io/_templates.py100 # Check if we need to remove it as the defaultCOMMENT
LOWplotly/io/_templates.py305 # Check if we can remove prop itselfSTRING
LOWplotly/io/_templates.py488 # Check if we can remove the data altogether keySTRING
LOWplotly/figure_factory/utils.py127 # Check if endpts is a list or tupleCOMMENT
LOWplotly/figure_factory/utils.py134 # Check if endpts contains only numbersCOMMENT
LOWplotly/figure_factory/utils.py143 # Check if numbers in endpts are increasingCOMMENT
LOWplotly/figure_factory/_trisurf.py140 # Check if facecolors are already strings and can be skippedCOMMENT
LOWplotly/figure_factory/_quiver.py230 # Set angles to create arrowCOMMENT
LOWplotly/figure_factory/_quiver.py254 # Set coordinates to create arrowCOMMENT
LOWcodegen/compatibility.py170 # Write fileSTRING
LOWcodegen/validators.py80 # Write fileCOMMENT
LOWcodegen/datatypes.py577 # Write fileCOMMENT
LOWcodegen/utils.py43 # Write fileSTRING
LOWcodegen/utils.py123 # Write fileSTRING
LOW_plotly_utils/basevalidators.py2723 # Check if v is a template identifierCOMMENT
LOWtemplategen/utils/__init__.py113 # Set automargin to true in case we need to adjust margins forCOMMENT
Excessive Try-Catch Wrapping33 hits · 38 pts
SeverityFileLineSnippetContext
LOWcommands.py64 except Exception:CODE
LOWtests/test_optional/__init__.py6except Exception:CODE
LOWtests/test_optional/test_utils/test_utils.py39 except Exception:CODE
MEDIUMtests/test_optional/test_utils/test_utils.py36def test_masked_constants_example():CODE
LOW…est_core/test_graph_objs/test_instantiate_hierarchy.py25 except Exception:CODE
LOW…e/test_figure_widget_backend/test_missing_anywidget.py13except Exception:CODE
LOWplotly/basedatatypes.py5056 except Exception:CODE
LOWplotly/graph_objs/__init__.py270 except Exception:CODE
LOWplotly/graph_objs/__init__.py288 except Exception:CODE
MEDIUMplotly/express/_core.py128def get_label(args, column):CODE
LOWplotly/express/_core.py131 except Exception:CODE
LOWplotly/express/_core.py143 except Exception:CODE
LOWplotly/express/_core.py1045 except Exception:CODE
LOWplotly/express/_core.py1606 except Exception:CODE
LOWplotly/express/_core.py1975 except Exception: # pandas, Polars and pyarrow exception types are differentCODE
LOWplotly/express/_core.py2184 except Exception as exc:CODE
LOWplotly/io/_renderers.py42 except Exception:CODE
LOWplotly/io/_renderers.py546 except Exception:CODE
LOWplotly/io/_base_renderers.py563 except Exception:STRING
LOWplotly/io/_base_renderers.py824 except Exception: # python 2CODE
MEDIUMplotly/io/_base_renderers.py32def __repr__(self):CODE
LOWplotly/graph_objects/__init__.py271 except Exception:CODE
LOWplotly/graph_objects/__init__.py289 except Exception:CODE
LOWplotly/matplotlylib/mpltools.py540 except Exception:CODE
LOWplotly/matplotlylib/mpltools.py549 except Exception:CODE
LOWplotly/data/__init__.py428 except Exception as e:CODE
LOWcodegen/__init__.py264 except Exception:CODE
LOWcodegen/__init__.py279 except Exception:CODE
LOW_plotly_utils/files.py14 except Exception:CODE
LOW_plotly_utils/files.py22 except Exception:CODE
LOW_plotly_utils/files.py25 except Exception: # Do not trap KeyboardInterrupt.CODE
MEDIUM_plotly_utils/files.py9def _permissions():CODE
LOW_plotly_utils/optional_imports.py31 except Exception:CODE
Hallucination Indicators2 hits · 25 pts
SeverityFileLineSnippetContext
CRITICALtests/test_optional/test_px/test_px.py88 assert fig.layout.legend.title.text.startswith("SEX")CODE
CRITICALtests/test_core/test_figure_messages/test_on_change.py96 self.figure.layout.xaxis.title.font.on_change(fn_title_font, "family")CODE
Over-Commented Block30 hits · 24 pts
SeverityFileLineSnippetContext
LOWjs/src/widget.ts181 // Messages are implemented using trait properties. This is done soCOMMENT
LOW…test_optional/test_autoshapes/test_annotated_shapes.py1# Test annotations added by calling hline, vline, hrect, vrect with the annotation* keywordsCOMMENT
LOWtests/test_core/test_graph_objs/test_scatter.py21COMMENT
LOW…test_update_objects/test_row_col_subplot_addressing.py41COMMENT
LOWplotly/_subplots.py1# ConstantsCOMMENT
LOWplotly/basedatatypes.py481COMMENT
LOWplotly/basedatatypes.py521 # Handle data (traces)COMMENT
LOWplotly/basedatatypes.py541 # explicitly set by the user for each trace.COMMENT
LOWplotly/basedatatypes.py601 # FramesCOMMENT
LOWplotly/basedatatypes.py621 # ---------------COMMENT
LOWplotly/basedatatypes.py1681 # -----------------------COMMENT
LOWplotly/basedatatypes.py2901 """COMMENT
LOWplotly/basedatatypes.py4261 self._plotly_name = plotly_nameCOMMENT
LOWplotly/basedatatypes.py4281 # The parent of the object. May be another BasePlotlyType or it mayCOMMENT
LOWplotly/basedatatypes.py5661 # ### Inform parent of relayout operation ###COMMENT
LOWplotly/basewidget.py21 # These properties store the current state of the traces andCOMMENT
LOWplotly/basewidget.py61 # responsible for setting the message property to None after retreivingCOMMENT
LOWplotly/basewidget.py121 # completed yet.COMMENT
LOWplotly/express/_core.py2001 discrete_aggs = []COMMENT
LOWplotly/express/_core.py2021 #COMMENT
LOW_plotly_utils/png.py1#!/usr/bin/env pythonCOMMENT
LOW_plotly_utils/png.py21#COMMENT
LOW_plotly_utils/basevalidators.py461 # coerce_number is rarely used and not implementedCOMMENT
LOW_plotly_utils/basevalidators.py501 #COMMENT
LOW_plotly_utils/basevalidators.py2001 def description(self):COMMENT
LOWdoc/python/line-and-scatter.md361 // point_size) < 1)):COMMENT
LOWdoc/python/text-and-annotations.md801 # putting the note in the HTML to use the browser's automated word wrap,COMMENT
LOWdoc/apidoc/conf.py1# Configuration file for the Sphinx documentation builder.COMMENT
LOWdoc/apidoc/conf.py101# relative to this directory. They are copied after the builtin static files,COMMENT
LOWdoc/apidoc/conf.py121COMMENT
Self-Referential Comments11 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMcommands.py155# This file is generated by the updatebundle commands.py commandSTRING
MEDIUM…test_core/test_figure_messages/test_plotly_relayout.py62 # Initialize template objectCOMMENT
MEDIUMplotly/basedatatypes.py2582 # Initialize template objectSTRING
MEDIUMplotly/express/_core.py2598 # Create the traceCOMMENT
MEDIUMplotly/io/_sg_scraper.py1# This module defines an image scraper for sphinx-galleryCOMMENT
MEDIUMplotly/figure_factory/_trisurf.py329 >>> # Create a figureSTRING
MEDIUMplotly/figure_factory/_trisurf.py357 >>> # Create a figureSTRING
MEDIUMplotly/figure_factory/_trisurf.py386 >>> # Create a figureSTRING
MEDIUMplotly/figure_factory/_trisurf.py418 >>> # Create a figureSTRING
MEDIUMplotly/offline/_plotlyjs_version.py2# This file is generated by the updatebundle commands.py commandCOMMENT
MEDIUM_plotly_utils/png.py2140 # Create a fresh target row, then copy L channelCOMMENT
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdoc/python/tile-map-layers.md85- A custom style URL. For example: https://tiles.stadiamaps.com/styles/stamen_watercolor.json?api_key=YOUR-API-KEYCODE
HIGHdoc/python/tile-map-layers.md211fig.update_layout(map_style="https://tiles.stadiamaps.com/styles/stamen_watercolor.json?api_key=YOUR-API-KEY", map_centeCODE
HIGHdoc/unconverted/python/tesla-supercharging-stations.md55my_google_maps_api_key = 'YOUR_API_KEY'CODE
Fake / Example Data10 hits · 15 pts
SeverityFileLineSnippetContext
LOWdoc/python/table.md115 ["Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterCODE
LOWdoc/python/table.md115 ["Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterCODE
LOWdoc/python/table.md116 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md116 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md117 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md117 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md118 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md118 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md119 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
LOWdoc/python/table.md119 "Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeternCODE
Modern Structural Boilerplate13 hits · 12 pts
SeverityFileLineSnippetContext
LOWplotly/express/__init__.py77__all__ = [CODE
LOWplotly/express/trendline_functions/__init__.py11__all__ = ["ols", "lowess", "rolling", "ewm", "expanding"]CODE
LOWplotly/express/colors/__init__.py19__all__ = [CODE
LOWplotly/express/data/__init__.py6__all__ = [CODE
LOWplotly/io/_kaleido.py604__all__ = ["to_image", "write_image", "full_figure_for_development"]STRING
LOWplotly/colors/__init__.py19__all__ = [CODE
LOWplotly/figure_factory/__init__.py36__all__ = [CODE
LOW_plotly_utils/png.py193__all__ = ["Image", "Reader", "Writer", "write_chunks", "from_array"]CODE
LOW_plotly_utils/optional_imports.py10logger = logging.getLogger(__name__)CODE
LOW_plotly_utils/colors/cyclical.py154__all__ = [CODE
LOW_plotly_utils/colors/diverging.py75__all__ = ["swatches"]CODE
LOW_plotly_utils/colors/sequential.py257__all__ = ["swatches"]CODE
LOW_plotly_utils/colors/qualitative.py184__all__ = ["swatches"]CODE
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…test_optional/test_autoshapes/test_annotated_shapes.py227# Test that you can add an annotation using annotation=go.layout.Annotation(...)COMMENT
MEDIUM…test_optional/test_autoshapes/test_annotated_shapes.py256# Test that you can add an annotation using annotation=dict(...)COMMENT
AI Slop Vocabulary3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/test_core/test_graph_objs/test_graph_objs.py50 # compat, so we basically just create a checkpoint with this test.COMMENT
MEDIUMplotly/express/imshow_utils.py1"""Vendored code from scikit-image in order to limit the number of dependenciesSTRING
MEDIUMplotly/io/_base_renderers.py823 filename = stack[3].filename # let's hope this is robust...CODE
Structural Annotation Overuse2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdoc/unconverted/python/html-reports.md62### Step 1: Generate 2 graphs and 2 tablesCOMMENT
LOWdoc/unconverted/python/html-reports.md243### Step 2: Generate HTML report<br>as a string and write to fileSTRING