matplotlib: plotting with Python
This report summarizes scanner evidence for matplotlib/matplotlib, a Python project with 23,350 GitHub stars. SynthScan examined 385,956 lines of code across 1243 source files, recording 3815 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 13.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2936 finding(s).
Are imports declared and package/API names verified? 296 finding(s).
Are wrappers, guards, and repeated structures necessary? 2084 finding(s).
Which changes need focused human review? 3815 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3815 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/github_stats.py | 9 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/github_stats.py | 11 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/github_stats.py | 23 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/github_stats.py | 25 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/github_stats.py | 73 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/github_stats.py | 75 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/github_stats.py | 162 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/github_stats.py | 164 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/make_icons.py | 6 | # ------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tools/make_icons.py | 29 | # ------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tools/make_icons.py | 46 | # ------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tools/make_icons.py | 60 | # ------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | lib/mpl_toolkits/mplot3d/axis3d.py | 548 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/mpl_toolkits/mplot3d/axis3d.py | 562 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2962 | # ============================================================================= | COMMENT |
| MEDIUM | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2964 | # ============================================================================= | COMMENT |
| MEDIUM | lib/matplotlib/streamplot.py | 304 | # ======================== | COMMENT |
| MEDIUM | lib/matplotlib/streamplot.py | 490 | # ======================= | COMMENT |
| MEDIUM | lib/matplotlib/streamplot.py | 688 | # ======================== | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 220 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 222 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 346 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 348 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 370 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 372 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 409 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 411 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 32 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 41 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 67 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_backend_bases.py | 473 | # ---------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_backend_bases.py | 499 | # ---------------------------- | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 168 | # ------------------- | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 180 | # ------------------- | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 198 | # ------------------- | COMMENT |
| MEDIUM | lib/matplotlib/style/__init__.py | 240 | # ================== | COMMENT |
| MEDIUM | doc/conf.py | 98 | # --------------------- | COMMENT |
| MEDIUM | doc/conf.py | 435 | # ---------------------------- | COMMENT |
| MEDIUM | doc/conf.py | 455 | # ----------------------- | COMMENT |
| MEDIUM | doc/conf.py | 616 | # ------------------------ | COMMENT |
| MEDIUM | doc/conf.py | 775 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/conf.py | 777 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/conf.py | 846 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/conf.py | 848 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | galleries/users_explain/quick_start.py | 24 | # ================ | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 47 | # ================= | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 54 | # ---------------------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 78 | # ------------------------------ | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 95 | # ------------------------------ | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 105 | # ---------------------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 117 | # ===================================== | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 152 | # ============= | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 155 | # ---------------------------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 213 | # ------------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 243 | # =============== | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 272 | # --------------------------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 297 | # =============== | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 300 | # -------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 331 | # -------------------------------------- | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 348 | # ----------- | COMMENT |
| 349 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gh_api.py | 208 | def encode_multipart_formdata(fields, boundary=None): | CODE |
| LOW | tools/run_clang_tidy.py | 31 | def _filter_clang_tidy_output(text: str) -> str: | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/axes_divider.py | 602 | def make_axes_area_auto_adjustable( | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 65 | def test_twin_axes_empty_and_removed(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 92 | def test_twin_axes_both_with_units(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 102 | def test_axesgrid_colorbar_log_smoketest(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 117 | def test_inset_colorbar_tight_layout_smoketest(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 346 | def test_zooming_with_inverted_axes(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 362 | def test_anchored_direction_arrows(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 372 | def test_anchored_direction_arrows_many_args(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 384 | def test_axes_locatable_position(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 396 | def test_image_grid_each_left_label_mode_all(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 414 | def test_image_grid_single_bottom(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 428 | def test_image_grid_label_mode_invalid(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 464 | def test_gettightbbox_parasite(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 492 | def test_picking_callbacks_overlap(big_on_axes, small_on_axes, click_on): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 669 | def test_mark_inset_unstales_viewlim(fig_test, fig_ref): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 715 | def test_imagegrid_cbar_mode_edge(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 767 | def test_anchored_locator_base_call(): | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 784 | def test_grid_with_axes_class_not_overriding_axis(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/proj3d.py | 169 | def _scale_proj_transform_vectors(vecs, axes): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/proj3d.py | 244 | def _scale_proj_transform_clip(xs, ys, zs, axes): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 395 | def _equal_aspect_axis_indices(self, aspect): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 1422 | def _set_lims_from_transformed(self, xmin_t, xmax_t, ymin_t, ymax_t, | CODE |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 344 | def _get_axis_line_edge_points(self, minmax, maxmin, position=None): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 368 | def _get_all_axis_line_edge_points(self, minmax, maxmin, axis_position=None): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 884 | def _maybe_depth_shade_and_sort_colors(self, color_array): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 1143 | def _maybe_depth_shade_and_sort_colors(self, color_array): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_legend3d.py | 41 | def test_linecollection_scaled_dashes(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_legend3d.py | 70 | def test_contour_legend_elements(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_legend3d.py | 85 | def test_contourf_legend_elements(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 53 | def test_invisible_ticks_axis(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 77 | def test_axis_positions_inverted(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 100 | def test_set_aspect_datalim_restores_limits(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 125 | def test_set_aspect_datalim_restores_untouched_axes(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 612 | def test_marker_draw_order_data_reversed(fig_test, fig_ref, azim): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 632 | def test_marker_draw_order_view_rotated(fig_test, fig_ref): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 689 | def test_fill_between_polygon(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 1033 | def test_patch_collection_modification(fig_test, fig_ref): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 1322 | def test_proj_axes_cube_ortho(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2574 | def test_view_init_vertical_axis( | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2615 | def test_on_move_vertical_axis(vertical_axis: str) -> None: | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2646 | def test_set_box_aspect_vertical_axis(vertical_axis, aspect_expected): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2679 | def test_mutating_input_arrays_y_and_z(fig_test, fig_ref): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2704 | def test_scatter_masked_color(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2754 | def test_ndarray_color_kwargs_value_error(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2813 | def test_axis_get_tightbbox_includes_offset_text(): | CODE |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 3299 | def test_plot_surface_log_scale_invalid_values(): | CODE |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 101 | def get_attribute_from_ref_artist(self, attr_name): | CODE |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 606 | def get_texts_widths_heights_descents(self, renderer): | CODE |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 797 | def invert_ticklabel_direction(self): | STRING |
| LOW | lib/mpl_toolkits/axisartist/tests/test_axis_artist.py | 102 | def test_axisartist_tightbbox(): | CODE |
| LOW | lib/mpl_toolkits/axisartist/tests/test_grid_finder.py | 9 | def test_find_line_box_crossings(): | CODE |
| LOW | lib/mpl_toolkits/axisartist/tests/test_axislines.py | 104 | def test_axisline_style_size_color(): | CODE |
| LOW | lib/mpl_toolkits/axisartist/tests/test_axislines.py | 120 | def test_axisline_style_tight(): | CODE |
| LOW | lib/mpl_toolkits/axisartist/tests/test_floating_axes.py | 113 | def test_transform_with_zero_derivatives(): | CODE |
| LOW | lib/matplotlib/transforms.py | 1407 | def _iter_break_from_left_to_right(self): | CODE |
| LOW | lib/matplotlib/transforms.py | 1452 | def contains_branch_separately(self, other_transform): | CODE |
| LOW | lib/matplotlib/transforms.py | 1471 | def contains_branch_seperately(self, other_transform): | CODE |
| LOW | lib/matplotlib/transforms.py | 1672 | def transform_path_non_affine(self, path): | CODE |
| 1329 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/boilerplate.py | 421 | for item in tree.body: | COMMENT |
| LOW | tools/subset.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/make_icons.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/make_icons.py | 21 | # 0xf1de | subplots | COMMENT |
| LOW | tools/make_icons.py | 41 | # dpi=72, ax_positions=(0.0891, 0.0891, 0.8218, 0.8218) | COMMENT |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 541 | self.offsetText.set_position((olx, oly)) | COMMENT |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 1021 | ys = [] | COMMENT |
| LOW | lib/mpl_toolkits/axisartist/floating_axes.py | 161 | # def new_floating_axis(self, nth_coord, value, axes=None, axis_direction="bottom"): | COMMENT |
| LOW | lib/matplotlib/cbook.py | 2101 | Horizontal (column) stride between corresponding elements of each patch | COMMENT |
| LOW | lib/matplotlib/cbook.py | 2141 | origs = {} | COMMENT |
| LOW | lib/matplotlib/colorizer.py | 541 | """ | COMMENT |
| LOW | lib/matplotlib/legend.py | 881 | # Each legend item is a HPacker packed with: | COMMENT |
| LOW | lib/matplotlib/figure.py | 2201 | COMMENT | |
| LOW | lib/matplotlib/_mathtext.py | 921 | # | COMMENT |
| LOW | lib/matplotlib/dviread.py | 41 | # Many dvi related files are looked for by external processes, require | COMMENT |
| LOW | lib/matplotlib/dviread.py | 141 | COMMENT | |
| LOW | lib/matplotlib/dviread.py | 341 | # push | COMMENT |
| LOW | lib/matplotlib/artist.py | 161 | COMMENT | |
| LOW | lib/matplotlib/collections.py | 241 | Parameters | COMMENT |
| LOW | lib/matplotlib/rcsetup.py | 1461 | # Path to ffmpeg binary. If just binary name, subprocess uses $PATH. | COMMENT |
| LOW | lib/matplotlib/rcsetup.py | 1541 | description: str | None = None | COMMENT |
| LOW | lib/matplotlib/ticker.py | 2561 | if n_request == 0: # No tick in bounds; two ticks just outside. | COMMENT |
| LOW | lib/matplotlib/ticker.py | 2721 | # <======== -t ==0== t ========> | COMMENT |
| LOW | lib/matplotlib/image.py | 561 | A = np.dstack([A, np.full(A.shape[:2], alpha, np.float32)]) | COMMENT |
| LOW | lib/matplotlib/colors.py | 3301 | max_col = self.Ncmap | COMMENT |
| LOW | lib/matplotlib/tri/_trirefine.py | 221 | refi_x[:npts] = x | COMMENT |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 41 | COMMENT | |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 381 | super().__init__(triangulation, z, trifinder) | COMMENT |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 1361 | # provide fast numpy implementation of some standard operations on arrays of | COMMENT |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 1381 | # *metric* (the metric tensor = J x J.T). Computation of the local | COMMENT |
| LOW | lib/matplotlib/axes/_axes.py | 4141 | COMMENT | |
| LOW | lib/matplotlib/axes/_axes.py | 5441 | if not marker_obj.is_filled(): | COMMENT |
| LOW | lib/matplotlib/axes/_base.py | 381 | COMMENT | |
| LOW | lib/matplotlib/backends/backend_template.py | 61 | COMMENT | |
| LOW | lib/matplotlib/backends/backend_pdf.py | 41 | from matplotlib.dates import UTC | COMMENT |
| LOW | lib/matplotlib/backends/backend_pdf.py | 61 | # modify the state. | COMMENT |
| LOW | lib/matplotlib/backends/backend_pdf.py | 81 | # image, or extended graphics state, which contains the alpha value) | COMMENT |
| LOW | lib/matplotlib/backends/backend_pdf.py | 1761 | def markerObject(self, path, trans, fill, stroke, lw, joinstyle, | COMMENT |
| LOW | lib/matplotlib/backends/backend_pdf.py | 2341 | # cannot have a CIDMap. Therefore, in this case we break the string into | COMMENT |
| LOW | lib/matplotlib/backends/backend_svg.py | 41 | # -------------------------------------------------------------------- | COMMENT |
| LOW | lib/matplotlib/backends/backend_svg.py | 881 | def _draw_gouraud_triangle(self, transformed_points, colors): | COMMENT |
| LOW | lib/matplotlib/backends/backend_ps.py | 1461 | # the matplotlib primitives and some abbreviations. | COMMENT |
| LOW | lib/matplotlib/tests/test_tightlayout.py | 221 | # 0. | COMMENT |
| LOW | lib/matplotlib/tests/test_image.py | 481 | cmap_bivar = mpl.bivar_colormaps['BiOrangeBlue'] | COMMENT |
| LOW | lib/matplotlib/tests/test_triangulation.py | 521 | COMMENT | |
| LOW | lib/matplotlib/tests/test_compare_images.py | 21 | ('basn3p02.png', 'basn3p02-minorchange.png', 10, None), | COMMENT |
| LOW | lib/matplotlib/projections/polar.py | 861 | self, | COMMENT |
| LOW | lib/matplotlib/testing/compare.py | 321 | # NOTE: This check should be kept in sync with font styling in | COMMENT |
| LOW | lib/matplotlib/testing/jpl_units/StrConverter.py | 61 | # DISABLED: recalculate the unit conversion of the data values | COMMENT |
| LOW | doc/conf.py | 1 | # Matplotlib documentation build configuration file, created by | COMMENT |
| LOW | doc/conf.py | 401 | # other places throughout the built documents. | COMMENT |
| LOW | doc/conf.py | 421 | # If true, the current module name will be prepended to all description | COMMENT |
| LOW | doc/conf.py | 501 | COMMENT | |
| LOW | extern/agg24-svn/include/agg_span_interpolator_trans.h | 1 | //---------------------------------------------------------------------------- | COMMENT |
| LOW | extern/agg24-svn/include/agg_span_interpolator_linear.h | 1 | //---------------------------------------------------------------------------- | COMMENT |
| LOW | extern/agg24-svn/include/agg_rasterizer_sl_clip.h | 1 | //---------------------------------------------------------------------------- | COMMENT |
| LOW | extern/agg24-svn/include/agg_conv_clip_polygon.h | 1 | //---------------------------------------------------------------------------- | COMMENT |
| LOW | extern/agg24-svn/include/agg_conv_clip_polygon.h | 21 | // This is a sub-optimal solution, because that optimization would require | COMMENT |
| LOW | extern/agg24-svn/include/agg_path_storage.h | 1 | //---------------------------------------------------------------------------- | COMMENT |
| LOW | extern/agg24-svn/include/agg_path_storage.h | 1521 | }; | COMMENT |
| 878 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/gh_api.py | 44 | except Exception: | CODE |
| HIGH | tools/cache_zenodo_svg.py | 28 | except OSError: | CODE |
| HIGH | tools/cache_zenodo_svg.py | 43 | except OSError: | CODE |
| HIGH | tools/check_typehints.py | 157 | except ValueError: | CODE |
| HIGH | tools/stubtest.py | 121 | except OSError: | CODE |
| HIGH | lib/mpl_toolkits/axes_grid1/axes_rgb.py | 50 | except AttributeError: | CODE |
| HIGH | lib/mpl_toolkits/mplot3d/art3d.py | 1529 | except (AttributeError, TypeError, IndexError): | CODE |
| HIGH | lib/mpl_toolkits/mplot3d/art3d.py | 1534 | except (AttributeError, TypeError, IndexError): | CODE |
| HIGH | lib/matplotlib/axis.py | 1001 | except AttributeError: | CODE |
| HIGH | lib/matplotlib/axis.py | 1472 | except AssertionError: | CODE |
| HIGH | lib/matplotlib/backend_bases.py | 2595 | except AttributeError: | CODE |
| HIGH | lib/matplotlib/backend_bases.py | 2653 | except ValueError: | CODE |
| HIGH | lib/matplotlib/backend_bases.py | 2672 | except ValueError: | CODE |
| HIGH | lib/matplotlib/backend_bases.py | 1394 | except ValueError: | CODE |
| HIGH | lib/matplotlib/backend_bases.py | 3180 | except (ValueError, OverflowError): | CODE |
| HIGH | lib/matplotlib/backend_bases.py | 1672 | except Exception: | CODE |
| HIGH | lib/matplotlib/units.py | 184 | except (TypeError, StopIteration): | CODE |
| HIGH | lib/matplotlib/units.py | 180 | except KeyError: | CODE |
| HIGH | lib/matplotlib/cbook.py | 1764 | except AttributeError: | CODE |
| HIGH | lib/matplotlib/cbook.py | 1768 | except (VisibleDeprecationWarning, ValueError): | CODE |
| HIGH | lib/matplotlib/cbook.py | 175 | except TypeError: | CODE |
| HIGH | lib/matplotlib/cbook.py | 1790 | except TypeError: | CODE |
| HIGH | lib/matplotlib/cbook.py | 1811 | except (TypeError, ValueError): | CODE |
| HIGH | lib/matplotlib/cbook.py | 1034 | except (TypeError, ValueError): | CODE |
| HIGH | lib/matplotlib/cbook.py | 1467 | except TypeError: | CODE |
| HIGH | lib/matplotlib/colorizer.py | 258 | except (TypeError, ValueError): | CODE |
| HIGH | lib/matplotlib/font_manager.py | 500 | except ValueError: | CODE |
| HIGH | lib/matplotlib/font_manager.py | 940 | except ValueError: | CODE |
| HIGH | lib/matplotlib/font_manager.py | 965 | except ValueError: | CODE |
| HIGH | lib/matplotlib/font_manager.py | 1789 | except Exception: | CODE |
| HIGH | lib/matplotlib/font_manager.py | 1084 | except ValueError: | CODE |
| HIGH | lib/matplotlib/legend.py | 860 | except (TypeError, KeyError): # TypeError if unhashable. | CODE |
| HIGH | lib/matplotlib/legend.py | 865 | except KeyError: | CODE |
| HIGH | lib/matplotlib/legend.py | 621 | except AttributeError: | CODE |
| HIGH | lib/matplotlib/figure.py | 3357 | except ValueError: | CODE |
| HIGH | lib/matplotlib/__init__.py | 1396 | except Exception: | CODE |
| HIGH | lib/matplotlib/__init__.py | 224 | except ImportError: | CODE |
| HIGH | lib/matplotlib/__init__.py | 672 | except KeyError: | CODE |
| HIGH | lib/matplotlib/__init__.py | 537 | except RuntimeError: # raised if Path.home() is not available | CODE |
| HIGH | lib/matplotlib/__init__.py | 444 | except ExecutableNotFoundError: | CODE |
| HIGH | lib/matplotlib/__init__.py | 453 | except ExecutableNotFoundError: | CODE |
| HIGH | lib/matplotlib/__init__.py | 564 | except RuntimeError: # raised if Path.home() is not available | CODE |
| HIGH | lib/matplotlib/__init__.py | 471 | except OSError: | CODE |
| HIGH | lib/matplotlib/_mathtext.py | 64 | except TypeError: | CODE |
| HIGH | lib/matplotlib/animation.py | 1762 | except StopIteration: | CODE |
| HIGH | lib/matplotlib/artist.py | 262 | except AttributeError: | CODE |
| HIGH | lib/matplotlib/patches.py | 2963 | except ValueError: | CODE |
| HIGH | lib/matplotlib/patches.py | 2968 | except ValueError: | CODE |
| HIGH | lib/matplotlib/dates.py | 1779 | except (TypeError, StopIteration): | CODE |
| HIGH | lib/matplotlib/dates.py | 1784 | except AttributeError: | CODE |
| HIGH | lib/matplotlib/pyplot.py | 530 | except im.PackageNotFoundError: | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 391 | except (SyntaxError, ValueError): | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 694 | except (RuntimeError, ValueError): | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 972 | except (TypeError, ValueError): | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 976 | except ValueError: | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 531 | except ValueError: | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 535 | except (SyntaxError, ValueError): | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 906 | except ValueError: | CODE |
| HIGH | lib/matplotlib/rcsetup.py | 910 | except (SyntaxError, ValueError): | CODE |
| HIGH | lib/matplotlib/ticker.py | 1019 | except AttributeError: | CODE |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/boilerplate.py | 426 | # The following methods are implemented outside of the mro of Axes | COMMENT |
| MEDIUM | lib/mpl_toolkits/mplot3d/axes3d.py | 3988 | # Create the main line and determine overall kwargs for child artists. | COMMENT |
| MEDIUM | lib/mpl_toolkits/mplot3d/tests/test_art3d.py | 55 | # Create a mouse event used to locate and to get index | COMMENT |
| MEDIUM | lib/matplotlib/axis.py | 228 | # This method is responsible for verifying input and, in subclasses, for setting | COMMENT |
| MEDIUM | lib/matplotlib/axis.py | 847 | # This method is directly wrapped by Axes.set_{x,y}scale. | COMMENT |
| MEDIUM | lib/matplotlib/backend_bases.py | 1659 | # Create a synthetic LocationEvent for the axes_leave_event. | COMMENT |
| MEDIUM | lib/matplotlib/backend_bases.py | 3737 | # The following methods will be automatically defined and exported, but | COMMENT |
| MEDIUM | lib/matplotlib/backend_bases.py | 3795 | # This method is the one actually exporting the required methods. | COMMENT |
| MEDIUM | lib/matplotlib/legend.py | 926 | # Create the artist for the legend which represents the | COMMENT |
| MEDIUM | lib/matplotlib/figure.py | 967 | # Create a figure | STRING |
| MEDIUM | lib/matplotlib/figure.py | 970 | # Create a subplot | STRING |
| MEDIUM | lib/matplotlib/inset.py | 245 | # Create a temporary patch to draw the path. | COMMENT |
| MEDIUM | lib/matplotlib/lines.py | 79 | # Define the inverse pattern by moving the last gap to the start of the | COMMENT |
| MEDIUM | lib/matplotlib/widgets.py | 3687 | # Create a new shape | COMMENT |
| MEDIUM | lib/matplotlib/dviread.py | 1097 | # Create a filename -> PsfontsMap cache, so that calling | COMMENT |
| MEDIUM | lib/matplotlib/animation.py | 1104 | # Create a new sequence of frames for saved data. This is different | COMMENT |
| MEDIUM | lib/matplotlib/pyplot.py | 1439 | # Creating a new full window Axes | STRING |
| MEDIUM | lib/matplotlib/pyplot.py | 1442 | # Creating a new Axes with specified dimensions and a grey background | STRING |
| MEDIUM | lib/matplotlib/_docstring.py | 139 | # Create a decorator that will house the various docstring snippets reused | COMMENT |
| MEDIUM | lib/matplotlib/image.py | 420 | # Define the magnified bbox after clipping | COMMENT |
| MEDIUM | lib/matplotlib/scale.py | 197 | # This method is present only to prevent inheritance of the base class' | STRING |
| MEDIUM | lib/matplotlib/sankey.py | 688 | # Create a patch with the Sankey outline. | COMMENT |
| MEDIUM | lib/matplotlib/axes/_axes.py | 4179 | # Create the main line and determine overall kwargs for child artists. | STRING |
| MEDIUM | lib/matplotlib/backends/backend_template.py | 133 | # The following functions and classes are for pyplot and implement | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_qt.py | 103 | # Create a new QApplication and configure it if none exists yet, as only | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_qt.py | 196 | # Create a new timer and connect the timeout() signal to the | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_cairo.py | 193 | # Create the path for the marker; it needs to be flipped here already! | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 806 | # Create a new annotation of type text | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 2058 | # Create a mapping from path_id to extent for efficient lookup | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 2270 | # Create a transform to map the dvi contents to the canvas. | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_webagg_core.py | 489 | # The following methods are specific to FigureManagerWebAgg | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_wx.py | 672 | # Create a new, correctly sized bitmap | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_webagg.py | 212 | # Create the class instance | COMMENT |
| MEDIUM | lib/matplotlib/backends/qt_editor/_formlayout.py | 527 | # Create a QApplication instance if no instance currently exists | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_skew.py | 68 | # This class handles registration of the skew-xaxes as a projection as well | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_skew.py | 111 | # Create the full transform from Data to Pixels | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 975 | # Create a list of timezone-aware datetime objects in UTC | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 1043 | # Define a date_range function similar to pandas.date_range | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 1049 | # Define a tz_convert function that converts a list to a new timezone. | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 1336 | # Create a new one in a similar way | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_pyplot.py | 539 | # Create a figure with a specific number first. | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_image.py | 716 | # Create a figure of known size (1000x1000 pixels), place an image | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_image.py | 787 | # Create an image that is all black, with a gradient from 0-1 in | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_image.py | 1727 | # Create a simple affine transform for scaling the input array | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_image.py | 1734 | # Create a nonaffine version of the same transform | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_colorbar.py | 52 | # Create a figure and adjust whitespace for subplots. | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_colorbar.py | 61 | # Create a subplot. | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_colorbar.py | 84 | # Create a figure and adjust whitespace for subplots. | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_colorbar.py | 93 | # Create a subplot. | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 31 | # Create a colormap and specify the levels it represents. | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_colors.py | 882 | # Define the test values which are of interest. | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_colors.py | 1689 | # Create the norm beforehand with different limits and then update | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_datetime.py | 173 | # Creating the plot | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_units.py | 49 | # Create an instance of the conversion interface and | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_widgets.py | 1680 | # Create a diamond (adjusting axes lims s.t. the diamond lies within axes limits). | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_triangulation.py | 920 | # Creating a Triangulation | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_backend_qt.py | 331 | # Create a figure | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_collections.py | 1547 | # Create a PathCollection with hatch colors | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_axes.py | 1244 | # Create an NxN image | COMMENT |
| MEDIUM⚡ | lib/matplotlib/tests/test_axes.py | 1251 | # Create a contour plot at N/4 and extract both the clip path and transform | COMMENT |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/pylab.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 3 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 3 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 3 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 5 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 5 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/__init__.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/axislines.py | 51 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 5 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 5 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 6 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 7 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 7 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | CODE | |
| LOW | lib/matplotlib/pylab.py | 24 | CODE | |
| LOW | lib/matplotlib/pylab.py | 24 | CODE | |
| LOW | lib/matplotlib/pylab.py | 26 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| LOW | lib/matplotlib/pylab.py | 28 | CODE | |
| 215 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/boilerplate.py | 89 | CODE | |
| LOW | tools/triage_tests.py | 211 | CODE | |
| LOW | tools/run_examples.py | 44 | CODE | |
| LOW | tools/subset.py | 59 | CODE | |
| LOW | tools/visualize_tests.py | 58 | CODE | |
| LOW | tools/check_typehints.py | 86 | CODE | |
| LOW | tools/check_typehints.py | 191 | CODE | |
| LOW | tools/check_typehints.py | 283 | CODE | |
| LOW | tools/stubtest.py | 30 | CODE | |
| LOW | tools/stubtest.py | 61 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/inset_locator.py | 119 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/axes_grid.py | 298 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/axes_grid.py | 403 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 298 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 395 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 475 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 588 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 712 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 1777 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 2400 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 3097 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 3636 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 4184 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 296 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 41 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/grid_finder.py | 172 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 485 | CODE | |
| LOW | lib/mpl_toolkits/axisartist/angle_helper.py | 221 | CODE | |
| LOW | lib/matplotlib/_tight_layout.py | 160 | CODE | |
| LOW | lib/matplotlib/axis.py | 1034 | CODE | |
| LOW | lib/matplotlib/axis.py | 1172 | CODE | |
| LOW | lib/matplotlib/axis.py | 1654 | CODE | |
| LOW | lib/matplotlib/axis.py | 2735 | CODE | |
| LOW | lib/matplotlib/axis.py | 2967 | CODE | |
| LOW | lib/matplotlib/quiver.py | 441 | CODE | |
| LOW | lib/matplotlib/backend_bases.py | 1643 | CODE | |
| LOW | lib/matplotlib/backend_bases.py | 2566 | CODE | |
| LOW | lib/matplotlib/backend_bases.py | 2238 | CODE | |
| LOW | lib/matplotlib/backend_bases.py | 3176 | CODE | |
| LOW | lib/matplotlib/backend_bases.py | 3586 | CODE | |
| LOW | lib/matplotlib/colorbar.py | 843 | CODE | |
| LOW | lib/matplotlib/colorbar.py | 1179 | CODE | |
| LOW | lib/matplotlib/colorbar.py | 1285 | CODE | |
| LOW | lib/matplotlib/_style_helpers.py | 18 | CODE | |
| LOW | lib/matplotlib/cbook.py | 62 | CODE | |
| LOW | lib/matplotlib/cbook.py | 496 | CODE | |
| LOW | lib/matplotlib/cbook.py | 597 | CODE | |
| LOW | lib/matplotlib/cbook.py | 711 | CODE | |
| LOW | lib/matplotlib/cbook.py | 739 | CODE | |
| LOW | lib/matplotlib/cbook.py | 972 | CODE | |
| LOW | lib/matplotlib/cbook.py | 1049 | CODE | |
| LOW | lib/matplotlib/cbook.py | 1425 | CODE | |
| LOW | lib/matplotlib/cbook.py | 1796 | CODE | |
| LOW | lib/matplotlib/cbook.py | 337 | CODE | |
| LOW | lib/matplotlib/cbook.py | 376 | CODE | |
| LOW | lib/matplotlib/cbook.py | 757 | CODE | |
| LOW | lib/matplotlib/cbook.py | 780 | CODE | |
| LOW | lib/matplotlib/colorizer.py | 869 | CODE | |
| LOW | lib/matplotlib/colorizer.py | 584 | CODE | |
| LOW | lib/matplotlib/font_manager.py | 219 | CODE | |
| 187 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/mpl_toolkits/axes_grid1/axes_grid.py | 61 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/axes_grid.py | 298 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/anchored_artists.py | 128 | CODE | |
| LOW | lib/mpl_toolkits/axes_grid1/anchored_artists.py | 245 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 85 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 851 | CODE | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 3852 | CODE | |
| LOW | lib/matplotlib/axis.py | 70 | CODE | |
| LOW | lib/matplotlib/quiver.py | 283 | CODE | |
| LOW | lib/matplotlib/quiver.py | 517 | CODE | |
| LOW | lib/matplotlib/quiver.py | 942 | CODE | |
| LOW | lib/matplotlib/backend_bases.py | 2238 | CODE | |
| LOW | lib/matplotlib/colorbar.py | 237 | CODE | |
| LOW | lib/matplotlib/font_manager.py | 763 | CODE | |
| LOW | lib/matplotlib/legend.py | 375 | CODE | |
| LOW | lib/matplotlib/figure.py | 877 | CODE | |
| LOW | lib/matplotlib/figure.py | 1986 | CODE | |
| LOW | lib/matplotlib/figure.py | 2550 | CODE | |
| LOW | lib/matplotlib/figure.py | 3112 | CODE | |
| LOW | lib/matplotlib/_mathtext.py | 3102 | CODE | |
| LOW | lib/matplotlib/offsetbox.py | 1223 | CODE | |
| LOW | lib/matplotlib/offsetbox.py | 1306 | CODE | |
| LOW | lib/matplotlib/gridspec.py | 332 | CODE | |
| LOW | lib/matplotlib/lines.py | 323 | CODE | |
| LOW | lib/matplotlib/widgets.py | 396 | CODE | |
| LOW | lib/matplotlib/widgets.py | 667 | CODE | |
| LOW | lib/matplotlib/widgets.py | 2766 | CODE | |
| LOW | lib/matplotlib/widgets.py | 3406 | CODE | |
| LOW | lib/matplotlib/widgets.py | 4076 | CODE | |
| LOW | lib/matplotlib/animation.py | 760 | CODE | |
| LOW | lib/matplotlib/animation.py | 951 | CODE | |
| LOW | lib/matplotlib/patches.py | 48 | CODE | |
| LOW | lib/matplotlib/patches.py | 4304 | CODE | |
| LOW | lib/matplotlib/patches.py | 4672 | CODE | |
| LOW | lib/matplotlib/patches.py | 3447 | CODE | |
| LOW | lib/matplotlib/collections.py | 79 | CODE | |
| LOW | lib/matplotlib/text.py | 188 | CODE | |
| LOW | lib/matplotlib/text.py | 243 | CODE | |
| LOW | lib/matplotlib/mlab.py | 223 | CODE | |
| LOW | lib/matplotlib/mlab.py | 480 | CODE | |
| LOW | lib/matplotlib/mlab.py | 536 | CODE | |
| LOW | lib/matplotlib/mlab.py | 656 | CODE | |
| LOW | lib/matplotlib/mlab.py | 739 | CODE | |
| LOW | lib/matplotlib/mlab.py | 929 | CODE | |
| LOW | lib/matplotlib/table.py | 658 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 904 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1679 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1696 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1713 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1729 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1896 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1912 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1928 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 1943 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 2257 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 2312 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 2684 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 2892 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 3202 | CODE | |
| LOW | lib/matplotlib/pyplot.py | 3296 | CODE | |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 725 | # if image data only just use the datalim | COMMENT |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 241 | # For now, just return None to exclude from layout calculation. | COMMENT |
| LOW | lib/matplotlib/transforms.py | 123 | # either just return the name of this TransformNode, or its repr | COMMENT |
| LOW | lib/matplotlib/transforms.py | 949 | # The y-component in np.array([x, *y*]).T is not used. We simply pass | COMMENT |
| LOW | lib/matplotlib/transforms.py | 969 | # The x-component in np.array([*x*, y]).T is not used. We simply pass | COMMENT |
| LOW | lib/matplotlib/transforms.py | 1467 | # just return the appropriate shape. | COMMENT |
| LOW | lib/matplotlib/axis.py | 1320 | # and use it if it's available (else just use 0..1) | COMMENT |
| MEDIUM | lib/matplotlib/font_manager.py | 539 | # Percentage values are in 'em's. Most robust specification. | COMMENT |
| MEDIUM | lib/matplotlib/font_manager.py | 686 | # Percentage values are in 'em's. Most robust specification. | COMMENT |
| LOW | lib/matplotlib/_afm.py | 95 | # Given that there is actually no public API to even access this field, just return | COMMENT |
| LOW | lib/matplotlib/cm.py | 223 | # if the user passed in a Colormap, simply return it | STRING |
| LOW | lib/matplotlib/figure.py | 1754 | # subfigure, just return it instead of a 1-element array. | COMMENT |
| LOW | lib/matplotlib/_mathtext.py | 159 | # Ideally, we could just use self.glyphs and self.rects here, shifting | STRING |
| LOW | lib/matplotlib/gridspec.py | 315 | # subplot, just return it instead of a 1-element array. | COMMENT |
| LOW | lib/matplotlib/lines.py | 172 | # just return, we are done here | COMMENT |
| LOW | lib/matplotlib/lines.py | 237 | # mazol tov, it's already a slice, just return | COMMENT |
| LOW | lib/matplotlib/animation.py | 506 | # This frame has transparency, so we'll just add it as is. | COMMENT |
| MEDIUM | lib/matplotlib/animation.py | 1205 | # The rest of the code in this class is to facilitate easy blitting | COMMENT |
| LOW | lib/matplotlib/animation.py | 1687 | # is passed in for frames, just use itertools.count, which will just | COMMENT |
| LOW | lib/matplotlib/artist.py | 833 | # if this is a no-op just return | COMMENT |
| LOW | lib/matplotlib/collections.py | 259 | # b. transform is not a child of transData: just use the offsets | COMMENT |
| LOW | lib/matplotlib/collections.py | 308 | # those shapes, so we just set the limits based on their | COMMENT |
| LOW | lib/matplotlib/text.py | 832 | # Only one word, so just add it to the end | COMMENT |
| LOW | lib/matplotlib/dates.py | 1210 | return -1 # or should this just return '1'? | CODE |
| MEDIUM | lib/matplotlib/patheffects.py | 114 | # effect in turn. Essentially, we induce recursion (depth 1) which is | COMMENT |
| MEDIUM | lib/matplotlib/patheffects.py | 132 | # effect in turn. Essentially, we induce recursion (depth 1) which is | COMMENT |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 1386 | # is safe to simply return the null matrix (which is the implementation in | COMMENT |
| LOW | lib/matplotlib/backends/backend_pgf.py | 817 | return # we can simply return because blending is irrelevant to layout | CODE |
| LOW | lib/matplotlib/backends/backend_pgf.py | 836 | return # we can simply return because blending is irrelevant to layout | CODE |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 56 | # pertaining to distribution of the software without specific, written | COMMENT |
| LOW | lib/matplotlib/backends/backend_qtagg.py | 74 | # full draw in Qt, so just set the flag for next time. | COMMENT |
| LOW⚡ | lib/matplotlib/tests/test_sankey.py | 9 | # let's just create a sankey instance and check the code runs | COMMENT |
| MEDIUM | lib/matplotlib/tests/test_axes.py | 5739 | # test that it is robust against pan/zoom and | COMMENT |
| LOW⚡ | lib/matplotlib/tests/test_legend.py | 353 | # it's a common error to just pass handles | COMMENT |
| LOW | lib/matplotlib/projections/polar.py | 410 | # LinearScale.set_default_locators_and_formatters just set the major | STRING |
| LOW | galleries/users_explain/customizing.py | 144 | # good in a presentation, you can just add:: | COMMENT |
| MEDIUM | galleries/users_explain/axes/colorbar_placement.py | 71 | # paradigm. Note that this example works far better with | COMMENT |
| LOW | galleries/users_explain/axes/tight_layout_guide.py | 237 | # remove the legend from the bounding box calculation, we simply set its | COMMENT |
| LOW | galleries/users_explain/artists/transforms_tutorial.py | 555 | # logarithmic axes. When an Axes is initially setup, this is just set to | COMMENT |
| MEDIUM | galleries/users_explain/text/annotations.py | 615 | # pixel (radius = 10 pixel), you can utilize | COMMENT |
| LOW | galleries/examples/statistics/boxplot_demo.py | 96 | # arrays. For code brevity, just use the same random indices for each array | COMMENT |
| LOW | galleries/examples/statistics/boxplot_demo.py | 166 | # (just use two decimal places of precision) | COMMENT |
| LOW | galleries/examples/ticks/date_precision_and_epochs.py | 81 | # should just set the epoch once, if at all. | COMMENT |
| LOW | …es/examples/images_contours_and_fields/triplot_demo.py | 95 | # Rather than create a Triangulation object, can simply pass x, y and triangles | COMMENT |
| LOW | …examples/images_contours_and_fields/tricontour_demo.py | 135 | # Rather than create a Triangulation object, can simply pass x, y and triangles | COMMENT |
| LOW | …/examples/images_contours_and_fields/tripcolor_demo.py | 112 | # Rather than create a Triangulation object, can simply pass x, y and triangles | COMMENT |
| LOW | …es/examples/user_interfaces/embedding_webagg_sgskip.py | 56 | # framework, but here we just use Python string formatting. | COMMENT |
| LOW | …ies/examples/user_interfaces/embedding_in_qt_sgskip.py | 33 | # incompatible between PyQt6 and other bindings, so we just add the | COMMENT |
| LOW | galleries/examples/widgets/annotated_cursor.py | 160 | # If not, just return. | COMMENT |
| LOW | galleries/tutorials/coding_shortcuts.py | 119 | # in fact you just pass the desired properties to the factory functions. You are likely | COMMENT |
| MEDIUM | galleries/tutorials/artists.py | 162 | # animated A boolean that is used to facilitate animated drawing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/matplotlib/__init__.py | 1447 | # make sure to keep message and test in sync | COMMENT |
| LOW | lib/matplotlib/sphinxext/figmpl_directive.py | 177 | # make sure to add the trailing slash: | COMMENT |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 66 | # light PDF files you can use directly in LaTeX or ConTeXt documents | COMMENT |
| LOW | lib/matplotlib/backends/backend_agg.py | 514 | # don't forget to call the superclass. | COMMENT |
| LOW | lib/matplotlib/backends/backend_agg.py | 514 | # don't forget to call the superclass. | COMMENT |
| LOW | doc/conf.py | 260 | # make sure to ignore warnings that stem from simply inspecting deprecated | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 486 | # Similarly, you can add a `~.Axes.secondary_xaxis` or | COMMENT |
| MEDIUM | galleries/users_explain/quick_start.py | 573 | # object references you can add Artists to either Figure. | COMMENT |
| MEDIUM | galleries/users_explain/axes/arranging_axes.py | 333 | # When a *GridSpec* is explicitly used, you can adjust the layout | COMMENT |
| MEDIUM | galleries/users_explain/axes/mosaic.py | 125 | # Alternatively, you can use the more compact string notation | STRING |
| MEDIUM | galleries/users_explain/axes/mosaic.py | 265 | # Alternatively, you can use the sub-Figure functionality: | COMMENT |
| MEDIUM | galleries/users_explain/colors/colormapnorms.py | 292 | # you can change the scale by calling ``cb.ax.set_yscale('linear')``, as shown | COMMENT |
| MEDIUM | galleries/users_explain/colors/colormapnorms.py | 315 | # If the above norms do not provide the normalization you want, you can use | COMMENT |
| MEDIUM | galleries/users_explain/artists/transforms_tutorial.py | 251 | # location remain fixed when you pan or zoom. Here is a simple example that | COMMENT |
| MEDIUM | galleries/users_explain/text/mathtext.py | 280 | # Additionally, you can use ``\mathdefault{...}`` or its alias | STRING |
| MEDIUM | galleries/examples/statistics/curve_error_band.py | 39 | # 2D. If you just have a standard y-vs.-x plot, you can use the simpler | COMMENT |
| MEDIUM | galleries/examples/statistics/bxp.py | 50 | # Conversely, you can also use the `~.axes.Axes.bxp` function directly, if you already | COMMENT |
| MEDIUM | galleries/examples/ticks/date_index_formatter.py | 65 | # Instead of passing a function into `.Axis.set_major_formatter` you can use | COMMENT |
| LOW | …lleries/examples/ticks/colorbar_tick_labelling_demo.py | 30 | # Add colorbar, make sure to specify tick locations to match desired ticklabels | COMMENT |
| MEDIUM | …es/examples/images_contours_and_fields/contour_demo.py | 75 | # Or you can use a colormap to specify the colors; the default | COMMENT |
| LOW | galleries/examples/lines_bars_and_markers/hat_graph.py | 46 | # Initialise labels and a numpy array make sure you have | COMMENT |
| MEDIUM | galleries/tutorials/images.py | 108 | # Note that you can also change colormaps on existing plot objects using the | COMMENT |
| MEDIUM⚡ | galleries/tutorials/pyplot.py | 375 | # :ref:`mathtext`. Thus, you can use mathematical text across | COMMENT |
| MEDIUM⚡ | galleries/tutorials/pyplot.py | 377 | # and dvipng installed, you can also use LaTeX to format your text and | COMMENT |
| MEDIUM | galleries/tutorials/pyplot.py | 315 | # stateful wrapper around an object-oriented API, which you can use | COMMENT |
| MEDIUM | galleries/tutorials/artists.py | 148 | # which you can use to set the background color and transparency of the | COMMENT |
| MEDIUM | galleries/tutorials/artists.py | 187 | # If you want to set a number of properties at once, you can also use | COMMENT |
| MEDIUM | galleries/tutorials/artists.py | 319 | # attributes, which you can use to access any primitives that are its direct | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lib/matplotlib/lines.py | 0 | set a color to fill the gaps in the dashed line style. .. note:: striped lines are created by drawing two interleaved da | STRING |
| HIGH | lib/matplotlib/patches.py | 0 | set a color to fill the gaps in the dashed line style. .. note:: striped lines are created by drawing two interleaved da | STRING |
| HIGH | lib/matplotlib/collections.py | 0 | set a color to fill the gaps in the dashed line style. .. note:: striped lines are created by drawing two interleaved da | STRING |
| HIGH | lib/matplotlib/projections/geo.py | 0 | used to format the *theta* tick labels. converts the native unit of radians into degrees and adds a degree symbol. | STRING |
| HIGH | galleries/examples/misc/custom_projection.py | 0 | used to format the *theta* tick labels. converts the native unit of radians into degrees and adds a degree symbol. | STRING |
| HIGH | lib/matplotlib/projections/polar.py | 0 | used to format the *theta* tick labels. converts the native unit of radians into degrees and adds a degree symbol. | STRING |
| HIGH | galleries/users_explain/axes/axes_ticks.py | 0 | set up common parameters for the axes in the example. | STRING |
| HIGH | galleries/examples/ticks/date_formatters_locators.py | 0 | set up common parameters for the axes in the example. | STRING |
| HIGH | galleries/examples/ticks/tick-locators.py | 0 | set up common parameters for the axes in the example. | STRING |
| HIGH | galleries/examples/ticks/tick-formatters.py | 0 | set up common parameters for the axes in the example. | STRING |
| HIGH | …es/examples/user_interfaces/embedding_in_wx2_sgskip.py | 0 | create the main window and insert the custom frame. | STRING |
| HIGH | …es/examples/user_interfaces/embedding_in_wx4_sgskip.py | 0 | create the main window and insert the custom frame. | STRING |
| HIGH | …eries/examples/user_interfaces/wxcursor_demo_sgskip.py | 0 | create the main window and insert the custom frame. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lib/matplotlib/backend_bases.py | 3445 | self._nav_stack.push( | CODE |
| HIGH | lib/matplotlib/cbook.py | 708 | return self.push(self._elements[0]) if self._elements else None | CODE |
| HIGH | lib/matplotlib/_animation_data.py | 9 | return ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident/") > -1; | CODE |
| HIGH | lib/matplotlib/_animation_data.py | 20 | this.timer = null; | CODE |
| HIGH | lib/matplotlib/_animation_data.py | 35 | slider.setAttribute('oninput', null); | CODE |
| HIGH | lib/matplotlib/_animation_data.py | 48 | return undefined; | CODE |
| HIGH | lib/matplotlib/_animation_data.py | 135 | this.timer = null; | CODE |
| HIGH | lib/matplotlib/backends/_backend_gtk.py | 219 | # Running after quit is undefined, so create a new one next time. | COMMENT |
| HIGH | lib/matplotlib/backends/backend_pdf.py | 2065 | output(*self.gc.push()) | CODE |
| HIGH | lib/matplotlib/backends/backend_pdf.py | 2607 | cmds.extend(self.push()) | CODE |
| HIGH | …lleries/examples/user_interfaces/svg_tooltip_sgskip.py | 87 | if ( window.svgDocument == null ) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/matplotlib/backend_bases.py | 3474 | self.subplot_tool.figure.canvas.manager.show() | CODE |
| CRITICAL | doc/sphinxext/rcparams.py | 31 | self.state.document.settings.env.note_dependency(__file__) | CODE |
| CRITICAL | doc/sphinxext/rcparams.py | 32 | self.state.document.settings.env.note_dependency(rcsetup.__file__) | CODE |
| CRITICAL | …lleries/examples/event_handling/image_slices_viewer.py | 41 | self.im.axes.figure.canvas.draw() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gh_api.py | 44 | except Exception: | CODE |
| LOW | tools/subset.py | 55 | except Exception: | CODE |
| LOW | tools/visualize_tests.py | 148 | except Exception: | STRING |
| LOW | lib/matplotlib/axis.py | 2040 | except Exception as e: | STRING |
| LOW | lib/matplotlib/backend_bases.py | 1672 | except Exception: | CODE |
| LOW | lib/matplotlib/cbook.py | 392 | except Exception as exc: | CODE |
| LOW | lib/matplotlib/cbook.py | 2493 | except Exception: | CODE |
| LOW | lib/matplotlib/font_manager.py | 135 | except Exception: # Exceptions thrown by home() are not specified... | CODE |
| LOW | lib/matplotlib/font_manager.py | 1211 | except Exception as exc: | CODE |
| LOW | lib/matplotlib/font_manager.py | 1789 | except Exception: | CODE |
| MEDIUM | lib/matplotlib/__init__.py | 856 | def _get_ssl_context(): | CODE |
| LOW | lib/matplotlib/__init__.py | 938 | except Exception as msg: | CODE |
| LOW | lib/matplotlib/__init__.py | 1396 | except Exception: | STRING |
| LOW | lib/matplotlib/artist.py | 1846 | except Exception: | CODE |
| LOW | lib/matplotlib/table.py | 362 | except Exception as err: | CODE |
| LOW | lib/matplotlib/rcsetup.py | 133 | except Exception: | CODE |
| LOW | lib/matplotlib/rcsetup.py | 926 | except Exception as e: | CODE |
| LOW | lib/matplotlib/colors.py | 1228 | except Exception as e: | CODE |
| LOW | lib/matplotlib/colors.py | 1233 | except Exception as e2: | CODE |
| LOW | lib/matplotlib/colors.py | 681 | except Exception as err: | STRING |
| LOW | lib/matplotlib/axes/_axes.py | 3044 | except Exception: | STRING |
| LOW | lib/matplotlib/sphinxext/mathmpl.py | 136 | except Exception: | STRING |
| LOW | lib/matplotlib/sphinxext/plot_directive.py | 306 | except Exception as e: | CODE |
| LOW | lib/matplotlib/sphinxext/plot_directive.py | 782 | except Exception as err: | STRING |
| LOW | lib/matplotlib/backends/backend_qt.py | 532 | except Exception: | CODE |
| LOW | lib/matplotlib/backends/backend_qt.py | 974 | except Exception as e: | CODE |
| LOW | lib/matplotlib/backends/registry.py | 408 | except Exception: # KeyError ? | CODE |
| LOW | lib/matplotlib/backends/backend_pgf.py | 352 | except Exception as err: | CODE |
| LOW | lib/matplotlib/backends/backend_gtk4.py | 427 | except Exception as e: | CODE |
| MEDIUM | lib/matplotlib/backends/backend_gtk4.py | 317 | def idle_draw(*args): | CODE |
| LOW | lib/matplotlib/backends/backend_gtk3.py | 396 | except Exception as e: | CODE |
| LOW | lib/matplotlib/backends/backend_wx.py | 1170 | except Exception as e: | CODE |
| LOW | lib/matplotlib/backends/_backend_tk.py | 950 | except Exception as e: | CODE |
| MEDIUM | lib/matplotlib/backends/_backend_tk.py | 483 | def set_cursor(self, cursor): | CODE |
| LOW | lib/matplotlib/tests/test_backends_interactive.py | 731 | except Exception: | CODE |
| LOW | lib/matplotlib/tests/test_backends_interactive.py | 793 | except Exception: | CODE |
| LOW | lib/matplotlib/tests/test_font_manager.py | 436 | except Exception: | CODE |
| LOW | lib/matplotlib/projections/__init__.py | 61 | except Exception: | CODE |
| LOW | galleries/examples/units/basic_units.py | 99 | except Exception: | CODE |
| LOW | galleries/examples/lines_bars_and_markers/timeline.py | 37 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/stubtest.py | 101 | # Assign parents to tree so they can be backtraced | COMMENT |
| LOW | lib/matplotlib/axis.py | 1420 | # Check if major ticks should be computed. | COMMENT |
| LOW | lib/matplotlib/axis.py | 1434 | # Check if minor ticks should be computed. | COMMENT |
| LOW | lib/matplotlib/cbook.py | 1455 | # Iterate over list of iterables. | COMMENT |
| LOW | lib/matplotlib/widgets.py | 3045 | # Check if we've clicked inside the region | COMMENT |
| LOW | lib/matplotlib/widgets.py | 3850 | # Check if we've clicked inside the region | COMMENT |
| LOW | lib/matplotlib/table.py | 758 | # Check if we have a Pandas DataFrame | STRING |
| LOW | lib/matplotlib/ticker.py | 2746 | # Check if linear range is present | COMMENT |
| LOW | lib/matplotlib/contour.py | 504 | # Check if long enough for a label | COMMENT |
| LOW | lib/matplotlib/streamplot.py | 201 | # Check if start_points are outside the data boundaries | COMMENT |
| LOW | lib/matplotlib/colors.py | 3677 | # Check if input is in the expected range | COMMENT |
| LOW | lib/matplotlib/axes/_axes.py | 7616 | # Loop through datasets | STRING |
| LOW | lib/matplotlib/backends/backend_gtk3cairo.py | 26 | # Set renderer to physical size so it renders in full resolution. | COMMENT |
| LOW⚡ | lib/matplotlib/backends/registry.py | 103 | # Check if have specific name to module mapping. | COMMENT |
| LOW | lib/matplotlib/tests/test_backend_bases.py | 581 | # Check if twin-axes are properly triggered | COMMENT |
| LOW | lib/matplotlib/tests/test_dates.py | 1322 | # Set it to Iceland | COMMENT |
| LOW⚡ | lib/matplotlib/tests/test_patches.py | 1124 | # Set back to None | COMMENT |
| LOW | lib/matplotlib/tests/test_collections.py | 1334 | # Check if masked data is respected by scatter | COMMENT |
| LOW | lib/matplotlib/tests/test_axes.py | 661 | # Set enable to None | COMMENT |
| LOW⚡ | lib/matplotlib/tests/test_axes.py | 9055 | ax.plot([.4, .6], [.4, .6]) # Set minpos to keep logit happy. | CODE |
| LOW⚡ | lib/matplotlib/tests/test_axes.py | 9068 | ax.plot([.4, .6], [.4, .6]) # Set minpos to keep logit happy. | CODE |
| LOW | lib/matplotlib/tests/test_matplotlib.py | 105 | # Set USERPROFILE to tmp_path so the old location check finds nothing | COMMENT |
| LOW | galleries/examples/statistics/errorbars_and_boxes.py | 46 | # Loop over data points; create box from errors at each point | COMMENT |
| LOW | …/images_contours_and_fields/image_annotated_heatmap.py | 70 | # Loop over data dimensions and create text annotations. | COMMENT |
| LOW | …/images_contours_and_fields/image_annotated_heatmap.py | 203 | # Loop over the data and create a `Text` for each "pixel". | COMMENT |
| LOW | galleries/examples/widgets/annotated_cursor.py | 159 | # Check if the display of text is still necessary. | COMMENT |
| LOW | .circleci/config.yml | 141 | # Set epoch to date of latest tag. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | galleries/users_explain/axes/constrainedlayout_guide.py | 685 | # simple ways. In this example the left Axes has much larger decorations | COMMENT |
| HIGH | galleries/users_explain/text/annotations.py | 58 | # In this example, both the *xy* (arrow tip) and *xytext* locations | STRING |
| HIGH | galleries/examples/statistics/curve_error_band.py | 31 | # In this example we assume that the error can be given as a scalar *err* | COMMENT |
| HIGH | …lleries/examples/statistics/histogram_normalization.py | 144 | # extreme case where the bins do not have the same width. In this example, the | COMMENT |
| HIGH | galleries/examples/mplot3d/axlim_clip.py | 31 | # In this example, data where x < 0 or z > 0.5 is clipped | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/mpl_toolkits/axes_grid1/anchored_artists.py | 8 | __all__ = ['AnchoredDrawingArea', 'AnchoredAuxTransformBox', | CODE |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 7 | __all__ = ["Size", | CODE |
| LOW | lib/mpl_toolkits/mplot3d/__init__.py | 3 | __all__ = ['Axes3D'] | CODE |
| LOW | lib/matplotlib/__init__.py | 104 | __all__ = [ | CODE |
| LOW | lib/matplotlib/_mathtext.py | 1210 | def _update_metrics(self) -> None: | CODE |
| LOW | lib/matplotlib/_mathtext.py | 1259 | def _update_metrics(self) -> None: | CODE |
| LOW | lib/matplotlib/_mathtext.py | 2146 | def set_names_and_parse_actions() -> None: | STRING |
| LOW | lib/matplotlib/stackplot.py | 14 | __all__ = ['stackplot'] | CODE |
| LOW | lib/matplotlib/pyplot.py | 363 | def set_loglevel(level: LogLevel) -> None: | CODE |
| LOW | lib/matplotlib/pyplot.py | 2737 | def set_cmap(cmap: Colormap | str) -> None: | CODE |
| LOW | lib/matplotlib/streamplot.py | 15 | __all__ = ['streamplot'] | CODE |
| LOW | lib/matplotlib/tri/__init__.py | 16 | __all__ = ["Triangulation", | CODE |
| LOW | lib/matplotlib/style/__init__.py | 27 | __all__ = ['use', 'context', 'available', 'library', 'reload_library'] | CODE |
| LOW | lib/matplotlib/style/core.py | 22 | __all__ = [ | CODE |
| LOW | lib/matplotlib/testing/compare.py | 27 | __all__ = ['calculate_rms', 'comparable_formats', 'compare_images'] | CODE |
| LOW | lib/matplotlib/testing/jpl_units/UnitDblFormatter.py | 5 | __all__ = ['UnitDblFormatter'] | CODE |
| LOW | lib/matplotlib/testing/jpl_units/EpochConverter.py | 6 | __all__ = ['EpochConverter'] | CODE |
| LOW | lib/matplotlib/testing/jpl_units/__init__.py | 44 | __all__ = [ | CODE |
| LOW | lib/matplotlib/testing/jpl_units/UnitDblConverter.py | 8 | __all__ = ['UnitDblConverter'] | CODE |
| LOW | lib/matplotlib/testing/jpl_units/StrConverter.py | 7 | __all__ = ['StrConverter'] | CODE |
| LOW | doc/sphinxext/redirect_from.py | 40 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/schemas/github-issue-forms.json | 45 | "placeholder": { | CODE |
| LOW | ci/schemas/github-issue-forms.json | 139 | "placeholder": { | CODE |
| LOW | ci/schemas/github-issue-forms.json | 1066 | "placeholder": { | CODE |
| LOW⚡ | lib/matplotlib/tests/test_ticker.py | 397 | dummy_data = [rng.normal(size=100), [], []] | CODE |
| LOW⚡ | lib/matplotlib/tests/test_ticker.py | 398 | fig, axes = plt.subplots(len(dummy_data), sharex=True, sharey=True) | CODE |
| LOW⚡ | lib/matplotlib/tests/test_ticker.py | 400 | for ax, data in zip(axes.flatten(), dummy_data): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/matplotlib/artist.py | 613 | # we need to check if mouseevent.inaxes is None | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n/agg24-svn/src/platform/BeOS/agg_platform_support.cpp | 917 | // TODO: implement using BTranslatorRoster and friends | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/matplotlib/tests/test_text.py | 967 | def helper(): | CODE |