matplotlib: plotting with Python
3516 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/github_stats.py | 9 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 11 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 23 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 25 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 73 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 75 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 162 | # ----------------------------------------------------------------------------- |
| MEDIUM | tools/github_stats.py | 164 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/mpl_toolkits/mplot3d/axis3d.py | 513 | # ---------------------------------------------------------------------- |
| MEDIUM | lib/mpl_toolkits/mplot3d/axis3d.py | 527 | # --------------------------------------------------------------------- |
| MEDIUM | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2856 | # ============================================================================= |
| MEDIUM | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2858 | # ============================================================================= |
| MEDIUM | lib/matplotlib/streamplot.py | 304 | # ======================== |
| MEDIUM | lib/matplotlib/streamplot.py | 490 | # ======================= |
| MEDIUM | lib/matplotlib/streamplot.py | 688 | # ======================== |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 217 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 219 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 343 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 345 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 367 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 369 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 406 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/sphinxext/plot_directive.py | 408 | # ----------------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 31 | # ---------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 40 | # -------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 66 | # -------------------------------------------------------------------- |
| MEDIUM | lib/matplotlib/tests/test_backend_bases.py | 473 | # ---------------------------- |
| MEDIUM | lib/matplotlib/tests/test_backend_bases.py | 499 | # ---------------------------- |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 168 | # ------------------- |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 180 | # ------------------- |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 198 | # ------------------- |
| MEDIUM | lib/matplotlib/style/__init__.py | 240 | # ================== |
| MEDIUM | doc/conf.py | 98 | # --------------------- |
| MEDIUM | doc/conf.py | 429 | # ---------------------------- |
| MEDIUM | doc/conf.py | 449 | # ----------------------- |
| MEDIUM | doc/conf.py | 610 | # ------------------------ |
| MEDIUM | doc/conf.py | 769 | # ----------------------------------------------------------------------------- |
| MEDIUM | doc/conf.py | 771 | # ----------------------------------------------------------------------------- |
| MEDIUM | doc/conf.py | 840 | # ----------------------------------------------------------------------------- |
| MEDIUM | doc/conf.py | 842 | # ----------------------------------------------------------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 24 | # ================ |
| MEDIUM | galleries/users_explain/quick_start.py | 47 | # ================= |
| MEDIUM | galleries/users_explain/quick_start.py | 54 | # ---------------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 78 | # ------------------------------ |
| MEDIUM | galleries/users_explain/quick_start.py | 95 | # ------------------------------ |
| MEDIUM | galleries/users_explain/quick_start.py | 105 | # ---------------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 117 | # ===================================== |
| MEDIUM | galleries/users_explain/quick_start.py | 152 | # ============= |
| MEDIUM | galleries/users_explain/quick_start.py | 155 | # ---------------------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 213 | # ------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 243 | # =============== |
| MEDIUM | galleries/users_explain/quick_start.py | 272 | # --------------------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 297 | # =============== |
| MEDIUM | galleries/users_explain/quick_start.py | 300 | # -------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 331 | # -------------------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 348 | # ----------- |
| MEDIUM | galleries/users_explain/quick_start.py | 388 | # ===================== |
| MEDIUM | galleries/users_explain/quick_start.py | 420 | # ---------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 443 | # -------------------------- |
| MEDIUM | galleries/users_explain/quick_start.py | 478 | # ------------------------ |
| 344 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/gh_api.py | 208 | def encode_multipart_formdata(fields, boundary=None): |
| LOW | lib/mpl_toolkits/axes_grid1/axes_divider.py | 602 | def make_axes_area_auto_adjustable( |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 66 | def test_twin_axes_empty_and_removed(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 93 | def test_twin_axes_both_with_units(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 103 | def test_axesgrid_colorbar_log_smoketest(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 118 | def test_inset_colorbar_tight_layout_smoketest(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 347 | def test_zooming_with_inverted_axes(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 363 | def test_anchored_direction_arrows(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 373 | def test_anchored_direction_arrows_many_args(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 385 | def test_axes_locatable_position(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 397 | def test_image_grid_each_left_label_mode_all(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 415 | def test_image_grid_single_bottom(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 429 | def test_image_grid_label_mode_invalid(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 465 | def test_gettightbbox_parasite(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 493 | def test_picking_callbacks_overlap(big_on_axes, small_on_axes, click_on): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 670 | def test_mark_inset_unstales_viewlim(fig_test, fig_ref): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 716 | def test_imagegrid_cbar_mode_edge(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 768 | def test_anchored_locator_base_call(): |
| LOW | lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py | 785 | def test_grid_with_axes_class_not_overriding_axis(): |
| LOW | lib/mpl_toolkits/mplot3d/proj3d.py | 169 | def _scale_proj_transform_vectors(vecs, axes): |
| LOW | lib/mpl_toolkits/mplot3d/proj3d.py | 244 | def _scale_proj_transform_clip(xs, ys, zs, axes): |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 376 | def _equal_aspect_axis_indices(self, aspect): |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 1398 | def _set_lims_from_transformed(self, xmin_t, xmax_t, ymin_t, ymax_t, |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 312 | def _get_axis_line_edge_points(self, minmax, maxmin, position=None): |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 336 | def _get_all_axis_line_edge_points(self, minmax, maxmin, axis_position=None): |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 884 | def _maybe_depth_shade_and_sort_colors(self, color_array): |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 1143 | def _maybe_depth_shade_and_sort_colors(self, color_array): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_legend3d.py | 41 | def test_linecollection_scaled_dashes(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_legend3d.py | 70 | def test_contour_legend_elements(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_legend3d.py | 85 | def test_contourf_legend_elements(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 53 | def test_invisible_ticks_axis(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 547 | def test_marker_draw_order_data_reversed(fig_test, fig_ref, azim): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 567 | def test_marker_draw_order_view_rotated(fig_test, fig_ref): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 624 | def test_fill_between_polygon(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 968 | def test_patch_collection_modification(fig_test, fig_ref): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 1257 | def test_proj_axes_cube_ortho(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2509 | def test_view_init_vertical_axis( |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2550 | def test_on_move_vertical_axis(vertical_axis: str) -> None: |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2581 | def test_set_box_aspect_vertical_axis(vertical_axis, aspect_expected): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2614 | def test_mutating_input_arrays_y_and_z(fig_test, fig_ref): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2639 | def test_scatter_masked_color(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2689 | def test_ndarray_color_kwargs_value_error(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 2748 | def test_axis_get_tightbbox_includes_offset_text(): |
| LOW | lib/mpl_toolkits/mplot3d/tests/test_axes3d.py | 3193 | def test_plot_surface_log_scale_invalid_values(): |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 101 | def get_attribute_from_ref_artist(self, attr_name): |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 605 | def get_texts_widths_heights_descents(self, renderer): |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 796 | def invert_ticklabel_direction(self): |
| LOW | lib/mpl_toolkits/axisartist/tests/test_axis_artist.py | 102 | def test_axisartist_tightbbox(): |
| LOW | lib/mpl_toolkits/axisartist/tests/test_grid_finder.py | 9 | def test_find_line_box_crossings(): |
| LOW | lib/mpl_toolkits/axisartist/tests/test_axislines.py | 104 | def test_axisline_style_size_color(): |
| LOW | lib/mpl_toolkits/axisartist/tests/test_axislines.py | 120 | def test_axisline_style_tight(): |
| LOW | lib/mpl_toolkits/axisartist/tests/test_floating_axes.py | 113 | def test_transform_with_zero_derivatives(): |
| LOW | lib/matplotlib/transforms.py | 1407 | def _iter_break_from_left_to_right(self): |
| LOW | lib/matplotlib/transforms.py | 1452 | def contains_branch_separately(self, other_transform): |
| LOW | lib/matplotlib/transforms.py | 1471 | def contains_branch_seperately(self, other_transform): |
| LOW | lib/matplotlib/transforms.py | 1672 | def transform_path_non_affine(self, path): |
| LOW | lib/matplotlib/transforms.py | 1864 | def transform_path_non_affine(self, path): |
| LOW | lib/matplotlib/transforms.py | 2200 | def transform_path_non_affine(self, path): |
| LOW | lib/matplotlib/transforms.py | 2224 | def contains_branch_separately(self, transform): |
| LOW | lib/matplotlib/transforms.py | 2377 | def blended_transform_factory(x_transform, y_transform): |
| 1274 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/boilerplate.py | 421 | for item in tree.body: |
| LOW | tools/subset.py | 1 | #!/usr/bin/env python |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 521 | # (TT, FF, TF, FT) are the shorthand for the tuple of |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 1021 | ys = [] |
| LOW | lib/mpl_toolkits/axisartist/floating_axes.py | 161 | # def new_floating_axis(self, nth_coord, value, axes=None, axis_direction="bottom"): |
| LOW | lib/matplotlib/cbook.py | 2101 | |
| LOW | lib/matplotlib/cbook.py | 2141 | for attr in kwargs: |
| LOW | lib/matplotlib/colorizer.py | 521 | The ScalarMappable applies data normalization before returning RGBA colors from |
| LOW | lib/matplotlib/legend.py | 881 | # Each legend item is a HPacker packed with: |
| LOW | lib/matplotlib/figure.py | 2121 | |
| LOW | lib/matplotlib/__init__.py | 1261 | # Nothing to do if the requested backend is already set |
| LOW | lib/matplotlib/_mathtext.py | 921 | # |
| LOW | lib/matplotlib/dviread.py | 41 | # Many dvi related files are looked for by external processes, require |
| LOW | lib/matplotlib/dviread.py | 141 | |
| LOW | lib/matplotlib/dviread.py | 341 | # push |
| LOW | lib/matplotlib/artist.py | 121 | # Decorate draw() method so that all artists are able to stop |
| LOW | lib/matplotlib/collections.py | 241 | Parameters |
| LOW | lib/matplotlib/rcsetup.py | 1461 | # Path to ffmpeg binary. If just binary name, subprocess uses $PATH. |
| LOW | lib/matplotlib/rcsetup.py | 1501 | |
| LOW | lib/matplotlib/ticker.py | 2541 | mid = round((efmin + efmax) / 2) |
| LOW | lib/matplotlib/ticker.py | 2701 | # number of ticks needs to be reduced if there are more |
| LOW | lib/matplotlib/tri/_trirefine.py | 221 | refi_y[:npts] = y |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 41 | |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 381 | super().__init__(triangulation, z, trifinder) |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 1361 | # provide fast numpy implementation of some standard operations on arrays of |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 1381 | # *metric* (the metric tensor = J x J.T). Computation of the local |
| LOW | lib/matplotlib/axes/_axes.py | 4641 | # in bxp in the initial value of flierkw |
| LOW | lib/matplotlib/axes/_axes.py | 5461 | # We need to handle markers that cannot be filled (like |
| LOW | lib/matplotlib/axes/_base.py | 381 | |
| LOW | lib/matplotlib/axes/_base.py | 2561 | """Update the data limits for the given patch.""" |
| LOW | lib/matplotlib/backends/backend_template.py | 61 | |
| LOW | lib/matplotlib/backends/backend_pdf.py | 41 | from matplotlib import _path |
| LOW | lib/matplotlib/backends/backend_pdf.py | 61 | |
| LOW | lib/matplotlib/backends/backend_pdf.py | 1721 | smaskObject = None |
| LOW | lib/matplotlib/backends/backend_pdf.py | 2321 | # - For Type 3 fonts, there is no way to access multibyte characters, as they |
| LOW | lib/matplotlib/backends/backend_svg.py | 41 | # The SimpleXMLWriter module is |
| LOW | lib/matplotlib/backends/backend_ps.py | 1441 | |
| LOW | lib/matplotlib/tests/test_tightlayout.py | 221 | # 0. |
| LOW | lib/matplotlib/tests/test_triangulation.py | 521 | |
| LOW | lib/matplotlib/tests/test_compare_images.py | 21 | ('basn3p02.png', 'basn3p02-minorchange.png', 10, None), |
| LOW | lib/matplotlib/projections/polar.py | 861 | self, |
| LOW | lib/matplotlib/testing/jpl_units/StrConverter.py | 61 | # DISABLED: recalculate the unit conversion of the data values |
| LOW | doc/conf.py | 1 | # Matplotlib documentation build configuration file, created by |
| LOW | doc/conf.py | 401 | release = version |
| LOW | doc/conf.py | 421 | # show_authors = False |
| LOW | extern/agg24-svn/include/agg_span_interpolator_trans.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_span_interpolator_linear.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_rasterizer_sl_clip.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_conv_clip_polygon.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_conv_clip_polygon.h | 21 | // This is a sub-optimal solution, because that optimization would require |
| LOW | extern/agg24-svn/include/agg_path_storage.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_path_storage.h | 1521 | }; |
| LOW | extern/agg24-svn/include/agg_rasterizer_compound_aa.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_rasterizer_compound_aa.h | 21 | // |
| LOW | extern/agg24-svn/include/agg_conv_contour.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_span_pattern_rgba.h | 1 | //---------------------------------------------------------------------------- |
| LOW | extern/agg24-svn/include/agg_config.h | 1 | #ifndef AGG_CONFIG_INCLUDED |
| LOW | extern/agg24-svn/include/agg_config.h | 21 | // |
| LOW | extern/agg24-svn/include/agg_config.h | 41 | // This #define is used only for default rendering_buffer type, |
| LOW | extern/agg24-svn/include/agg_pixfmt_amask_adaptor.h | 1 | //---------------------------------------------------------------------------- |
| 866 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/boilerplate.py | 426 | # The following methods are implemented outside of the mro of Axes |
| MEDIUM | lib/mpl_toolkits/mplot3d/axes3d.py | 3964 | # Create the main line and determine overall kwargs for child artists. |
| MEDIUM | lib/mpl_toolkits/mplot3d/tests/test_art3d.py | 55 | # Create a mouse event used to locate and to get index |
| MEDIUM | lib/matplotlib/axis.py | 216 | # This method is responsible for verifying input and, in subclasses, for setting |
| MEDIUM | lib/matplotlib/axis.py | 835 | # This method is directly wrapped by Axes.set_{x,y}scale. |
| MEDIUM | lib/matplotlib/backend_bases.py | 1576 | # Create a synthetic LocationEvent for the axes_leave_event. |
| MEDIUM | lib/matplotlib/backend_bases.py | 3646 | # The following methods will be automatically defined and exported, but |
| MEDIUM | lib/matplotlib/backend_bases.py | 3704 | # This method is the one actually exporting the required methods. |
| MEDIUM | lib/matplotlib/legend.py | 926 | # Create the artist for the legend which represents the |
| MEDIUM | lib/matplotlib/figure.py | 882 | # Create a figure |
| MEDIUM | lib/matplotlib/figure.py | 885 | # Create a subplot |
| MEDIUM | lib/matplotlib/inset.py | 272 | # Create a temporary patch to draw the path. |
| MEDIUM | lib/matplotlib/lines.py | 79 | # Define the inverse pattern by moving the last gap to the start of the |
| MEDIUM | lib/matplotlib/widgets.py | 3690 | # Create a new shape |
| MEDIUM | lib/matplotlib/dviread.py | 1097 | # Create a filename -> PsfontsMap cache, so that calling |
| MEDIUM | lib/matplotlib/animation.py | 1100 | # Create a new sequence of frames for saved data. This is different |
| MEDIUM | lib/matplotlib/pyplot.py | 1439 | # Creating a new full window Axes |
| MEDIUM | lib/matplotlib/pyplot.py | 1442 | # Creating a new Axes with specified dimensions and a grey background |
| MEDIUM | lib/matplotlib/_docstring.py | 139 | # Create a decorator that will house the various docstring snippets reused |
| MEDIUM | lib/matplotlib/image.py | 409 | # Define the magnified bbox after clipping |
| MEDIUM | lib/matplotlib/scale.py | 197 | # This method is present only to prevent inheritance of the base class' |
| MEDIUM | lib/matplotlib/sankey.py | 688 | # Create a patch with the Sankey outline. |
| MEDIUM | lib/matplotlib/axes/_axes.py | 4191 | # Create the main line and determine overall kwargs for child artists. |
| MEDIUM | lib/matplotlib/backends/backend_template.py | 133 | # The following functions and classes are for pyplot and implement |
| MEDIUM | lib/matplotlib/backends/backend_qt.py | 96 | # Create a new QApplication and configure it if none exists yet, as only |
| MEDIUM | lib/matplotlib/backends/backend_qt.py | 191 | # Create a new timer and connect the timeout() signal to the |
| MEDIUM | lib/matplotlib/backends/backend_cairo.py | 163 | # Create the path for the marker; it needs to be flipped here already! |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 785 | # Create a new annotation of type text |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 2025 | # Create a mapping from path_id to extent for efficient lookup |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 2251 | # Create a transform to map the dvi contents to the canvas. |
| MEDIUM | lib/matplotlib/backends/backend_webagg_core.py | 489 | # The following methods are specific to FigureManagerWebAgg |
| MEDIUM | lib/matplotlib/backends/backend_wx.py | 672 | # Create a new, correctly sized bitmap |
| MEDIUM | lib/matplotlib/backends/backend_webagg.py | 212 | # Create the class instance |
| MEDIUM | lib/matplotlib/backends/qt_editor/_formlayout.py | 527 | # Create a QApplication instance if no instance currently exists |
| MEDIUM | lib/matplotlib/tests/test_skew.py | 68 | # This class handles registration of the skew-xaxes as a projection as well |
| MEDIUM | lib/matplotlib/tests/test_skew.py | 111 | # Create the full transform from Data to Pixels |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 975 | # Create a list of timezone-aware datetime objects in UTC |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 1043 | # Define a date_range function similar to pandas.date_range |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 1049 | # Define a tz_convert function that converts a list to a new timezone. |
| MEDIUM | lib/matplotlib/tests/test_dates.py | 1336 | # Create a new one in a similar way |
| MEDIUM | lib/matplotlib/tests/test_pyplot.py | 539 | # Create a figure with a specific number first. |
| MEDIUM | lib/matplotlib/tests/test_image.py | 713 | # Create a figure of known size (1000x1000 pixels), place an image |
| MEDIUM | lib/matplotlib/tests/test_image.py | 784 | # Create an image that is all black, with a gradient from 0-1 in |
| MEDIUM | lib/matplotlib/tests/test_image.py | 1707 | # Create a simple affine transform for scaling the input array |
| MEDIUM | lib/matplotlib/tests/test_image.py | 1714 | # Create a nonaffine version of the same transform |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 52 | # Create a figure and adjust whitespace for subplots. |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 61 | # Create a subplot. |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 84 | # Create a figure and adjust whitespace for subplots. |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 93 | # Create a subplot. |
| MEDIUM | lib/matplotlib/tests/test_colorbar.py | 31 | # Create a colormap and specify the levels it represents. |
| MEDIUM | lib/matplotlib/tests/test_colors.py | 882 | # Define the test values which are of interest. |
| MEDIUM | lib/matplotlib/tests/test_colors.py | 1684 | # Create the norm beforehand with different limits and then update |
| MEDIUM | lib/matplotlib/tests/test_datetime.py | 173 | # Creating the plot |
| MEDIUM | lib/matplotlib/tests/test_units.py | 49 | # Create an instance of the conversion interface and |
| MEDIUM | lib/matplotlib/tests/test_widgets.py | 1678 | # Create a diamond (adjusting axes lims s.t. the diamond lies within axes limits). |
| MEDIUM | lib/matplotlib/tests/test_triangulation.py | 920 | # Creating a Triangulation |
| MEDIUM | lib/matplotlib/tests/test_backend_qt.py | 331 | # Create a figure |
| MEDIUM | lib/matplotlib/tests/test_collections.py | 1547 | # Create a PathCollection with hatch colors |
| MEDIUM | lib/matplotlib/tests/test_axes.py | 1243 | # Create an NxN image |
| MEDIUM | lib/matplotlib/tests/test_axes.py | 1250 | # Create a contour plot at N/4 and extract both the clip path and transform |
| 76 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/pylab.py | 1 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 1 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 3 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 3 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 3 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 5 | |
| LOW | lib/mpl_toolkits/axes_grid1/__init__.py | 5 | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axes_grid1/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/mplot3d/__init__.py | 1 | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/mplot3d/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/axislines.py | 51 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 2 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 5 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 5 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 6 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 7 | |
| LOW | lib/mpl_toolkits/axisartist/__init__.py | 7 | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/axes_divider.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | |
| LOW | lib/mpl_toolkits/axisartist/tests/conftest.py | 1 | |
| LOW | lib/matplotlib/pylab.py | 24 | |
| LOW | lib/matplotlib/pylab.py | 24 | |
| LOW | lib/matplotlib/pylab.py | 26 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| LOW | lib/matplotlib/pylab.py | 28 | |
| 215 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/boilerplate.py | 89 | |
| LOW | tools/triage_tests.py | 211 | |
| LOW | tools/run_examples.py | 44 | |
| LOW | tools/subset.py | 59 | |
| LOW | tools/visualize_tests.py | 58 | |
| LOW | tools/check_typehints.py | 86 | |
| LOW | tools/check_typehints.py | 191 | |
| LOW | tools/check_typehints.py | 283 | |
| LOW | tools/stubtest.py | 30 | |
| LOW | tools/stubtest.py | 61 | |
| LOW | lib/mpl_toolkits/axes_grid1/inset_locator.py | 119 | |
| LOW | lib/mpl_toolkits/axes_grid1/axes_grid.py | 298 | |
| LOW | lib/mpl_toolkits/axes_grid1/axes_grid.py | 403 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 298 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 376 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 456 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 569 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 693 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 1753 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 2376 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 3073 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 3612 | |
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 4160 | |
| LOW | lib/mpl_toolkits/mplot3d/axis3d.py | 269 | |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 41 | |
| LOW | lib/mpl_toolkits/axisartist/grid_finder.py | 172 | |
| LOW | lib/mpl_toolkits/axisartist/axis_artist.py | 484 | |
| LOW | lib/mpl_toolkits/axisartist/angle_helper.py | 221 | |
| LOW | lib/matplotlib/_tight_layout.py | 160 | |
| LOW | lib/matplotlib/axis.py | 1022 | |
| LOW | lib/matplotlib/axis.py | 1160 | |
| LOW | lib/matplotlib/axis.py | 1609 | |
| LOW | lib/matplotlib/axis.py | 2648 | |
| LOW | lib/matplotlib/axis.py | 2880 | |
| LOW | lib/matplotlib/quiver.py | 441 | |
| LOW | lib/matplotlib/backend_bases.py | 1560 | |
| LOW | lib/matplotlib/backend_bases.py | 2475 | |
| LOW | lib/matplotlib/backend_bases.py | 2147 | |
| LOW | lib/matplotlib/backend_bases.py | 3085 | |
| LOW | lib/matplotlib/backend_bases.py | 3495 | |
| LOW | lib/matplotlib/colorbar.py | 843 | |
| LOW | lib/matplotlib/colorbar.py | 1179 | |
| LOW | lib/matplotlib/colorbar.py | 1285 | |
| LOW | lib/matplotlib/_style_helpers.py | 18 | |
| LOW | lib/matplotlib/cbook.py | 62 | |
| LOW | lib/matplotlib/cbook.py | 496 | |
| LOW | lib/matplotlib/cbook.py | 597 | |
| LOW | lib/matplotlib/cbook.py | 711 | |
| LOW | lib/matplotlib/cbook.py | 739 | |
| LOW | lib/matplotlib/cbook.py | 972 | |
| LOW | lib/matplotlib/cbook.py | 1049 | |
| LOW | lib/matplotlib/cbook.py | 1424 | |
| LOW | lib/matplotlib/cbook.py | 1795 | |
| LOW | lib/matplotlib/cbook.py | 337 | |
| LOW | lib/matplotlib/cbook.py | 376 | |
| LOW | lib/matplotlib/cbook.py | 757 | |
| LOW | lib/matplotlib/cbook.py | 780 | |
| LOW | lib/matplotlib/colorizer.py | 835 | |
| LOW | lib/matplotlib/colorizer.py | 561 | |
| LOW | lib/matplotlib/font_manager.py | 221 | |
| 186 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py | 0 | nth_coord = along which coordinate value varies. nth_coord = 0 -> x axis, nth_coord = 1 -> y axis |
| HIGH | lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py | 0 | nth_coord = along which coordinate value varies. nth_coord = 0 -> x axis, nth_coord = 1 -> y axis |
| HIGH | lib/mpl_toolkits/axisartist/floating_axes.py | 0 | nth_coord = along which coordinate value varies. nth_coord = 0 -> x axis, nth_coord = 1 -> y axis |
| HIGH | lib/matplotlib/axis.py | 0 | set the location of tick in data coords with scalar *loc*. |
| HIGH | lib/matplotlib/axis.py | 0 | set the location of tick in data coords with scalar *loc*. |
| HIGH | lib/matplotlib/axis.py | 0 | set the location of tick in data coords with scalar *loc*. |
| HIGH | lib/matplotlib/offsetbox.py | 0 | set the offset of the container. parameters ---------- xy : (float, float) the (x, y) coordinates of the offset in displ |
| HIGH | lib/matplotlib/offsetbox.py | 0 | set the offset of the container. parameters ---------- xy : (float, float) the (x, y) coordinates of the offset in displ |
| HIGH | lib/matplotlib/offsetbox.py | 0 | set the offset of the container. parameters ---------- xy : (float, float) the (x, y) coordinates of the offset in displ |
| HIGH | lib/matplotlib/patches.py | 0 | parameters ---------- pad : float, default: 0.3 the amount of padding around the original box. |
| HIGH | lib/matplotlib/patches.py | 0 | parameters ---------- pad : float, default: 0.3 the amount of padding around the original box. |
| HIGH | lib/matplotlib/patches.py | 0 | parameters ---------- pad : float, default: 0.3 the amount of padding around the original box. |
| HIGH | lib/matplotlib/_layoutgrid.py | 0 | return the left margin bounding box of the subplot specs given by rows and cols. rows and cols can be spans. |
| HIGH | lib/matplotlib/_layoutgrid.py | 0 | return the left margin bounding box of the subplot specs given by rows and cols. rows and cols can be spans. |
| HIGH | lib/matplotlib/_layoutgrid.py | 0 | return the left margin bounding box of the subplot specs given by rows and cols. rows and cols can be spans. |
| HIGH | lib/matplotlib/_layoutgrid.py | 0 | return the left margin bounding box of the subplot specs given by rows and cols. rows and cols can be spans. |
| HIGH | lib/matplotlib/scale.py | 0 | return whether the value(s) are within the valid range for this scale. this is true for all values, except +-inf and nan |
| HIGH | lib/matplotlib/scale.py | 0 | return whether the value(s) are within the valid range for this scale. this is true for all values, except +-inf and nan |
| HIGH | lib/matplotlib/scale.py | 0 | return whether the value(s) are within the valid range for this scale. this is true for all values, except +-inf and nan |
| HIGH | lib/matplotlib/tests/test_multivariate_colormaps.py | 0 | tests calling a bivariate colormap with integer values |
| HIGH | lib/matplotlib/tests/test_multivariate_colormaps.py | 0 | tests calling a bivariate colormap with integer values |
| HIGH | lib/matplotlib/tests/test_multivariate_colormaps.py | 0 | tests calling a bivariate colormap with integer values |
| HIGH | lib/matplotlib/tests/test_preprocess_data.py | 0 | parameters ---------- data : indexable object, optional data_parameter_placeholder |
| HIGH | lib/matplotlib/tests/test_preprocess_data.py | 0 | parameters ---------- data : indexable object, optional data_parameter_placeholder |
| HIGH | lib/matplotlib/tests/test_preprocess_data.py | 0 | parameters ---------- data : indexable object, optional data_parameter_placeholder |
| HIGH | lib/matplotlib/tests/test_preprocess_data.py | 0 | parameters ---------- data : indexable object, optional data_parameter_placeholder |
| HIGH | galleries/users_explain/axes/axes_ticks.py | 0 | set up common parameters for the axes in the example. |
| HIGH | galleries/users_explain/axes/axes_ticks.py | 0 | set up common parameters for the axes in the example. |
| HIGH | galleries/examples/ticks/date_formatters_locators.py | 0 | set up common parameters for the axes in the example. |
| HIGH | galleries/examples/ticks/tick-locators.py | 0 | set up common parameters for the axes in the example. |
| HIGH | galleries/examples/ticks/tick-formatters.py | 0 | set up common parameters for the axes in the example. |
| HIGH | …es/examples/user_interfaces/embedding_in_wx2_sgskip.py | 0 | create the main window and insert the custom frame. |
| HIGH | …es/examples/user_interfaces/embedding_in_wx4_sgskip.py | 0 | create the main window and insert the custom frame. |
| HIGH | …eries/examples/user_interfaces/wxcursor_demo_sgskip.py | 0 | create the main window and insert the custom frame. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/mpl_toolkits/mplot3d/axes3d.py | 706 | # if image data only just use the datalim |
| LOW | lib/mpl_toolkits/mplot3d/art3d.py | 241 | # For now, just return None to exclude from layout calculation. |
| LOW | lib/matplotlib/transforms.py | 123 | # either just return the name of this TransformNode, or its repr |
| LOW | lib/matplotlib/transforms.py | 949 | # The y-component in np.array([x, *y*]).T is not used. We simply pass |
| LOW | lib/matplotlib/transforms.py | 969 | # The x-component in np.array([*x*, y]).T is not used. We simply pass |
| LOW | lib/matplotlib/transforms.py | 1467 | # just return the appropriate shape. |
| LOW | lib/matplotlib/axis.py | 1308 | # and use it if it's available (else just use 0..1) |
| MEDIUM | lib/matplotlib/font_manager.py | 542 | # Percentage values are in 'em's. Most robust specification. |
| MEDIUM | lib/matplotlib/font_manager.py | 689 | # Percentage values are in 'em's. Most robust specification. |
| LOW | lib/matplotlib/_afm.py | 95 | # Given that there is actually no public API to even access this field, just return |
| LOW | lib/matplotlib/cm.py | 220 | # if the user passed in a Colormap, simply return it |
| LOW | lib/matplotlib/figure.py | 1674 | # subfigure, just return it instead of a 1-element array. |
| LOW | lib/matplotlib/_mathtext.py | 159 | # Ideally, we could just use self.glyphs and self.rects here, shifting |
| LOW | lib/matplotlib/gridspec.py | 297 | # subplot, just return it instead of a 1-element array. |
| LOW | lib/matplotlib/lines.py | 172 | # just return, we are done here |
| LOW | lib/matplotlib/lines.py | 215 | # mazol tov, it's already a slice, just return |
| LOW | lib/matplotlib/animation.py | 502 | # This frame has transparency, so we'll just add it as is. |
| MEDIUM | lib/matplotlib/animation.py | 1201 | # The rest of the code in this class is to facilitate easy blitting |
| LOW | lib/matplotlib/animation.py | 1683 | # is passed in for frames, just use itertools.count, which will just |
| LOW | lib/matplotlib/artist.py | 788 | # if this is a no-op just return |
| LOW | lib/matplotlib/collections.py | 259 | # b. transform is not a child of transData: just use the offsets |
| LOW | lib/matplotlib/collections.py | 308 | # those shapes, so we just set the limits based on their |
| LOW | lib/matplotlib/text.py | 816 | # Only one word, so just add it to the end |
| LOW | lib/matplotlib/dates.py | 1210 | return -1 # or should this just return '1'? |
| MEDIUM | lib/matplotlib/patheffects.py | 114 | # effect in turn. Essentially, we induce recursion (depth 1) which is |
| MEDIUM | lib/matplotlib/patheffects.py | 132 | # effect in turn. Essentially, we induce recursion (depth 1) which is |
| LOW | lib/matplotlib/tri/_triinterpolate.py | 1386 | # is safe to simply return the null matrix (which is the implementation in |
| MEDIUM | lib/matplotlib/backends/backend_svg.py | 55 | # pertaining to distribution of the software without specific, written |
| LOW | lib/matplotlib/backends/backend_qtagg.py | 74 | # full draw in Qt, so just set the flag for next time. |
| LOW | lib/matplotlib/tests/test_sankey.py | 9 | # let's just create a sankey instance and check the code runs |
| MEDIUM | lib/matplotlib/tests/test_axes.py | 5718 | # test that it is robust against pan/zoom and |
| LOW | lib/matplotlib/tests/test_legend.py | 354 | # it's a common error to just pass handles |
| LOW | lib/matplotlib/projections/polar.py | 410 | # LinearScale.set_default_locators_and_formatters just set the major |
| LOW | galleries/users_explain/customizing.py | 144 | # good in a presentation, you can just add:: |
| MEDIUM | galleries/users_explain/axes/colorbar_placement.py | 71 | # paradigm. Note that this example works far better with |
| LOW | galleries/users_explain/axes/tight_layout_guide.py | 237 | # remove the legend from the bounding box calculation, we simply set its |
| LOW | galleries/users_explain/artists/transforms_tutorial.py | 555 | # logarithmic axes. When an Axes is initially setup, this is just set to |
| MEDIUM | galleries/users_explain/text/annotations.py | 615 | # pixel (radius = 10 pixel), you can utilize |
| LOW | galleries/examples/statistics/boxplot_demo.py | 96 | # arrays. For code brevity, just use the same random indices for each array |
| LOW | galleries/examples/statistics/boxplot_demo.py | 166 | # (just use two decimal places of precision) |
| LOW | galleries/examples/ticks/date_precision_and_epochs.py | 81 | # should just set the epoch once, if at all. |
| LOW | …es/examples/images_contours_and_fields/triplot_demo.py | 95 | # Rather than create a Triangulation object, can simply pass x, y and triangles |
| LOW | …examples/images_contours_and_fields/tricontour_demo.py | 135 | # Rather than create a Triangulation object, can simply pass x, y and triangles |
| LOW | …/examples/images_contours_and_fields/tripcolor_demo.py | 112 | # Rather than create a Triangulation object, can simply pass x, y and triangles |
| LOW | …es/examples/user_interfaces/embedding_webagg_sgskip.py | 54 | # framework, but here we just use Python string formatting. |
| LOW | …ies/examples/user_interfaces/embedding_in_qt_sgskip.py | 33 | # incompatible between PyQt6 and other bindings, so we just add the |
| LOW | galleries/examples/widgets/annotated_cursor.py | 160 | # If not, just return. |
| LOW | galleries/tutorials/coding_shortcuts.py | 119 | # in fact you just pass the desired properties to the factory functions. You are likely |
| MEDIUM | galleries/tutorials/artists.py | 162 | # animated A boolean that is used to facilitate animated drawing |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/matplotlib/__init__.py | 1444 | # make sure to keep message and test in sync |
| LOW | lib/matplotlib/sphinxext/figmpl_directive.py | 177 | # make sure to add the trailing slash: |
| MEDIUM | lib/matplotlib/backends/backend_pdf.py | 65 | # light PDF files you can use directly in LaTeX or ConTeXt documents |
| LOW | lib/matplotlib/backends/backend_agg.py | 440 | # don't forget to call the superclass. |
| LOW | lib/matplotlib/backends/backend_agg.py | 440 | # don't forget to call the superclass. |
| LOW | doc/conf.py | 256 | # make sure to ignore warnings that stem from simply inspecting deprecated |
| MEDIUM | galleries/users_explain/quick_start.py | 486 | # Similarly, you can add a `~.Axes.secondary_xaxis` or |
| MEDIUM | galleries/users_explain/quick_start.py | 573 | # object references you can add Artists to either Figure. |
| MEDIUM | galleries/users_explain/axes/arranging_axes.py | 333 | # When a *GridSpec* is explicitly used, you can adjust the layout |
| MEDIUM | galleries/users_explain/axes/mosaic.py | 125 | # Alternatively, you can use the more compact string notation |
| MEDIUM | galleries/users_explain/axes/mosaic.py | 265 | # Alternatively, you can use the sub-Figure functionality: |
| MEDIUM | galleries/users_explain/colors/colormapnorms.py | 292 | # you can change the scale by calling ``cb.ax.set_yscale('linear')``, as shown |
| MEDIUM | galleries/users_explain/colors/colormapnorms.py | 315 | # If the above norms do not provide the normalization you want, you can use |
| MEDIUM | galleries/users_explain/artists/transforms_tutorial.py | 251 | # location remain fixed when you pan or zoom. Here is a simple example that |
| MEDIUM | galleries/users_explain/text/mathtext.py | 280 | # Additionally, you can use ``\mathdefault{...}`` or its alias |
| MEDIUM | galleries/examples/statistics/bxp.py | 50 | # Conversely, you can also use the `~.axes.Axes.bxp` function directly, if you already |
| MEDIUM | galleries/examples/ticks/date_index_formatter.py | 65 | # Instead of passing a function into `.Axis.set_major_formatter` you can use |
| LOW | …lleries/examples/ticks/colorbar_tick_labelling_demo.py | 30 | # Add colorbar, make sure to specify tick locations to match desired ticklabels |
| MEDIUM | …es/examples/images_contours_and_fields/contour_demo.py | 75 | # Or you can use a colormap to specify the colors; the default |
| MEDIUM | …es/examples/lines_bars_and_markers/curve_error_band.py | 37 | # 2D. If you just have a standard y-vs.-x plot, you can use the simpler |
| LOW | galleries/examples/lines_bars_and_markers/hat_graph.py | 46 | # Initialise labels and a numpy array make sure you have |
| MEDIUM | galleries/tutorials/images.py | 108 | # Note that you can also change colormaps on existing plot objects using the |
| MEDIUM | galleries/tutorials/pyplot.py | 375 | # :ref:`mathtext`. Thus, you can use mathematical text across |
| MEDIUM | galleries/tutorials/pyplot.py | 377 | # and dvipng installed, you can also use LaTeX to format your text and |
| MEDIUM | galleries/tutorials/pyplot.py | 315 | # stateful wrapper around an object-oriented API, which you can use |
| MEDIUM | galleries/tutorials/artists.py | 148 | # which you can use to set the background color and transparency of the |
| MEDIUM | galleries/tutorials/artists.py | 187 | # If you want to set a number of properties at once, you can also use |
| MEDIUM | galleries/tutorials/artists.py | 317 | # attributes, which you can use to add primitives directly. When doing so, the |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | lib/matplotlib/backend_bases.py | 3354 | self._nav_stack.push( |
| HIGH | lib/matplotlib/cbook.py | 708 | return self.push(self._elements[0]) if self._elements else None |
| HIGH | lib/matplotlib/_animation_data.py | 9 | return ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident/") > -1; |
| HIGH | lib/matplotlib/_animation_data.py | 20 | this.timer = null; |
| HIGH | lib/matplotlib/_animation_data.py | 35 | slider.setAttribute('oninput', null); |
| HIGH | lib/matplotlib/_animation_data.py | 48 | return undefined; |
| HIGH | lib/matplotlib/_animation_data.py | 135 | this.timer = null; |
| HIGH | lib/matplotlib/backends/_backend_gtk.py | 216 | # Running after quit is undefined, so create a new one next time. |
| HIGH | lib/matplotlib/backends/backend_pdf.py | 2032 | output(*self.gc.push()) |
| HIGH | lib/matplotlib/backends/backend_pdf.py | 2518 | cmds.extend(self.push()) |
| HIGH | …lleries/examples/user_interfaces/svg_tooltip_sgskip.py | 87 | if ( window.svgDocument == null ) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | lib/matplotlib/backend_bases.py | 3383 | self.subplot_tool.figure.canvas.manager.show() |
| CRITICAL | doc/sphinxext/rcparams.py | 19 | self.state.document.settings.env.note_dependency(__file__) |
| CRITICAL | doc/sphinxext/rcparams.py | 20 | self.state.document.settings.env.note_dependency(rcsetup.__file__) |
| CRITICAL | …lleries/examples/event_handling/image_slices_viewer.py | 41 | self.im.axes.figure.canvas.draw() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/gh_api.py | 44 | except Exception: |
| LOW | tools/subset.py | 55 | except Exception: |
| LOW | tools/visualize_tests.py | 148 | except Exception: |
| LOW | lib/matplotlib/axis.py | 1953 | except Exception as e: |
| LOW | lib/matplotlib/backend_bases.py | 1589 | except Exception: |
| LOW | lib/matplotlib/cbook.py | 392 | except Exception as exc: |
| LOW | lib/matplotlib/cbook.py | 2490 | except Exception: |
| LOW | lib/matplotlib/font_manager.py | 137 | except Exception: # Exceptions thrown by home() are not specified... |
| LOW | lib/matplotlib/font_manager.py | 1262 | except Exception as exc: |
| LOW | lib/matplotlib/font_manager.py | 1839 | except Exception: |
| LOW | lib/matplotlib/__init__.py | 935 | except Exception as msg: |
| LOW | lib/matplotlib/__init__.py | 1393 | except Exception: |
| MEDIUM | lib/matplotlib/__init__.py | 853 | def _get_ssl_context(): |
| LOW | lib/matplotlib/artist.py | 1770 | except Exception: |
| LOW | lib/matplotlib/table.py | 362 | except Exception as err: |
| LOW | lib/matplotlib/rcsetup.py | 133 | except Exception: |
| LOW | lib/matplotlib/rcsetup.py | 926 | except Exception as e: |
| LOW | lib/matplotlib/colors.py | 673 | except Exception as err: |
| LOW | lib/matplotlib/colors.py | 1220 | except Exception as e: |
| LOW | lib/matplotlib/colors.py | 1225 | except Exception as e2: |
| LOW | lib/matplotlib/axes/_axes.py | 3053 | except Exception: |
| LOW | lib/matplotlib/sphinxext/mathmpl.py | 136 | except Exception: |
| LOW | lib/matplotlib/sphinxext/plot_directive.py | 303 | except Exception as e: |
| LOW | lib/matplotlib/sphinxext/plot_directive.py | 779 | except Exception as err: |
| LOW | lib/matplotlib/backends/backend_qt.py | 521 | except Exception: |
| LOW | lib/matplotlib/backends/backend_qt.py | 961 | except Exception as e: |
| LOW | lib/matplotlib/backends/registry.py | 408 | except Exception: # KeyError ? |
| LOW | lib/matplotlib/backends/backend_pgf.py | 351 | except Exception as err: |
| LOW | lib/matplotlib/backends/backend_gtk4.py | 427 | except Exception as e: |
| MEDIUM | lib/matplotlib/backends/backend_gtk4.py | 317 | def idle_draw(*args): |
| LOW | lib/matplotlib/backends/backend_gtk3.py | 396 | except Exception as e: |
| LOW | lib/matplotlib/backends/backend_wx.py | 1164 | except Exception as e: |
| LOW | lib/matplotlib/backends/_backend_tk.py | 957 | except Exception as e: |
| MEDIUM | lib/matplotlib/backends/_backend_tk.py | 494 | def set_cursor(self, cursor): |
| LOW | lib/matplotlib/tests/test_backends_interactive.py | 728 | except Exception: |
| LOW | lib/matplotlib/tests/test_backends_interactive.py | 790 | except Exception: |
| LOW | lib/matplotlib/tests/test_font_manager.py | 402 | except Exception: |
| LOW | lib/matplotlib/projections/__init__.py | 61 | except Exception: |
| LOW | galleries/examples/units/basic_units.py | 99 | except Exception: |
| LOW | galleries/examples/lines_bars_and_markers/timeline.py | 37 | except Exception: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/stubtest.py | 101 | # Assign parents to tree so they can be backtraced |
| LOW | lib/matplotlib/axis.py | 1408 | # Check if major ticks should be computed. |
| LOW | lib/matplotlib/axis.py | 1422 | # Check if minor ticks should be computed. |
| LOW | lib/matplotlib/cbook.py | 1454 | # Iterate over list of iterables. |
| LOW | lib/matplotlib/widgets.py | 3047 | # Check if we've clicked inside the region |
| LOW | lib/matplotlib/widgets.py | 3853 | # Check if we've clicked inside the region |
| LOW | lib/matplotlib/table.py | 758 | # Check if we have a Pandas DataFrame |
| LOW | lib/matplotlib/ticker.py | 2722 | # Check if linear range is present |
| LOW | lib/matplotlib/contour.py | 504 | # Check if long enough for a label |
| LOW | lib/matplotlib/streamplot.py | 201 | # Check if start_points are outside the data boundaries |
| LOW | lib/matplotlib/colors.py | 3667 | # Check if input is in the expected range |
| LOW | lib/matplotlib/axes/_axes.py | 7585 | # Loop through datasets |
| LOW | lib/matplotlib/backends/backend_gtk3cairo.py | 26 | # Set renderer to physical size so it renders in full resolution. |
| LOW | lib/matplotlib/backends/registry.py | 103 | # Check if have specific name to module mapping. |
| LOW | lib/matplotlib/tests/test_backend_bases.py | 581 | # Check if twin-axes are properly triggered |
| LOW | lib/matplotlib/tests/test_dates.py | 1322 | # Set it to Iceland |
| LOW | lib/matplotlib/tests/test_patches.py | 1124 | # Set back to None |
| LOW | lib/matplotlib/tests/test_collections.py | 1334 | # Check if masked data is respected by scatter |
| LOW | lib/matplotlib/tests/test_axes.py | 660 | # Set enable to None |
| LOW | lib/matplotlib/tests/test_axes.py | 8991 | ax.plot([.4, .6], [.4, .6]) # Set minpos to keep logit happy. |
| LOW | lib/matplotlib/tests/test_axes.py | 9004 | ax.plot([.4, .6], [.4, .6]) # Set minpos to keep logit happy. |
| LOW | lib/matplotlib/tests/test_matplotlib.py | 104 | # Set USERPROFILE to tmp_path so the old location check finds nothing |
| LOW | galleries/examples/statistics/errorbars_and_boxes.py | 46 | # Loop over data points; create box from errors at each point |
| LOW | …/images_contours_and_fields/image_annotated_heatmap.py | 70 | # Loop over data dimensions and create text annotations. |
| LOW | …/images_contours_and_fields/image_annotated_heatmap.py | 203 | # Loop over the data and create a `Text` for each "pixel". |
| LOW | galleries/examples/widgets/annotated_cursor.py | 159 | # Check if the display of text is still necessary. |
| LOW | .circleci/config.yml | 141 | # Set epoch to date of latest tag. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/matplotlib/artist.py | 568 | # we need to check if mouseevent.inaxes is None |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/matplotlib/tests/test_text.py | 887 | def helper(): |