Repository Analysis

plotly/plotly.py

The interactive graphing library for Python :sparkles:

99.6 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,677 GitHub stars. SynthScan v2.0 examined 630,433 lines of code across 2054 source files, recording 15948 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 99.6 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).

99.6
Adjusted Score
99.6
Raw Score
100%
Time Factor
2026-07-09
Last Push
18.7K
Stars
Python
Language
630.4K
Lines of Code
2.1K
Files
15.9K
Pattern Hits
2026-07-14
Scan Date
5.68
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 11666MEDIUM 324LOW 3956

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 15948 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 Repetition11637 hits · 58185 pts
SeverityFileLineSnippetContext
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/_choroplethmapbox.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/_densitymapbox.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/_choroplethmapbox.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/_densitymapbox.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/scattermapbox/_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
HIGHplotly/graph_objs/barpolar/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatter/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatter/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatter3d/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatter3d/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatter3d/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatterpolar/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scatterpolar/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scattergeo/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/scattergeo/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/icicle/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/bar/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/bar/marker/_line.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
HIGHplotly/graph_objs/sunburst/_marker.py0sets a reference to a shared color axis. references to these shared color axes are "coloraxis", "coloraxis2", "coloraxisSTRING
11577 more matches not shown…
Unused Imports2472 hits · 2251 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/__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
LOWplotly/graph_objs/__init__.py43CODE
LOWplotly/graph_objs/__init__.py44CODE
LOWplotly/graph_objs/__init__.py45CODE
2412 more matches not shown…
Hyper-Verbose Identifiers613 hits · 637 pts
SeverityFileLineSnippetContext
LOWcommands.py147def overwrite_plotlyjs_version_file(plotlyjs_version):CODE
LOWcommands.py231def update_schema_bundle_from_master(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_tools/test_figure_factory.py607 def test_datetime_candlestick(self):CODE
LOWtests/test_optional/test_tools/test_figure_factory.py784 def test_simple_annotated_heatmap(self):CODE
LOWtests/test_optional/test_tools/test_figure_factory.py882 def test_annotated_heatmap_kwargs(self):CODE
LOWtests/test_optional/test_tools/test_figure_factory.py977 def test_annotated_heatmap_reversescale(self):CODE
LOWtests/test_optional/test_tools/test_figure_factory.py1620 def test_gantt_validate_colors(self):CODE
LOWtests/test_optional/test_tools/test_figure_factory.py1731 def test_gannt_groups_and_descriptions(self):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.py59def test_kaleido_engine_to_image_returns_bytes():CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py70def test_kaleido_engine_to_image():CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py78def test_kaleido_engine_write_image(tmp_path):CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py87def test_kaleido_engine_to_image_kwargs():CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py100def test_kaleido_engine_write_image_kwargs(tmp_path):CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py122def test_kaleido_engine_write_images(tmp_path):CODE
LOWtests/test_optional/test_kaleido/test_kaleido.py340def test_width_height_priority():CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py37 def test_wrong_histdata_format(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py45 def test_unequal_data_label_length(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py52 def test_simple_distplot_prob_density(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py105 def test_simple_distplot_prob(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py156 def test_distplot_more_args_prob_dens(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py279 def test_distplot_more_args_prob(self):CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py402 def test_distplot_binsize_array_prob(self):CODE
553 more matches not shown…
Decorative Section Separators298 hits · 627 pts
SeverityFileLineSnippetContext
MEDIUM…st_plotly_utils/validators/test_colorlist_validator.py33# ----------COMMENT
MEDIUMtests/test_io/test_to_from_json.py216# ----------COMMENT
MEDIUMtests/test_io/test_renderers.py89# ---------------COMMENT
MEDIUMtests/test_io/test_renderers.py129# ------------COMMENT
MEDIUMtests/test_io/test_renderers.py274# ----------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.py348 # -----------------------------COMMENT
MEDIUMplotly/_subplots.py361 # ----------------------COMMENT
MEDIUMplotly/_subplots.py634 # -----------COMMENT
MEDIUMplotly/_subplots.py638 # --------------------COMMENT
MEDIUMplotly/_subplots.py768 # ---------------------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.py4346 # ---------------COMMENT
MEDIUMplotly/basedatatypes.py4350 # ------------COMMENT
MEDIUMplotly/basedatatypes.py4354 # ---------------------COMMENT
MEDIUMplotly/basedatatypes.py4580 # -----------------------COMMENT
MEDIUMplotly/basedatatypes.py4584 # -------------------------COMMENT
MEDIUMplotly/basedatatypes.py4590 # ---------------------------------------------COMMENT
MEDIUMplotly/basedatatypes.py4760 # --------------COMMENT
MEDIUMplotly/basedatatypes.py4766 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py4772 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py4893 # --------------COMMENT
MEDIUMplotly/basedatatypes.py4899 # -----------------COMMENT
MEDIUMplotly/basedatatypes.py4904 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py4909 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py5279 # -----------COMMENT
MEDIUMplotly/basedatatypes.py5291 # ------------------COMMENT
MEDIUMplotly/basedatatypes.py5327 # ----------------COMMENT
MEDIUMplotly/basedatatypes.py5333 # ------------COMMENT
238 more matches not shown…
AI Structural Patterns615 hits · 606 pts
SeverityFileLineSnippetContext
LOW…test_core/test_subplots/test_find_nonempty_subplots.py41CODE
LOWplotly/subplots.py6CODE
LOWplotly/_subplots.py42CODE
LOWplotly/graph_objs/_heatmap.py2039CODE
LOWplotly/graph_objs/_histogram2dcontour.py1945CODE
LOWplotly/graph_objs/_indicator.py639CODE
LOWplotly/graph_objs/_sankey.py735CODE
LOWplotly/graph_objs/_histogram2d.py1903CODE
LOWplotly/graph_objs/_histogram.py1948CODE
LOWplotly/graph_objs/_funnel.py1927CODE
LOWplotly/graph_objs/_ohlc.py1435CODE
LOWplotly/graph_objs/_scattercarpet.py1486CODE
LOWplotly/graph_objs/_scattersmith.py1441CODE
LOWplotly/graph_objs/_choroplethmap.py1392CODE
LOWplotly/graph_objs/_choroplethmapbox.py1402CODE
LOWplotly/graph_objs/_violin.py1786CODE
LOWplotly/graph_objs/_scatter3d.py1621CODE
LOWplotly/graph_objs/_parcats.py729CODE
LOWplotly/graph_objs/_cone.py1790CODE
LOWplotly/graph_objs/_treemap.py1413CODE
LOWplotly/graph_objs/_parcoords.py701CODE
LOWplotly/graph_objs/_funnelarea.py1338CODE
LOWplotly/graph_objs/_scatterternary.py1528CODE
LOWplotly/graph_objs/_scattermap.py1392CODE
LOWplotly/graph_objs/_bar.py2099CODE
LOWplotly/graph_objs/_contourcarpet.py1442CODE
LOWplotly/graph_objs/_volume.py1754CODE
LOWplotly/graph_objs/_image.py1152CODE
LOWplotly/graph_objs/_scattermapbox.py1403CODE
LOWplotly/graph_objs/_isosurface.py1717CODE
LOWplotly/graph_objs/_candlestick.py1436CODE
LOWplotly/graph_objs/_densitymap.py1370CODE
LOWplotly/graph_objs/_icicle.py1436CODE
LOWplotly/graph_objs/_table.py688CODE
LOWplotly/graph_objs/_scatter.py2205CODE
LOWplotly/graph_objs/_layout.py2781CODE
LOWplotly/graph_objs/_scattergl.py1848CODE
LOWplotly/graph_objs/_pie.py1606CODE
LOWplotly/graph_objs/_choropleth.py1408CODE
LOWplotly/graph_objs/_densitymapbox.py1380CODE
LOWplotly/graph_objs/_barpolar.py1286CODE
LOWplotly/graph_objs/_box.py2402CODE
LOWplotly/graph_objs/_sunburst.py1428CODE
LOWplotly/graph_objs/_waterfall.py2081CODE
LOWplotly/graph_objs/_scatterpolar.py1552CODE
LOWplotly/graph_objs/_streamtube.py1714CODE
LOWplotly/graph_objs/_scatterpolargl.py1517CODE
LOWplotly/graph_objs/_carpet.py972CODE
LOWplotly/graph_objs/_splom.py1198CODE
LOWplotly/graph_objs/_mesh3d.py2043CODE
LOWplotly/graph_objs/_scattergeo.py1517CODE
LOWplotly/graph_objs/_contour.py2112CODE
LOWplotly/graph_objs/_surface.py1695CODE
LOWplotly/graph_objs/scatterternary/_hoverlabel.py271CODE
LOWplotly/graph_objs/scatterternary/_marker.py897CODE
LOWplotly/graph_objs/scatterternary/_line.py197CODE
LOWplotly/graph_objs/scatterternary/_textfont.py451CODE
LOW…ly/graph_objs/scatterternary/legendgrouptitle/_font.py243CODE
LOWplotly/graph_objs/scatterternary/hoverlabel/_font.py451CODE
LOWplotly/graph_objs/scatterternary/marker/_colorbar.py1357CODE
555 more matches not shown…
Cross-Language Confusion26 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/_violin.py845 a violin's `width` is undefined, `scalegroup` will default toSTRING
HIGHplotly/graph_objs/_violin.py1635 undefined, `scalegroup` will default to the trace'sCODE
HIGHplotly/graph_objs/_violin.py2073 undefined, `scalegroup` will default to the trace'sCODE
HIGHplotly/graph_objs/layout/_xaxis.py1413 Sets the spike color. If undefined, will use the series colorSTRING
HIGHplotly/graph_objs/layout/_xaxis.py2610 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/graph_objs/layout/_xaxis.py3255 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/graph_objs/layout/_yaxis.py1421 Sets the spike color. If undefined, will use the series colorSTRING
HIGHplotly/graph_objs/layout/_yaxis.py2628 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/graph_objs/layout/_yaxis.py3283 Sets the spike color. If undefined, will use the seriesCODE
HIGHplotly/io/_base_renderers.py235if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: "STIX-WebCODE
HIGHplotly/io/_base_renderers.py315 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
HIGHplotly/offline/offline.py190if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: "STIX-WebCODE
Deep Nesting118 hits · 94 pts
SeverityFileLineSnippetContext
LOWcommands.py504CODE
LOWtests/utils.py15CODE
LOWtests/test_optional/optional_utils.py64CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py4199CODE
LOW…st_optional/test_figure_factory/test_figure_factory.py4213CODE
LOWtests/test_optional/test_px/test_px.py468CODE
LOWtests/test_io/test_renderers.py453CODE
LOW…est_core/test_graph_objs/test_instantiate_hierarchy.py16CODE
LOWplotly/_subplots.py42CODE
LOWplotly/_subplots.py897CODE
LOWplotly/_subplots.py1086CODE
LOWplotly/_subplots.py1169CODE
LOWplotly/_subplots.py1265CODE
LOWplotly/_subplots.py1515CODE
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.py3907CODE
LOWplotly/basedatatypes.py4438CODE
LOWplotly/basedatatypes.py4504CODE
LOWplotly/basedatatypes.py4732CODE
LOWplotly/basedatatypes.py4870CODE
LOWplotly/utils.py186CODE
LOWplotly/utils.py74CODE
LOWplotly/validator_cache.py17CODE
LOWplotly/basewidget.py635CODE
LOWplotly/basewidget.py806CODE
LOWplotly/basewidget.py884CODE
LOWplotly/express/_core.py170CODE
LOWplotly/express/_core.py214CODE
LOWplotly/express/_core.py302CODE
LOWplotly/express/_core.py910CODE
LOWplotly/express/_core.py1012CODE
LOWplotly/express/_core.py1118CODE
LOWplotly/express/_core.py1218CODE
LOWplotly/express/_core.py1485CODE
LOWplotly/express/_core.py1936CODE
LOWplotly/express/_core.py2214CODE
LOWplotly/express/_core.py2512CODE
LOWplotly/express/_imshow.py20CODE
LOWplotly/express/_imshow.py39CODE
LOWplotly/express/_imshow.py56CODE
LOWplotly/io/_json.py478CODE
LOWplotly/io/_renderers.py36CODE
LOWplotly/io/_renderers.py273CODE
LOWplotly/io/_renderers.py319CODE
LOWplotly/io/_base_renderers.py613CODE
LOWplotly/io/_html.py35CODE
LOWplotly/io/_orca.py1175CODE
58 more matches not shown…
Redundant / Tautological Comments48 hits · 72 pts
SeverityFileLineSnippetContext
LOWcommands.py407 # Check if the header already exists, so that we don't add a double headerCOMMENT
LOWplotly/_subplots.py1119 # 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.py5281 # Check if we should send null updateCOMMENT
LOWplotly/utils.py88 # Set threshold to self.max_list_elementsCOMMENT
LOWplotly/io/_json.py280 # Open fileCOMMENT
LOWplotly/io/_json.py464 # 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 spyder and orca is installedCOMMENT
LOWplotly/io/_renderers.py106 # Check if we need to remove it as the defaultCOMMENT
LOWplotly/io/_renderers.py530 # Check if we're running in ipython terminalCOMMENT
LOWplotly/io/_renderers.py536 # Check if we're running in a Jupyter notebook or JupyterLabCOMMENT
LOWplotly/io/_kaleido.py360 # Check if trying to export to EPS format, which is not supported in Kaleido v1STRING
LOWplotly/io/_kaleido.py540 # Open fileSTRING
LOWplotly/io/_html.py488 # Check if file is a stringCOMMENT
LOWplotly/io/_html.py507 # Check if we should copy plotly.min.js to output directoryCOMMENT
LOWplotly/io/_orca.py981 # Check if we should run with XvfbCOMMENT
LOWplotly/io/_orca.py1458 # Check if the orca server process existsSTRING
LOWplotly/io/_orca.py1652 # Open fileSTRING
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/_scatterplot.py27 # Check if endpts is a list or tupleCOMMENT
LOWplotly/figure_factory/_scatterplot.py34 # Check if endpts contains only numbersCOMMENT
LOWplotly/figure_factory/_scatterplot.py43 # Check if numbers in endpts are increasingCOMMENT
LOWplotly/figure_factory/_scatterplot.py98 # Check if pandas dataframeCOMMENT
LOWplotly/figure_factory/_scatterplot.py106 # Check if dataframe is 1 column or lessCOMMENT
LOWplotly/figure_factory/_scatterplot.py379 # Check if index is made of string valuesCOMMENT
LOWplotly/figure_factory/_scatterplot.py792 # Push the trace into listCOMMENT
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.py171 # Write fileSTRING
LOWcodegen/validators.py80 # Write fileCOMMENT
LOWcodegen/datatypes.py633 # Write fileCOMMENT
LOWcodegen/utils.py43 # Write fileSTRING
LOWcodegen/utils.py123 # Write fileSTRING
LOW_plotly_utils/basevalidators.py2730 # Check if v is a template identifierCOMMENT
LOWtemplategen/utils/__init__.py114 # Set automargin to true in case we need to adjust margins forCOMMENT
Excessive Try-Catch Wrapping39 hits · 42 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/tools.py698 except Exception:CODE
LOWplotly/basedatatypes.py5146 except Exception:CODE
LOWplotly/graph_objs/__init__.py280 except Exception:CODE
LOWplotly/graph_objs/__init__.py298 except Exception:CODE
MEDIUMplotly/express/_core.py142def get_label(args, column):CODE
LOWplotly/express/_core.py145 except Exception:CODE
LOWplotly/express/_core.py157 except Exception:CODE
LOWplotly/express/_core.py1029 except Exception:CODE
LOWplotly/express/_core.py1590 except Exception:CODE
LOWplotly/express/_core.py1959 except Exception: # pandas, Polars and pyarrow exception types are differentCODE
LOWplotly/express/_core.py2168 except Exception as exc:CODE
LOWplotly/io/_renderers.py42 except Exception:CODE
LOWplotly/io/_renderers.py557 except Exception:CODE
LOWplotly/io/_kaleido.py321 except Exception:STRING
LOWplotly/io/_base_renderers.py572 except Exception:STRING
LOWplotly/io/_base_renderers.py830 except Exception: # python 2CODE
MEDIUMplotly/io/_base_renderers.py32def __repr__(self):CODE
LOWplotly/io/_orca.py124 except Exception as e:CODE
LOWplotly/io/_orca.py253 except Exception:CODE
LOWplotly/io/_orca.py1197 except Exception:STRING
LOWplotly/io/_orca.py1207 except Exception:STRING
LOWplotly/graph_objects/__init__.py281 except Exception:CODE
LOWplotly/graph_objects/__init__.py299 except Exception:CODE
LOWplotly/matplotlylib/mpltools.py555 except Exception:CODE
LOWplotly/matplotlylib/mpltools.py564 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
Self-Referential Comments18 hits · 28 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.py2585 # Create the traceCOMMENT
MEDIUMplotly/io/_sg_scraper.py1# This module defines an image scraper for sphinx-galleryCOMMENT
MEDIUMplotly/figure_factory/_2d_density.py66 >>> # Create a figureSTRING
MEDIUMplotly/figure_factory/_2d_density.py87 >>> # Create a figureSTRING
MEDIUMplotly/figure_factory/_gantt.py864 >>> # Create a figureSTRING
MEDIUMplotly/figure_factory/_gantt.py881 >>> # Create a figure with Plotly colorscaleSTRING
MEDIUMplotly/figure_factory/_gantt.py900 >>> # Create a figure with Plotly colorscaleSTRING
MEDIUMplotly/figure_factory/_gantt.py923 >>> # Create a figure with Plotly colorscaleSTRING
MEDIUMplotly/figure_factory/_gantt.py940 >>> # Create a figure with Plotly colorscaleSTRING
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
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 Block29 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.py4361 # objectsCOMMENT
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.py1981 # Since count_colname is always in agg_f, it can be used later to normalize colorCOMMENT
LOWplotly/express/_core.py2001 # ```COMMENT
LOWplotly/figure_factory/_gantt.py541 scatter_data_dict[k]["showlegend"] = showlegendCOMMENT
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 for i, item in enumerate(info_array_items):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
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdoc/python/tile-map-layers.md92- A custom style URL. For example: https://tiles.stadiamaps.com/styles/stamen_watercolor.json?api_key=YOUR-API-KEYCODE
HIGHdoc/python/tile-map-layers.md216fig.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.md59my_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__.py82__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.py922__all__ = ["to_image", "write_image", "scope", "full_figure_for_development"]STRING
LOWplotly/colors/__init__.py19__all__ = [CODE
LOWplotly/figure_factory/__init__.py56__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.py52 # 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.py829 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