AI Slop Code RIsk Monitor

pyvista/pyvista

3D visualization and mesh analysis for science and engineering

20.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for pyvista/pyvista, a Python project with 3,843 GitHub stars. SynthScan examined 305,720 lines of code across 938 source files, recording 6194 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 20.4 (Elevated 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.

20.4
Adjusted Signal
20.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.8K
Stars
Python
Language
305.7K
Lines of Code
938
Files
6.2K
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 50.4/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 4563 finding(s).

Hallucinated Dependency & Supply Chain Risk 17.2/100 · LOW

Are imports declared and package/API names verified? 1332 finding(s).

Agent Over-Engineering Ratio 49.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 4353 finding(s).

PR Review Velocity Impact 69.1/100 · HIGH

Which changes need focused human review? 6194 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 1HIGH 107MEDIUM 225LOW 5861

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 6194 distinct pattern matches across 19 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.

Hyper-Verbose Identifiers3868 hits · 3294 pts
SeverityFileLineSnippetContext
LOWtoxfile.py28def _get_ci_xdist_auto_workers() -> str:CODE
LOWtoxfile.py105def _get_freezed_requirements(lines: list[str]) -> Generator[tuple[str, Version], None, None]:CODE
LOW⚡tests/conftest.py75 def _save_component_registry_state():CODE
LOW⚡tests/conftest.py78 def _restore_component_registry_state(state): # noqa: ARG001CODE
LOW⚡tests/conftest.py81 def _save_style_registry_state():CODE
LOW⚡tests/conftest.py84 def _restore_style_registry_state(state): # noqa: ARG001CODE
LOW⚡tests/conftest.py87 def _save_theme_registry_state():CODE
LOW⚡tests/conftest.py90 def _restore_theme_registry_state(state): # noqa: ARG001CODE
LOWtests/conftest.py390def multiblock_all_no_pointset(datasets_no_pointset):CODE
LOWtests/conftest.py402def multiblock_all_no_pointset_with_nested_and_none(CODE
LOWtests/conftest.py411def multiblock_all_with_nested_and_none(datasets, multiblock_all):CODE
LOWtests/conftest.py441def pytest_runtest_makereport(item, call): # noqa: ARG001CODE
LOWtests/conftest.py681def pytest_collection_modifyitems(config, items): # noqa: ARG001CODE
LOWtests/conftest.py712def _check_args_kwargs_marker(item_mark: pytest.Mark, sig: inspect.Signature):CODE
LOWtests/conftest.py1021def pytest_pyvista_max_vtksz_file_size_hook(test_case, request): # noqa: ARG001CODE
LOWtests/test_import_conventions.py77def _documented_member_modules() -> set[str]:CODE
LOWtests/test_import_conventions.py111def test_convention_lists_are_disjoint():CODE
LOW⚡tests/test_import_conventions.py122def test_documentation_matches_the_enforced_member_list():CODE
LOW⚡tests/test_import_conventions.py132def test_convention_lists_are_not_empty():CODE
LOW⚡tests/test_import_conventions.py139def test_waived_modules_are_not_also_governed(waived):CODE
LOW⚡tests/test_import_conventions.py147def test_every_imported_stdlib_module_is_governed():CODE
LOW⚡tests/test_check_doctest_names.py63def test_names_used_before_they_are_bound(source, expected):CODE
LOW⚡tests/test_check_doctest_names.py68def test_names_bound_by_an_earlier_line_are_clean():CODE
LOW⚡tests/test_check_doctest_names.py74def test_loop_and_context_targets_bind():CODE
LOWtests/test_check_doctest_names.py89def test_syntax_error_propagates():CODE
LOWtests/test_conftest.py97def test_dotted_cov_target_rejected(sources, raises):CODE
LOWtests/test_conftest.py108def test_warnings_turned_to_errors(CODE
LOWtests/test_conftest.py299 def test_between_variadic_max_equals(): ...CODE
LOWtests/test_conftest.py302 def test_between_variadic_min_equals(): ...CODE
LOWtests/test_conftest.py330 def case_raises_both_args_min_kwargs(self):STRING
LOW⚡tests/test_conftest.py433def test_needs_vtk_version_raises(tests: str, outcome: dict, pytester: pytest.Pytester):STRING
LOW⚡tests/test_conftest.py441def test_needs_vtk_version_reason(tests: str, match: list[str], pytester: pytest.Pytester):STRING
LOW⚡tests/test_conftest.py448def test_needs_vtk_version_raises_vtk_version_error(STRING
LOWtests/test_conftest.py552 def test_skipped_message_args():CODE
LOWtests/test_conftest.py622 def test_skipped_platform_machine():CODE
LOWtests/test_conftest.py669def test_notebook_mode_is_pinned_off():STRING
LOWtests/test_conftest.py682def test_flaky_test_retries_until_it_passes(capsys):STRING
LOWtests/test_conftest.py697def test_flaky_test_reraises_after_the_last_attempt(capsys):STRING
LOWtests/test_conftest.py717def test_flaky_test_does_not_retry_an_unlisted_exception():STRING
LOWtests/test_conftest.py743def test_vtksz_file_size_exceptions(request, test_name, expected):STRING
LOWtests/test_conftest.py752def test_vtk_output_fails_the_test(CODE
LOWtests/test_conftest.py794def test_vtk_output_markers_need_a_reason(pytester: pytest.Pytester):STRING
LOWtests/test_hooks.py108def test_private_class_docstrings_reports(CODE
LOWtests/test_hooks.py151def test_private_class_docstrings_nested_and_clean(CODE
LOWtests/test_hooks.py177def test_private_class_docstrings_nested_class_needs_docstring(CODE
LOWtests/test_hooks.py195def test_private_class_docstrings_reads_non_ascii(CODE
LOW⚡tests/test_cli.py216 def case_additional_multiple_kw(self):CODE
LOW⚡tests/test_cli.py219 def case_additional_multiple_args(self):CODE
LOW⚡tests/test_cli.py225 def case_additional_textwidth(self):CODE
LOWtests/test_cli.py174def test_command_paths_required(capsys: pytest.CaptureFixture, command):CODE
LOWtests/test_cli.py307def tmp_ant_file_invalid_multiblock(tmp_ant_file):CODE
LOWtests/test_cli.py322def test_convert_dir_only_error(tmp_ant_file: Path, capsys: pytest.CaptureFixture):CODE
LOWtests/test_cli.py334def test_convert_file_not_found(capsys: pytest.CaptureFixture):CODE
LOWtests/test_cli.py368def test_convert_read_error_keeps_install_hint(CODE
LOWtests/test_cli.py390def test_convert_multiple_inputs(tmp_example_dir, tmp_ant_file: Path):CODE
LOWtests/test_cli.py399def test_convert_multiple_inputs_subdir(tmp_example_dir, tmp_ant_file: Path):CODE
LOWtests/test_cli.py453def test_convert_glob_subdir_writes_adjacent(tmp_example_dir, tmp_ant_file: Path):CODE
LOWtests/test_cli.py469def test_convert_glob_no_match(capsys: pytest.CaptureFixture):CODE
LOWtests/test_cli.py484def test_multiblock_drops_sidecar_children(CODE
LOWtests/test_cli.py528def test_convert_multiblock_keeps_orphan_children(tmp_example_dir: Path):CODE
3808 more matches not shown…
Unused Imports1319 hits · 1073 pts
SeverityFileLineSnippetContext
LOWtoxfile.py1CODE
LOWcheck_local_vtk_wheel.py7CODE
LOWtests/generate_test_image_report.py15CODE
LOWtests/test_meshio.py1CODE
LOWtests/conftest.py1CODE
LOWtests/conftest.py27CODE
LOWtests/test_import_conventions.py10CODE
LOWtests/test_check_doctest_names.py3CODE
LOWtests/test_conftest.py1CODE
LOWtests/check_doctest_names.py17CODE
LOWtests/test_hooks.py3CODE
LOWtests/gc_check.py27CODE
LOWtests/test_meta.py8CODE
LOWtests/test_cli.py1CODE
LOWtests/test_cli.py1149CODE
LOWtests/test_cli.py1152CODE
LOWtests/test_cli.py1153CODE
LOWtests/test_cli.py1154CODE
LOWtests/test_cli.py1155CODE
LOWtests/test_cli.py1156CODE
LOWtests/test_cli.py1157CODE
LOWtests/test_cli.py1257CODE
LOWtests/test_cli.py1258CODE
LOWtests/test_cli.py1260CODE
LOWtests/test_cli.py1264CODE
LOWtests/test_cli.py1265CODE
LOWtests/test_cli.py1266CODE
LOWtests/test_cli.py1267CODE
LOWtests/test_cli.py1268CODE
LOWtests/test_cli.py1269CODE
LOWtests/test_cli.py1270CODE
LOWtests/test_cli.py1271CODE
LOWtests/test_gc_check.py12CODE
LOWtests/test_init.py1CODE
LOWtests/vtk_backend_divergence.py11CODE
LOWtests/test_attributes.py1CODE
LOWtests/test_warn_external.py1CODE
LOWtests/core/test_composite.py1CODE
LOWtests/core/test_reader.py1CODE
LOWtests/core/test_image_sources.py1CODE
LOWtests/core/test_formatting_html.py3CODE
LOWtests/core/test_gc.py13CODE
LOWtests/core/test_grid.py1CODE
LOWtests/core/test_vtk_backend.py3CODE
LOWtests/core/test_parametric_geometry.py1CODE
LOWtests/core/test_partitioned.py1CODE
LOWtests/core/test_accessor_registry.py3CODE
LOWtests/core/test_rectilinear_grid_filters.py1CODE
LOWtests/core/test_cells.py1CODE
LOWtests/core/test_polydata.py1CODE
LOWtests/core/test_polydata.py18CODE
LOWtests/core/test_unstructured_grid_filters.py3CODE
LOWtests/core/test_utilities.py3CODE
LOWtests/core/test_pointset.py3CODE
LOWtests/core/test_cell_lengths.py1CODE
LOWtests/core/test_dataobject.py1CODE
LOWtests/core/test_geometric_sources.py1CODE
LOWtests/core/test_override_readers.py3CODE
LOWtests/core/test_dataset.py3CODE
LOWtests/core/test_dataset_filters.py1CODE
1259 more matches not shown…
Self-Referential Comments136 hits · 414 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_cli.py350 # Create a dummy .vtp file with empty contentsCOMMENT
MEDIUMtests/core/test_polydata.py1239 # Define a simple Gaussian surfaceCOMMENT
MEDIUMtests/core/test_polydata.py1334 # Create a poly lineCOMMENT
MEDIUMtests/core/test_dataset_filters.py1010 # Define the plane explicitlyCOMMENT
MEDIUMtests/core/test_dataset_filters.py1042 # Define the center explicitlyCOMMENT
MEDIUMtests/core/test_dataset_filters.py4730 # Create a simple meshCOMMENT
MEDIUM⚡tests/plotting/test_volume_property.py110 # Create a mock lookup tableCOMMENT
MEDIUM⚡tests/plotting/test_texture.py297 # Create the poly dataCOMMENT
MEDIUMtests/plotting/test_picking.py780 # Create a mesh with point dataCOMMENT
MEDIUMtests/plotting/test_render_window_interactor.py219 # Create a normal interactor from the offscreen plotter (not generic,COMMENT
MEDIUM⚡tests/plotting/test_theme_registry.py68 # Creating the subclass must not register it under any other nameCOMMENT
MEDIUM⚡tests/plotting/mappers/test_mapper.py401 # Create a new mesh with the same arrayCOMMENT
MEDIUMpyvista/core/pointset.py4820 # This method is required to avoid conflict if a developer extends `ExplicitStructuredGrid`COMMENT
MEDIUMpyvista/core/cell.py1161# The following methods would be much nicer bound to CellArray,COMMENT
MEDIUMpyvista/core/dataset.py2719 >>> # Create a grid with 9 points and 4 cellsSTRING
MEDIUMpyvista/core/composite.py2189 # This method is here for consistency with the rest of the API andCOMMENT
MEDIUMpyvista/core/filters/image_data.py876 # Create a binary foreground/background mask arrayCOMMENT
MEDIUMpyvista/core/filters/image_data.py1531 >>> # Create an initial background pointSTRING
MEDIUMpyvista/core/filters/data_set.py6444 # Create a second mesh with points. This is required for the mergeCOMMENT
MEDIUMpyvista/core/filters/composite.py240 # Create a copy and replace all the blocksCOMMENT
MEDIUMpyvista/core/filters/data_object.py4318 # Create the three slicesCOMMENT
MEDIUMpyvista/core/utilities/geometric_objects.py291 # Create the gridCOMMENT
MEDIUMpyvista/plotting/mapper.py1336 # Create a custom RGBA array to supply our opacity toCOMMENT
MEDIUMpyvista/plotting/texture.py162 # Create a cubemapCOMMENT
MEDIUMexamples/00-load/create_text_3d.py14# Create an Extruded Text MeshCOMMENT
MEDIUMexamples/00-load/linear_cells.py105# Create an UnstructuredGrid With a Single Linear CellCOMMENT
MEDIUMexamples/00-load/linear_cells.py283# Create a list of all linear cell types. The list has 19 cell types.COMMENT
MEDIUMexamples/00-load/create_structured_surface.py21# Create a simple meshgrid using NumPy. Note the usage of ``ij`` indexing.COMMENT
MEDIUMexamples/00-load/create_truss.py22# Define the points and elements of the truss. Call them ``nodes``COMMENT
MEDIUMexamples/00-load/create_tri_surface.py27# Define a simple Gaussian surfaceCOMMENT
MEDIUMexamples/00-load/create_tri_surface.py66# Create the point cloud mesh to triangulate from the coordinatesCOMMENT
MEDIUMexamples/00-load/create_tri_surface.py87# Define a polygonal hole with a clockwise polygonCOMMENT
MEDIUMexamples/00-load/create_tri_surface.py90# Create a polydata to store the boundaryCOMMENT
MEDIUMexamples/00-load/create_poly.py47# Create a three face polygonal mesh directly from points and faces.COMMENT
MEDIUMexamples/00-load/create_uniform_grid.py23# Create the 3D NumPy array of spatially referenced data.COMMENT
MEDIUMexamples/00-load/create_uniform_grid.py29# Create the spatial referenceCOMMENT
MEDIUMexamples/00-load/create_uniform_grid.py52# Create the 3D NumPy array of spatially referenced dataCOMMENT
MEDIUMexamples/00-load/create_uniform_grid.py58# Create the spatial referenceCOMMENT
MEDIUMexamples/00-load/create_multiple_lines.py15# Create a Winding PolyLineCOMMENT
MEDIUMexamples/00-load/create_kochanek_spline.py21# Create a dataset to plotCOMMENT
MEDIUMexamples/00-load/wrap_trimesh.py52# Create a simple :class:`trimesh.Trimesh` and wrap it.COMMENT
MEDIUMexamples/00-load/create_draped_surface.py72# Define the Z spacing of your 2D sectionCOMMENT
MEDIUMexamples/00-load/create_polydata_strips.py21# Create an array of pointsCOMMENT
MEDIUMexamples/00-load/create_circular_arc.py20# Create an Arc From Two EndpointsCOMMENT
MEDIUMexamples/00-load/create_circular_arc.py48# Create an Arc From a Normal and AngleCOMMENT
MEDIUMexamples/00-load/create_polyhedron.py186# Create the GridCOMMENT
MEDIUM⚡examples/00-load/read_file.py16# The following code block uses a built-in example file and displays anCOMMENT
MEDIUM⚡examples/00-load/read_file.py24# The following code block uses a built-in exampleCOMMENT
MEDIUMexamples/00-load/create_spline.py17# Create a dataset to plotCOMMENT
MEDIUMexamples/00-load/create_spline.py126# Create a spline and its closed counterpart.COMMENT
MEDIUMexamples/00-load/create_spline.py139# Create a spline by parametrizing based on length (default) or point index.COMMENT
MEDIUMexamples/00-load/create_spline.py155# Create a spline and see the effect of boundary constraint.COMMENT
MEDIUMexamples/00-load/create_spline.py193# Create a spline and see the effect of boundary value. It can be set at leftCOMMENT
MEDIUMexamples/00-load/create_pixel_art.py50# Define a helper function to add pixel boxes to plotter.STRING
MEDIUMexamples/98-common/project_points_tessellate.py21# Create a point cloud and project it to a plane.COMMENT
MEDIUMexamples/98-common/project_points_tessellate.py27# Define a planeCOMMENT
MEDIUMexamples/98-common/project_points_tessellate.py42# Create a polydata object with projected pointsCOMMENT
MEDIUMexamples/98-common/project_points_tessellate.py53# Create a plane for visualizationCOMMENT
MEDIUMexamples/99-advanced/warp_by_vector_eigenmodes.py213# Create the 3D NumPy array of spatially referenced dataCOMMENT
MEDIUMexamples/99-advanced/add_example.py94# Create a dataset and exercise it's repr methodSTRING
76 more matches not shown…
Cross-File Repetition72 hits · 360 pts
SeverityFileLineSnippetContext
HIGHtests/typing/cases/core/apply_to_points.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/multiblock_outline_corners.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/fit_plane_to_points.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/transform_apply.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/numpy_to_idarr.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/apply_to_vectors.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGH…ts/typing/cases/core/apply_transformation_to_points.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/principal_axes.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/find_closest_cell.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/axis_rotation.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/fit_line_to_points.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/plotting/image_from_window.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGH…s/typing/cases/plotting/create_axes_orientation_box.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/plotting/screenshot.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/plotting/map_value.py0return a flag typed only as ``bool``, so the catch-all overload applies.STRING
HIGHtests/typing/cases/core/rectilineargrid_z.py0return a rectilinear grid with coordinates set from integers.STRING
HIGHtests/typing/cases/core/rectilineargrid_meshgrid.py0return a rectilinear grid with coordinates set from integers.STRING
HIGHtests/typing/cases/core/rectilineargrid_points.py0return a rectilinear grid with coordinates set from integers.STRING
HIGHtests/typing/cases/core/rectilineargrid_x.py0return a rectilinear grid with coordinates set from integers.STRING
HIGHtests/typing/cases/core/rectilineargrid_y.py0return a rectilinear grid with coordinates set from integers.STRING
HIGHtests/typing/cases/core/recursive_iterator.py0return a flag typed only as ``bool``, so the widened overloads apply.STRING
HIGHtests/typing/cases/core/clip_scalar.py0return a flag typed only as ``bool``, so the widened overloads apply.STRING
HIGHtests/typing/cases/core/clip.py0return a flag typed only as ``bool``, so the widened overloads apply.STRING
HIGHtests/typing/cases/core/transform_apply.py0return a `multiblock` declared to hold only `multiblock` of `polydata`.STRING
HIGHtests/typing/cases/core/multiblock_append.py0return a `multiblock` declared to hold only `multiblock` of `polydata`.STRING
HIGHtests/typing/cases/core/apply_to_dataset.py0return a `multiblock` declared to hold only `multiblock` of `polydata`.STRING
HIGHtests/typing/cases/core/multiblock_getitem.py0return a `multiblock` declared to hold only `multiblock` of `polydata`.STRING
HIGHtests/typing/cases/core/structuredgrid_z.py0return a structured grid that keeps integer points.STRING
HIGHtests/typing/cases/core/structuredgrid_points_matrix.py0return a structured grid that keeps integer points.STRING
HIGHtests/typing/cases/core/structuredgrid_y.py0return a structured grid that keeps integer points.STRING
HIGHtests/typing/cases/core/structuredgrid_x.py0return a structured grid that keeps integer points.STRING
HIGHtests/typing/cases/plotting/get_image_depth.py0return a plotter that has rendered one mesh and is still open.STRING
HIGHtests/typing/cases/plotting/screenshot.py0return a plotter that has rendered one mesh and is still open.STRING
HIGHtests/typing/cases/plotting/image.py0return a plotter that has rendered one mesh and is still open.STRING
HIGHtests/typing/cases/plotting/add_north_arrow_widget.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_ruler.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_legend_scale.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_floor.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_orientation_widget.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_box_axes.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/compute_bounds.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/show_bounds.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_scalar_bar.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_actor.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/show_grid.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_legend.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_axes.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_bounding_box.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/remove_actor.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/enable_depth_peeling.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/add_axes_at_origin.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHtests/typing/cases/plotting/get_default_cam_pos.py0return a plotter holding one mesh, not yet rendered.STRING
HIGHpyvista/core/grid.py0return the representation methods (internal helper).STRING
HIGHpyvista/core/pointset.py0return the representation methods (internal helper).STRING
HIGHpyvista/core/cell.py0return the representation methods (internal helper).STRING
HIGHpyvista/core/dataobject.py0return the representation methods (internal helper).STRING
HIGHpyvista/core/partitioned.py0return the representation methods (internal helper).STRING
HIGHpyvista/core/dataset.py0return the representation methods (internal helper).STRING
HIGHpyvista/core/composite.py0return the representation methods (internal helper).STRING
HIGHpyvista/plotting/texture.py0return the representation methods (internal helper).STRING
12 more matches not shown…
Decorative Section Separators72 hits · 231 pts
SeverityFileLineSnippetContext
MEDIUM.gitpod.yml4# --------------------------------------------------------COMMENT
MEDIUMtests/core/test_dataset.py1624# ------------------COMMENT
MEDIUMtests/core/test_dataset.py1626# ------------------COMMENT
MEDIUM⚡tests/core/test_datasetattributes.py1061# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_datasetattributes.py1063# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/core/test_datasetattributes.py775# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/core/test_datasetattributes.py777# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/ext/plot_directive.py231# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/ext/plot_directive.py233# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/ext/plot_directive.py389# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/ext/plot_directive.py391# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/ext/plot_directive.py447# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/ext/plot_directive.py449# -----------------------------------------------------------------------------COMMENT
MEDIUMpyvista/plotting/plotter.py7748 # =======================================================================COMMENT
MEDIUMpyvista/plotting/plotter.py7750 # =======================================================================COMMENT
MEDIUMpyvista/plotting/plotter.py7942 # =======================================================================COMMENT
MEDIUMpyvista/plotting/plotter.py7944 # =======================================================================COMMENT
MEDIUMpyvista/plotting/plotter.py8136 # =======================================================================COMMENT
MEDIUMpyvista/plotting/plotter.py8138 # =======================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py372 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py374 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py477 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py479 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py508 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py510 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py852 # =========================================================================COMMENT
MEDIUM⚡pyvista/plotting/picking.py854 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py391 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py393 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py427 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py429 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py544 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py546 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py1771 # =========================================================================COMMENT
MEDIUMpyvista/plotting/picking.py1773 # =========================================================================COMMENT
MEDIUMexamples/00-load/create_unstructured_surface.py76# -----------------------------------COMMENT
MEDIUMexamples/00-load/wrap_trimesh.py33# -----------------COMMENT
MEDIUMexamples/00-load/wrap_trimesh.py51# --------------------COMMENT
MEDIUMexamples/00-load/wrap_trimesh.py109# ---------------COMMENT
MEDIUMexamples/99-advanced/mesh_validation.py19# ----------------COMMENT
MEDIUMexamples/99-advanced/mesh_validation.py56# -------------------------COMMENT
MEDIUMexamples/99-advanced/mesh_validation.py108# -----------------------COMMENT
MEDIUMexamples/99-advanced/mesh_validation.py164# -------------------------COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py25# ------------COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py51# =============COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py67# -----------------COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py73# =================COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py86# ================COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py114# -----------------COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py119# =====================COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py138# =======================COMMENT
MEDIUMexamples/99-advanced/anatomical_groups.py171# ============COMMENT
MEDIUMexamples/04-lights/light_types.py46# ============COMMENT
MEDIUMexamples/04-lights/light_types.py67# ===========COMMENT
MEDIUMexamples/04-lights/plotter_lighting.py54# =========================COMMENT
MEDIUMexamples/04-lights/plotter_lighting.py79# ===============COMMENT
MEDIUMexamples/04-lights/plotter_lighting.py96# ============================COMMENT
MEDIUMexamples/02-plot/axes_objects.py58# ==========COMMENT
MEDIUMexamples/02-plot/axes_objects.py119# ============COMMENT
MEDIUMexamples/02-plot/axes_objects.py165# =========================COMMENT
12 more matches not shown…
Over-Commented Block163 hits · 162 pts
SeverityFileLineSnippetContext
LOWtests/core/test_dataset_filters.py801COMMENT
LOWtests/plotting/test_plotting.py3001COMMENT
LOWpyvista/core/_vtk_utilities.py161# connectivity without an explicit offsets array). Bind the capability check onceCOMMENT
LOWpyvista/core/utilities/accessor_registry.py141 # Accessor names declared via entry points that have not yet hadCOMMENT
LOWpyvista/plotting/plot_compare.py1041 # Empty subplots are skipped throughout, since an empty renderer reports defaultCOMMENT
LOWpyvista/plotting/plot_compare.py1081 if cpos is None or isinstance(cpos, str):COMMENT
LOWpyvista/plotting/utilities/regression.py181 else:COMMENT
LOWexamples/00-load/create_sphere.py41mesh.get_cell(0).typeCOMMENT
LOWexamples/00-load/create_sphere.py181points = np.vstack((x.ravel(), y.ravel(), z.ravel())).transpose()COMMENT
LOWexamples/00-load/linear_cells.py81# %%COMMENT
LOWexamples/00-load/create_structured_surface.py41COMMENT
LOWexamples/00-load/create_structured_surface.py101plt.figure(figsize=(10, 10))COMMENT
LOWexamples/00-load/create_structured_surface.py121# :class:`pyvista.StructuredGrid` as follows:COMMENT
LOWexamples/00-load/create_unstructured_surface.py61grid = pv.UnstructuredGrid(cells, cell_type, points)COMMENT
LOWexamples/00-load/create_unstructured_surface.py201# %%COMMENT
LOWexamples/00-load/create_point_cloud.py41# Columns are (X Y Z)COMMENT
LOWexamples/00-load/create_point_cloud.py61# sphinx_gallery_end_ignoreCOMMENT
LOWexamples/00-load/create_point_cloud.py81# And now we can plot the point cloud with that random data. PyVista is smartCOMMENT
LOWexamples/00-load/reader.py41COMMENT
LOWexamples/00-load/create_platonic_solids.py21# and specify the different kinds of solids to generate, or we can use the thinCOMMENT
LOWexamples/00-load/read_parallel.py21# Let's go ahead and download the sample dataset containing anCOMMENT
LOWexamples/00-load/create_multiple_lines.py41# %%COMMENT
LOWexamples/00-load/read_image.py21COMMENT
LOWexamples/00-load/create_polydata_strips.py61COMMENT
LOWexamples/00-load/create_polydata_strips.py101# original ``mesh``.COMMENT
LOWexamples/00-load/create_explicit_structured_grid.py41# %%COMMENT
LOWexamples/00-load/create_polyhedron.py81# these lists to a :class:`numpy.ndarray` with ``dtype=pyvista.ID_TYPE`` andCOMMENT
LOWexamples/00-load/create_polyhedron.py161# :class:`pyvista.UnstructuredGrid`. Here, we join all cells in a flatCOMMENT
LOWexamples/00-load/terrain_following_mesh.py41COMMENT
LOWexamples/98-common/dataframe_export.py61COMMENT
LOWexamples/98-common/dataframe_export.py81# df.to_parquet('point_data.parquet')COMMENT
LOWexamples/99-advanced/magnetic_fields.py21import numpy as npCOMMENT
LOWexamples/99-advanced/extending_pyvista.py81print(f'Type: {type(decimated_foo_sphere)}')COMMENT
LOWexamples/99-advanced/add_example.py81# This will also be translated into a markdown cell in the generated jupyterCOMMENT
LOWexamples/99-advanced/add_example.py101# ~~~~~~~~~~~~~~~~COMMENT
LOWexamples/99-advanced/add_example.py121# cell.COMMENT
LOWexamples/99-advanced/add_example.py181# <https://github.com/pyvista/data>`_, and you can add the file byCOMMENT
LOWexamples/99-advanced/add_example.py201# If you intend on adding an example file, you should add a new function inCOMMENT
LOWexamples/99-advanced/slice_oblique_anatomy.py21COMMENT
LOWexamples/99-advanced/customize_trame_toolbar.py101#COMMENT
LOWexamples/99-advanced/customize_trame_toolbar.py121#COMMENT
LOWexamples/99-advanced/openfoam_cooling.py21import pyvista as pvCOMMENT
LOWexamples/99-advanced/mesh_validation.py41# If we plot the cell, we can see that the concave cell is incorrectly rendered as thoughCOMMENT
LOWexamples/99-advanced/mesh_validation.py141# reported.COMMENT
LOWexamples/99-advanced/anatomical_groups.py21from pyvista import examplesCOMMENT
LOWexamples/99-advanced/anatomical_groups.py41label_names = dataset['segmentations'].keys()COMMENT
LOWexamples/99-advanced/atomic_orbitals.py21#COMMENT
LOWexamples/99-advanced/atomic_orbitals.py41# }COMMENT
LOWexamples/99-advanced/atomic_orbitals.py61# %%COMMENT
LOWexamples/99-advanced/atomic_orbitals.py181COMMENT
LOWexamples/99-advanced/fea_hertzian_contact_pressure.py61# %%COMMENT
LOWexamples/04-lights/light_types.py41pl.show()COMMENT
LOWexamples/04-lights/plotter_lighting.py81# We can introduce our own lighting from scratch by disabling anyCOMMENT
LOWexamples/04-lights/mesh_lighting.py41# For further examples about fine-tuning mesh properties that affectCOMMENT
LOWexamples/02-plot/themes.py41COMMENT
LOWexamples/02-plot/themes.py81cpos = pl.show()COMMENT
LOWexamples/02-plot/colormap.py21# Any colormap built for ``matplotlib``, ``colorcet``, or ``cmocean`` is fullyCOMMENT
LOWexamples/02-plot/colormap.py81# %%COMMENT
LOWexamples/02-plot/colormap.py121 {'title': 'Colorcet Fire (No Lighting)'},COMMENT
LOWexamples/02-plot/volume_rendering.py201# .. _volume_with_mask_example:COMMENT
103 more matches not shown…
AI Structural Patterns186 hits · 132 pts
SeverityFileLineSnippetContext
LOWtests/core/test_composite.py1410CODE
LOWpyvista/_plot.py106CODE
LOWpyvista/core/grid.py739CODE
LOWpyvista/core/pointset.py846CODE
LOWpyvista/core/composite.py308CODE
LOWpyvista/core/composite.py311CODE
LOWpyvista/core/filters/image_data.py556CODE
LOWpyvista/core/filters/image_data.py2383CODE
LOWpyvista/core/filters/image_data.py3863CODE
LOWpyvista/core/filters/image_data.py4318CODE
LOWpyvista/core/filters/image_data.py5022CODE
LOWpyvista/core/filters/image_data.py5352CODE
LOWpyvista/core/filters/image_data.py5354CODE
LOWpyvista/core/filters/image_data.py5356CODE
LOWpyvista/core/filters/image_data.py5359CODE
LOWpyvista/core/filters/data_set.py997CODE
LOWpyvista/core/filters/data_set.py1728CODE
LOWpyvista/core/filters/data_set.py2071CODE
LOWpyvista/core/filters/data_set.py2357CODE
LOWpyvista/core/filters/data_set.py2359CODE
LOWpyvista/core/filters/data_set.py2361CODE
LOWpyvista/core/filters/data_set.py2363CODE
LOWpyvista/core/filters/data_set.py3501CODE
LOWpyvista/core/filters/data_set.py3684CODE
LOWpyvista/core/filters/data_set.py3686CODE
LOWpyvista/core/filters/data_set.py3688CODE
LOWpyvista/core/filters/data_set.py3691CODE
LOWpyvista/core/filters/data_set.py3809CODE
LOWpyvista/core/filters/data_set.py4024CODE
LOWpyvista/core/filters/data_set.py4322CODE
LOWpyvista/core/filters/data_set.py4677CODE
LOWpyvista/core/filters/data_set.py4806CODE
LOWpyvista/core/filters/data_set.py5569CODE
LOWpyvista/core/filters/data_set.py5571CODE
LOWpyvista/core/filters/data_set.py5573CODE
LOWpyvista/core/filters/data_set.py5575CODE
LOWpyvista/core/filters/data_set.py5577CODE
LOWpyvista/core/filters/data_set.py5579CODE
LOWpyvista/core/filters/data_set.py5582CODE
LOWpyvista/core/filters/data_set.py6739CODE
LOWpyvista/core/filters/data_set.py7998CODE
LOWpyvista/core/filters/data_set.py8000CODE
LOWpyvista/core/filters/data_set.py8002CODE
LOWpyvista/core/filters/data_set.py8005CODE
LOWpyvista/core/filters/data_set.py8502CODE
LOWpyvista/core/filters/data_set.py8960CODE
LOWpyvista/core/filters/composite.py431CODE
LOWpyvista/core/filters/poly_data.py938CODE
LOWpyvista/core/filters/poly_data.py1029CODE
LOWpyvista/core/filters/poly_data.py1200CODE
LOWpyvista/core/filters/poly_data.py1441CODE
LOWpyvista/core/filters/poly_data.py1859CODE
LOWpyvista/core/filters/poly_data.py2062CODE
LOWpyvista/core/filters/poly_data.py2419CODE
LOWpyvista/core/filters/poly_data.py3079CODE
LOWpyvista/core/filters/poly_data.py3701CODE
LOWpyvista/core/filters/poly_data.py3911CODE
LOWpyvista/core/filters/poly_data.py4413CODE
LOWpyvista/core/filters/data_object.py3391CODE
LOWpyvista/core/filters/data_object.py3393CODE
126 more matches not shown…
Deep Nesting143 hits · 112 pts
SeverityFileLineSnippetContext
LOWtests/generate_test_image_report.py42CODE
LOWtests/generate_test_image_report.py119CODE
LOWtests/generate_test_image_report.py516CODE
LOWtests/test_meshio.py222CODE
LOWtests/conftest.py950CODE
LOWtests/test_import_conventions.py90CODE
LOWtests/check_doctest_names.py46CODE
LOWtests/check_doctest_names.py183CODE
LOWtests/test_attributes.py200CODE
LOWtests/test_attributes.py448CODE
LOWtests/test_attributes.py449CODE
LOWtests/core/test_composite.py1494CODE
LOWtests/core/test_accessor_registry.py974CODE
LOWtests/core/test_geometric_sources.py197CODE
LOWtests/core/test_geometric_sources.py585CODE
LOWtests/core/test_dataset_filters.py162CODE
LOWtests/core/test_dataset_filters.py4682CODE
LOWtests/core/test_dataset_filters.py5016CODE
LOWtests/core/test_geometric_objects.py38CODE
LOWtests/core/test_dataobject_filters.py64CODE
LOWtests/plotting/test_camera.py297CODE
LOWtests/plotting/test_plotting.py7878CODE
LOWtests/plotting/test_lights.py73CODE
LOWtests/plotting/test_picking.py681CODE
LOWtests/examples/test_cell_examples.py71CODE
LOWtests/doc/test_api_coverage.py122CODE
LOWpyvista/core/grid.py274CODE
LOWpyvista/core/pointset.py2737CODE
LOWpyvista/core/pointset.py3970CODE
LOWpyvista/core/pointset.py4390CODE
LOWpyvista/core/pointset.py4996CODE
LOWpyvista/core/pointset.py5036CODE
LOWpyvista/core/pointset.py5072CODE
LOWpyvista/core/datasetattributes.py199CODE
LOWpyvista/core/datasetattributes.py744CODE
LOWpyvista/core/dataobject.py180CODE
LOWpyvista/core/dataobject.py1019CODE
LOWpyvista/core/partitioned.py70CODE
LOWpyvista/core/dataset.py173CODE
LOWpyvista/core/dataset.py3589CODE
LOWpyvista/core/composite.py199CODE
LOWpyvista/core/composite.py548CODE
LOWpyvista/core/composite.py651CODE
LOWpyvista/core/composite.py1830CODE
LOWpyvista/core/composite.py2291CODE
LOWpyvista/core/composite.py2701CODE
LOWpyvista/core/composite.py2762CODE
LOWpyvista/core/objects.py73CODE
LOWpyvista/core/filters/image_data.py6279CODE
LOWpyvista/core/filters/image_data.py556CODE
LOWpyvista/core/filters/image_data.py3550CODE
LOWpyvista/core/filters/image_data.py3863CODE
LOWpyvista/core/filters/image_data.py4318CODE
LOWpyvista/core/filters/image_data.py5686CODE
LOWpyvista/core/filters/rectilinear_grid.py23CODE
LOWpyvista/core/filters/data_set.py336CODE
LOWpyvista/core/filters/data_set.py2363CODE
LOWpyvista/core/filters/data_set.py5915CODE
LOWpyvista/core/filters/data_set.py6127CODE
LOWpyvista/core/filters/data_set.py8005CODE
83 more matches not shown…
Modern Structural Boilerplate103 hits · 96 pts
SeverityFileLineSnippetContext
LOW…inypages_autocodelink/autocodelink_samples/__init__.py12__all__ = ['Derived']CODE
LOWpyvista/_plot.py52def _set_background(pl: Plotter, background: ColorLike | None) -> None:CODE
LOWpyvista/core/grid.py341 def _update_dimensions(self: Self) -> None:CODE
LOWpyvista/core/datasetattributes.py539 def set_array(self: Self, data: _AnyArrayLike, name: str, *, deep_copy: bool = False) -> None:CODE
LOWpyvista/core/composite.py1642 def set_block_name(self, index: int | str, name: str | None) -> None:CODE
LOWpyvista/core/filters/image_data.py2841 def _set_output_mesh_type(alg_: _vtk.vtkSurfaceNets3D) -> None:CODE
LOWpyvista/core/filters/__init__.py50def _update_alg(alg: _vtk.vtkAlgorithm, *, progress_bar: bool = False, message: str = '') -> None:CODE
LOWpyvista/core/filters/data_set.py6138 def _update_id_mask(logic_: NDArray[np.bool_]) -> None:CODE
LOWpyvista/core/filters/data_object.py1156 def _set_body(self, val: _ReportBodyOptions | None) -> None:CODE
LOWpyvista/core/filters/data_object.py1985 def set_pyvista_validity_state(mesh: DataSet) -> None:CODE
LOWpyvista/core/utilities/geometric_sources.py3641 def _update_templates(self: AxesGeometrySource) -> None:CODE
LOWpyvista/core/utilities/arrays.py1118 def _update_string(self: _SerializedDictArray) -> None:CODE
LOWpyvista/core/utilities/misc.py609def set_new_attribute(obj: object, name: str, value: Any) -> None:CODE
LOW⚡pyvista/core/utilities/reader.py463 def _update_information(self) -> None:CODE
LOW⚡pyvista/core/utilities/reader.py466 def _set_defaults(self) -> None:CODE
LOW⚡pyvista/core/utilities/reader.py469 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py412 def _set_directory(self, directory: str) -> None:CODE
LOWpyvista/core/utilities/reader.py419 def _set_filename(self, filename: str) -> None:CODE
LOWpyvista/core/utilities/reader.py706 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py717 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py911 def _set_filename(self, filename: str) -> None:CODE
LOWpyvista/core/utilities/reader.py949 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py963 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py979 def set_active_time_set(self, time_set: int) -> None:CODE
LOWpyvista/core/utilities/reader.py1013 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py1047 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py1061 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py1483 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py1635 def _set_defaults(self) -> None:CODE
LOWpyvista/core/utilities/reader.py1795 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py2235 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py2246 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py2281 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py2342 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py2356 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py2737 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py3187 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py3234 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py3245 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py3559 def _set_defaults_post(self) -> None:CODE
LOWpyvista/core/utilities/reader.py3917 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py3934 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/reader.py4089 def _set_defaults(self) -> None:CODE
LOWpyvista/core/utilities/reader.py4456 def set_active_time_value(self, time_value: float) -> None:CODE
LOWpyvista/core/utilities/reader.py4467 def set_active_time_point(self, time_point: int) -> None:CODE
LOWpyvista/core/utilities/fileio.py198def set_pickle_format(format: Literal['vtk', 'xml', 'legacy']) -> None: # noqa: A002CODE
LOWpyvista/core/utilities/fileio.py585def _set_reader_attributes(reader: BaseReader[Any], **kwargs) -> None:CODE
LOWpyvista/ext/_autoinherit.py49logger = logging.getLogger(__name__)CODE
LOWpyvista/ext/viewer_directive.py21logger = logging.getLogger(__name__)CODE
LOWpyvista/ext/_autoenum.py28logger = logging.getLogger(__name__)CODE
LOWpyvista/ext/_embed_py_file.py20logger = logging.getLogger(__name__)CODE
LOWpyvista/trame/__init__.py28__all__ = [CODE
LOWpyvista/trame/views.py20__all__ = [CODE
LOWpyvista/trame/jupyter.py23__all__ = [CODE
LOWpyvista/trame/ui/base_viewer.py16__all__ = ['BaseViewer']CODE
LOWpyvista/trame/ui/vuetify3.py21__all__ = [CODE
LOWpyvista/trame/ui/__init__.py17__all__ = [CODE
LOWpyvista/trame/ui/vuetify2.py21__all__ = [CODE
LOWpyvista/typing/__init__.py37__all__ = [CODE
LOWpyvista/plotting/themes.py81def _set_plot_theme_from_env() -> None:CODE
43 more matches not shown…
Cross-Language Confusion12 hits · 70 pts
SeverityFileLineSnippetContext
HIGHtests/core/test_formatting_html.py77 # A var() fallback only applies when the variable is undefined, not when it isCOMMENT
HIGH⚡tests/core/test_geometric_sources.py866 planes_source.push(*distance)CODE
HIGHtests/core/test_geometric_sources.py451 algo.push(distance)CODE
HIGHtests/core/test_geometric_sources.py455 algo.push(distance)CODE
HIGH⚡tests/core/test_datasetattributes.py1025 assert table.schema.equals(direct.schema)CODE
HIGH⚡tests/core/test_datasetattributes.py1026 assert table.equals(direct)CODE
HIGHtests/core/test_objects.py200 assert df.equals(table.to_pandas())CODE
HIGH⚡tests/core/test_objects.py255 assert consumed.equals(table.to_arrow())CODE
HIGHtests/plotting/test_plotting.py7747 source.push(distance)CODE
HIGHpyvista/core/utilities/geometric_sources.py3836 >>> planes_source.push(0.0, -10.0, 0)STRING
HIGHpyvista/core/utilities/geometric_sources.py4006 source.push(dist)CODE
HIGHpyvista/plotting/actor.py65 'if (p.x > 1.0 || p.y > 1.0) {\n'CODE
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHtests/typing/test_return_type.py28except TypeError:CODE
HIGHpyvista/core/_vtk_utilities.py246except (KeyError, TypeError): # unseen class, or None during Python shutdownCODE
HIGHpyvista/core/filters/data_set.py2827except TypeError:CODE
HIGHpyvista/core/filters/data_set.py8387except ValueError:CODE
HIGHpyvista/core/filters/data_object.py1225except TypeError:CODE
HIGHpyvista/core/utilities/fileio.py651except (KeyError, ValueError):CODE
HIGHpyvista/utilities/__init__.py57except KeyError:CODE
HIGHpyvista/plotting/_property.py1172except AttributeError: # pragma: no coverCODE
HIGHpyvista/plotting/_property.py1178except AttributeError: # pragma: no coverCODE
HIGHpyvista/plotting/renderer.py4155except AttributeError: # pragma: no coverCODE
HIGHpyvista/plotting/colors.py2336except ValueError:CODE
HIGHpyvista/examples/downloads.py387except (FileNotFoundError, RuntimeError):CODE
HIGHexamples/02-plot/element_picking.py50except AttributeError:CODE
HIGHexamples/02-plot/element_picking.py77except AttributeError:CODE
AI Response Leakage9 hits · 68 pts
SeverityFileLineSnippetContext
HIGHexamples/00-load/create_unstructured_surface.py116# and the points belonging to the cell. In this example, there are 8COMMENT
HIGHexamples/00-load/create_point_cloud.py18# cloud. In this example, we'll work a bit backwards using a point cloudCOMMENT
HIGHexamples/99-advanced/extending_pyvista.py99# In this example, all objects that would have been created asCOMMENT
HIGHexamples/02-plot/themes.py144# In this example, we create a custom theme from the base "default"COMMENT
HIGHexamples/02-plot/bounds.py29# In this example, we override the values shown along the X and Y axes with ourCOMMENT
HIGHexamples/01-filter/surface_smoothing.py77# <pyvista.PolyDataFilters.smooth>`. In this example, you can see how TaubinCOMMENT
HIGHexamples/01-filter/streamlines.py91# filter, for example if an inlet surface is available. In this example, theCOMMENT
HIGHexamples/01-filter/interpolate.py50# In this example, we will in interpolate sparse points in 3D space into aCOMMENT
HIGHexamples/03-widgets/checkbox_widget.py42# In this example, we will add many meshes to a scene with unique colors andCOMMENT
AI Slop Vocabulary19 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml244# The length of docstring lines should be kept to 75 characters to facilitateCOMMENT
MEDIUMpyproject.toml417# The length of docstring lines should be kept to 75 characters to facilitateCOMMENT
LOWpyvista/core/datasetattributes.py801 # are identical, just return the underlying array nameCOMMENT
LOWpyvista/core/dataset.py530 # simply set the underlying dataCOMMENT
MEDIUMpyvista/core/dataset.py3408 # Align points first to make rank computation more robustCOMMENT
LOWpyvista/plotting/camera.py1175 # simply call tight again to reset the parallel scale due to theCOMMENT
LOWpyvista/examples/downloads.py299 except ValueError: # otherwise simply add the file to the registryCODE
LOWexamples/00-load/linear_cells.py112# simply create a cell from the ``pyvista.core.cells`` module and inspect its attributes.COMMENT
LOWexamples/00-load/create_tri_surface.py43# simply pass the numpy points to the PolyData constructorCOMMENT
LOW⚡examples/00-load/read_file.py13# file formats, simply use :func:`pyvista.read` to load your spatiallyCOMMENT
MEDIUMexamples/02-plot/backface_prop.py45# front and backfaces differently helps viewers comprehend the intricateCOMMENT
MEDIUMexamples/02-plot/texture.py32# harness the :func:`pyvista.DataSetFilters.texture_map_to_plane` filter toCOMMENT
LOWexamples/02-plot/texture.py74# done using the :func:`pyvista.read_texture` function - simply pass an imageCOMMENT
LOWexamples/02-plot/texture.py154# 255 [fully visible]. To enable this feature just pass the opacity array as theCOMMENT
LOWexamples/02-plot/vertices.py42# In order to display the vertices atop a mesh's surface geometry, simply passCOMMENT
MEDIUMexamples/01-filter/extract_edges.py59# We can leverage the :any:`pyvista.PolyData.n_open_edges` property andCOMMENT
LOWexamples/01-filter/using_filters.py102# And to view this filtered data, simply call the ``plot`` methodCOMMENT
MEDIUMexamples/03-widgets/plane_widget.py59# Or you could leverage the plane widget for some custom task like glyphing aCOMMENT
MEDIUMexamples/03-widgets/slider_bar_widget.py50# Or you could leverage a custom callback function that takes a single valueCOMMENT
Excessive Try-Catch Wrapping38 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUMtests/plotting/test_plotter.py1319def render_on_thread():CODE
LOWtests/plotting/test_plotter.py1327 except Exception as e: # noqa: BLE001 # pragma: no coverCODE
LOWtests/doc/test_private_class_notes.py27 except Exception: # noqa: BLE001, S112 # pragma: no coverCODE
LOW…/skills/pyvista-doc-images/scripts/match_doc_images.py27 except Exception: # noqa: BLE001 - differing dimensions raiseCODE
LOWpyvista/report.py335 except Exception: # noqa: BLE001CODE
LOWpyvista/report.py347 except Exception: # noqa: BLE001CODE
LOWpyvista/core/filters/composite.py201 except Exception as e:CODE
LOWpyvista/core/utilities/misc.py425 except Exception: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/core/utilities/reader_registry.py276 except Exception as e:CODE
LOWpyvista/core/utilities/reader_registry.py622 except Exception as err: # noqa: BLE001CODE
LOWpyvista/core/utilities/writer_registry.py338 except Exception as err: # noqa: BLE001CODE
LOWpyvista/core/utilities/docs.py76 except Exception: # noqa: BLE001CODE
LOWpyvista/core/utilities/docs.py88 except Exception: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/core/utilities/docs.py99 except Exception: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/core/utilities/accessor_registry.py740 except Exception as exc:CODE
LOWpyvista/core/utilities/observers.py317 except Exception: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/core/utilities/observers.py328 except Exception as e: # noqa: BLE001CODE
LOWpyvista/ext/viewer_directive.py94 except Exception as e: # noqa: BLE001CODE
LOWpyvista/ext/_embed_py_file.py40 except Exception as e: # noqa: BLE001CODE
LOWpyvista/ext/plot_directive.py297 except Exception as e: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/plotting/theme_registry.py412 except Exception as exc: # noqa: BLE001CODE
LOWpyvista/plotting/component_registry.py647 except Exception as exc: # noqa: BLE001CODE
LOWpyvista/plotting/interactor_style_registry.py231 except Exception as exc: # noqa: BLE001CODE
LOWpyvista/plotting/plotter.py1141 except Exception as e: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/plotting/picking.py1144 except Exception as e: # noqa: BLE001 # pragma: no coverCODE
LOWpyvista/plotting/actor.py844 except Exception:STRING
LOWpyvista/plotting/utilities/algorithms.py274 except Exception: # pragma: no coverCODE
LOWpyvista/plotting/utilities/algorithms.py390 except Exception: # pragma: no coverCODE
LOWpyvista/plotting/utilities/algorithms.py480 except Exception: # pragma: no coverCODE
LOWpyvista/plotting/utilities/algorithms.py645 except Exception: # pragma: no coverCODE
LOWpyvista/plotting/utilities/algorithms.py698 except Exception: # pragma: no coverCODE
LOWpyvista/plotting/utilities/algorithms.py778 except Exception: # pragma: no coverCODE
LOWpyvista/plotting/utilities/algorithms.py823 except Exception: # pragma: no coverCODE
LOWpyvista/_cli/convert.py213 except Exception as e: # noqa: BLE001CODE
LOWpyvista/_cli/validate.py275 except Exception as e: # noqa: BLE001CODE
LOWpyvista/_cli/utils.py333 except Exception as error: # noqa: BLE001CODE
LOWpyvista/_cli/utils.py504 except Exception as ex: # noqa: BLE001STRING
LOWpyvista/jupyter/__init__.py191 except Exception as err: # noqa: BLE001CODE
Redundant / Tautological Comments25 hits · 36 pts
SeverityFileLineSnippetContext
LOW⚡tests/core/test_utilities.py2945 # Set this to an invalid state with vtk methodsCOMMENT
LOWtests/core/test_dataset_filters.py4740 # Check if the number of points in the aligned mesh is the same as the original meshCOMMENT
LOWtests/plotting/test_widgets.py37 yaw = 0 # Set yaw to 0 and compute the othersCODE
LOWpyvista/_deprecate_positional_args.py128 # Check if the decorator is even needed at allCOMMENT
LOWpyvista/core/_vtk_utilities.py324 # Check if forwarding snake_case attributesCOMMENT
LOWpyvista/core/composite.py862 # Check if the keys already exist before updatingCOMMENT
LOWpyvista/core/composite.py883 # Check if the keys already exist before updatingCOMMENT
LOWpyvista/core/filters/data_set.py2193 # Check if a table of geometries was passedCOMMENT
LOWpyvista/core/filters/data_set.py6821 # Check if scalars array givenCOMMENT
LOWpyvista/core/filters/poly_data.py1520 # Check if scalars array givenCOMMENT
LOWpyvista/core/filters/data_object.py525 # Check if a group was passed to make the error message friendlierCOMMENT
LOWpyvista/core/utilities/misc.py580 # Check if setting a new attribute is allowedCOMMENT
LOWpyvista/core/utilities/helpers.py307 # Check if dataset is a numpy array. We do this first sinceCOMMENT
LOWpyvista/core/utilities/helpers.py335 # Check if a dataset is a VTK typeCOMMENT
LOWpyvista/core/utilities/fileio.py536 # Read file using meshio.read if file_format is presentCOMMENT
LOWpyvista/plotting/render_window_interactor.py623 # Set scene to interact with or reset it to stop interaction (otherwise crash)COMMENT
LOWpyvista/plotting/renderer.py760 if ( # Check if the actor should be ignoredCODE
LOWpyvista/plotting/renderers.py325 # Check if row and col weights correspond to given shape,COMMENT
LOWpyvista/plotting/plotter.py349 # Check if VTK has EGL supportCOMMENT
LOWpyvista/plotting/plotter.py4625 # Set color to white by default when using a textureCOMMENT
LOWpyvista/examples/examples.py809 >>> pl.camera_position = 'yx' # Set camera to provide a dorsal viewSTRING
LOWpyvista/_cli/report.py14# Assign annotations to be able to use the Report class usingCOMMENT
LOWexamples/01-filter/project_plane.py27# Display the resultsCOMMENT
LOWexamples/01-filter/streamlines.py43# Display the results. Please note that because this dataset's velocity fieldCOMMENT
LOWdoc/source/make_tables.py333 # Check if the format was already added from the readerCOMMENT
Slop Phrases10 hits · 23 pts
SeverityFileLineSnippetContext
LOWtests/plotting/test_plotting_utilities.py89 # make sure to plot an object that has boundariesCOMMENT
MEDIUMexamples/00-load/create_polydata_strips.py92# <pyvista.PolyDataFilters.strip>`. Here, for demonstration purposes we convert theCOMMENT
MEDIUMexamples/99-advanced/add_example.py89# ``__repr__`` method. Otherwise, you can use ``print()`` to output text.STRING
MEDIUMexamples/99-advanced/add_example.py181# <https://github.com/pyvista/data>`_, and you can add the file bySTRING
MEDIUMexamples/99-advanced/planets.py76# grounded in reality and are for demonstration purposes only.COMMENT
MEDIUMexamples/02-plot/themes.py74# Note that you can also use color gradients for the background of the plottingCOMMENT
MEDIUMexamples/02-plot/lookup_table.py88# If you want to create a completely unique color map, you can use attributesCOMMENT
MEDIUMexamples/01-filter/image_fft.py91# for demonstration purposes.COMMENT
MEDIUMexamples/01-filter/remove_cells.py21# Decide which cells to remove with a criterion (feel free to adjust thisCOMMENT
LOWdoc/intersphinx/update.sh4# make sure to follow potential redirects, and fail on an HTTP errorCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALpyvista/ext/_embed_py_file.py44 self.state.document.settings.env.note_dependency(str(path))CODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡examples/00-load/read_file.py16# The following code block uses a built-in example file and displays anCOMMENT
LOW⚡examples/00-load/read_file.py24# The following code block uses a built-in exampleCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpyvista/plotting/axes_assembly.py635 # TODO: implement set_text_prop() and use that insteadCOMMENT
LOWpyvista/plotting/axes_assembly.py1918 # TODO: implement set_text_prop() and use that insteadCOMMENT