3D visualization and mesh analysis for science and engineering
This report presents the forensic synthetic code analysis of pyvista/pyvista, a Python project with 3,761 GitHub stars. SynthScan v2.0 examined 258,408 lines of code across 593 source files, recording 4514 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 17.6 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4514 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toxfile.py | 28 | def _get_ci_xdist_auto_workers() -> str: | CODE |
| LOW | toxfile.py | 105 | def _get_freezed_requirements(lines: list[str]) -> Generator[tuple[str, Version], None, None]: | CODE |
| LOW | tests/conftest.py | 319 | def multiblock_all_with_nested_and_none(datasets, multiblock_all): | CODE |
| LOW | tests/conftest.py | 358 | def _check_args_kwargs_marker(item_mark: pytest.Mark, sig: inspect.Signature): | CODE |
| LOW | tests/test_import_conventions.py | 77 | def _documented_member_modules() -> set[str]: | CODE |
| LOW | tests/test_import_conventions.py | 111 | def test_convention_lists_are_disjoint(): | CODE |
| LOW⚡ | tests/test_import_conventions.py | 122 | def test_documentation_matches_the_enforced_member_list(): | CODE |
| LOW⚡ | tests/test_import_conventions.py | 132 | def test_convention_lists_are_not_empty(): | CODE |
| LOW⚡ | tests/test_import_conventions.py | 139 | def test_waived_modules_are_not_also_governed(waived): | CODE |
| LOW⚡ | tests/test_import_conventions.py | 147 | def test_every_imported_stdlib_module_is_governed(): | CODE |
| LOW | tests/test_conftest.py | 89 | def test_warnings_turned_to_errors( | CODE |
| LOW | tests/test_conftest.py | 280 | def test_between_variadic_max_equals(): ... | CODE |
| LOW | tests/test_conftest.py | 283 | def test_between_variadic_min_equals(): ... | CODE |
| LOW | tests/test_conftest.py | 311 | def case_raises_both_args_min_kwargs(self): | STRING |
| LOW⚡ | tests/test_conftest.py | 414 | def test_needs_vtk_version_raises(tests: str, outcome: dict, pytester: pytest.Pytester): | STRING |
| LOW⚡ | tests/test_conftest.py | 422 | def test_needs_vtk_version_reason(tests: str, match: list[str], pytester: pytest.Pytester): | STRING |
| LOW⚡ | tests/test_conftest.py | 429 | def test_needs_vtk_version_raises_vtk_version_error( | STRING |
| LOW | tests/test_conftest.py | 533 | def test_skipped_message_args(): | CODE |
| LOW | tests/test_conftest.py | 603 | def test_skipped_platform_machine(): | CODE |
| LOW⚡ | tests/test_cli.py | 212 | def case_additional_multiple_kw(self): | CODE |
| LOW⚡ | tests/test_cli.py | 215 | def case_additional_multiple_args(self): | CODE |
| LOW⚡ | tests/test_cli.py | 221 | def case_additional_textwidth(self): | CODE |
| LOW | tests/test_cli.py | 173 | def test_command_paths_required(capsys: pytest.CaptureFixture, command): | CODE |
| LOW | tests/test_cli.py | 303 | def tmp_ant_file_invalid_multiblock(tmp_ant_file): | CODE |
| LOW | tests/test_cli.py | 318 | def test_convert_dir_only_error(tmp_ant_file: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 330 | def test_convert_file_not_found(capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 361 | def test_convert_multiple_inputs(tmp_example_dir, tmp_ant_file: Path): | CODE |
| LOW | tests/test_cli.py | 370 | def test_convert_multiple_inputs_subdir(tmp_example_dir, tmp_ant_file: Path): | CODE |
| LOW | tests/test_cli.py | 424 | def test_convert_glob_subdir_writes_adjacent(tmp_example_dir, tmp_ant_file: Path): | CODE |
| LOW | tests/test_cli.py | 440 | def test_convert_glob_no_match(capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 455 | def test_multiblock_drops_sidecar_children( | CODE |
| LOW | tests/test_cli.py | 499 | def test_convert_multiblock_keeps_orphan_children(tmp_example_dir: Path): | CODE |
| LOW | tests/test_cli.py | 511 | def test_convert_multiple_inputs_named_output_error( | CODE |
| LOW | tests/test_cli.py | 528 | def test_convert_too_few_args(capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 580 | def test_convert_compound_extension( | CODE |
| LOW | tests/test_cli.py | 595 | def test_convert_compound_extension_collision(tmp_example_dir: Path): | CODE |
| LOW | tests/test_cli.py | 711 | def test_validate_invalid_mesh( | CODE |
| LOW | tests/test_cli.py | 897 | def test_validate_invalid_args(tmp_ant_file: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 961 | def test_validate_invalid_field(tmp_ant_file: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 984 | def test_validate_pyvista_error(tmp_ant_file: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 1193 | def case_window_size_multiple( | CODE |
| LOW | tests/test_cli.py | 1202 | def case_window_size_rounding( | CODE |
| LOW | tests/test_cli.py | 1267 | def case_anti_aliasing_raises(self): | CODE |
| LOW | tests/test_cli.py | 1275 | def case_window_size_wrong_length(self, window_size: str): | CODE |
| LOW | tests/test_cli.py | 1292 | def case_window_size_wrong_type(self, window_size: str): | CODE |
| LOW | tests/test_cli.py | 1478 | def test_plot_skip_unreadable_hint( | CODE |
| LOW | tests/test_cli.py | 1526 | def test_add_mesh_volume_called( | CODE |
| LOW | tests/test_cli.py | 1552 | def test_plot_glob_expands_files(mock_add_mesh: MagicMock, tmp_example_dir: Path): | CODE |
| LOW | tests/test_cli.py | 1561 | def test_validate_glob_expands_files( | CODE |
| LOW | tests/test_cli.py | 1641 | def test_convert_collision_error(ant, tmp_example_dir: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 1657 | def test_convert_resolve_collisions(ant, tmp_example_dir: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 1681 | def test_convert_resolve_collisions_counter_increment( | CODE |
| LOW | tests/test_cli.py | 1705 | def test_convert_skip_unreadable_single(tmp_example_dir: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 1717 | def test_convert_skip_unreadable_many(tmp_example_dir: Path, capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 1742 | def test_validate_many_invalid( | CODE |
| LOW | tests/test_cli.py | 1773 | def test_validate_multiple_files_single_mesh_invalid( | CODE |
| LOW | tests/test_cli.py | 1787 | def test_validate_skip_unreadable( | CODE |
| LOW | tests/test_cli.py | 1832 | def test_validate_unsupported_mesh_type(capsys: pytest.CaptureFixture): | CODE |
| LOW | tests/test_cli.py | 1960 | def test_compare_forwards_arguments( | CODE |
| LOW | tests/test_cli.py | 1987 | def test_compare_labels_are_unique( | CODE |
| 2632 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toxfile.py | 1 | CODE | |
| LOW | tests/generate_test_image_report.py | 15 | CODE | |
| LOW | tests/test_meshio.py | 1 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/test_import_conventions.py | 10 | CODE | |
| LOW | tests/test_conftest.py | 1 | CODE | |
| LOW | tests/check_doctest_names.py | 43 | CODE | |
| LOW | tests/test_hooks.py | 3 | CODE | |
| LOW | tests/test_meta.py | 8 | CODE | |
| LOW | tests/test_cli.py | 1 | CODE | |
| LOW | tests/test_cli.py | 1114 | CODE | |
| LOW | tests/test_cli.py | 1116 | CODE | |
| LOW | tests/test_cli.py | 1117 | CODE | |
| LOW | tests/test_cli.py | 1118 | CODE | |
| LOW | tests/test_cli.py | 1119 | CODE | |
| LOW | tests/test_cli.py | 1120 | CODE | |
| LOW | tests/test_init.py | 1 | CODE | |
| LOW | tests/test_attributes.py | 1 | CODE | |
| LOW | tests/test_warn_external.py | 1 | CODE | |
| LOW | tests/core/test_frd.py | 1 | CODE | |
| LOW | tests/core/test_composite.py | 1 | CODE | |
| LOW | tests/core/test_reader.py | 1 | CODE | |
| LOW | tests/core/test_image_sources.py | 1 | CODE | |
| LOW | tests/core/test_formatting_html.py | 3 | CODE | |
| LOW | tests/core/test_grid.py | 1 | CODE | |
| LOW | tests/core/test_parametric_geometry.py | 1 | CODE | |
| LOW | tests/core/test_validation.py | 1 | CODE | |
| LOW | tests/core/test_partitioned.py | 1 | CODE | |
| LOW | tests/core/test_accessor_registry.py | 3 | CODE | |
| LOW | tests/core/test_rectilinear_grid_filters.py | 1 | CODE | |
| LOW | tests/core/test_cells.py | 1 | CODE | |
| LOW | tests/core/test_polydata.py | 1 | CODE | |
| LOW | tests/core/test_polydata.py | 17 | CODE | |
| LOW | tests/core/test_unstructured_grid_filters.py | 3 | CODE | |
| LOW | tests/core/test_utilities.py | 3 | CODE | |
| LOW | tests/core/test_pointset.py | 3 | CODE | |
| LOW | tests/core/test_dataobject.py | 1 | CODE | |
| LOW | tests/core/test_geometric_sources.py | 1 | CODE | |
| LOW | tests/core/test_dataset.py | 3 | CODE | |
| LOW | tests/core/test_dataset_filters.py | 1 | CODE | |
| LOW | tests/core/test_polydata_filters.py | 1 | CODE | |
| LOW | tests/core/test_imagedata_filters.py | 1 | CODE | |
| LOW | tests/core/test_reader_registry.py | 3 | CODE | |
| LOW | tests/core/test_helpers.py | 1 | CODE | |
| LOW | tests/core/test_imaging.py | 1 | CODE | |
| LOW | tests/core/test_geometric_objects.py | 1 | CODE | |
| LOW | tests/core/test_dataobject_filters.py | 1 | CODE | |
| LOW | tests/core/test_datasetattributes.py | 1 | CODE | |
| LOW | tests/core/test_objects.py | 3 | CODE | |
| LOW | tests/core/test_pyvista_ndarray.py | 1 | CODE | |
| LOW | tests/core/test_writer_registry.py | 3 | CODE | |
| LOW | tests/security/test_pickle_refused.py | 15 | CODE | |
| LOW | tests/ext/test_ext.py | 3 | CODE | |
| LOW | tests/namespace/test_plotting_namespace.py | 1 | CODE | |
| LOW | tests/namespace/test_plotting_namespace.py | 30 | CODE | |
| LOW | tests/namespace/test_plotting_namespace.py | 35 | CODE | |
| LOW | tests/namespace/test_plotting_namespace.py | 40 | CODE | |
| LOW | tests/namespace/test_utilities_namespace.py | 1 | CODE | |
| LOW | tests/namespace/test_utilities_namespace.py | 64 | CODE | |
| LOW | tests/namespace/test_utilities_namespace.py | 67 | CODE | |
| 923 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_cli.py | 343 | # Create a dummy .vtp file with empty contents | COMMENT |
| MEDIUM | tests/core/test_polydata.py | 1116 | # Define a simple Gaussian surface | COMMENT |
| MEDIUM | tests/core/test_polydata.py | 1211 | # Create a poly line | COMMENT |
| MEDIUM | tests/core/test_dataset_filters.py | 820 | # Define the plane explicitly | COMMENT |
| MEDIUM | tests/core/test_dataset_filters.py | 852 | # Define the center explicitly | COMMENT |
| MEDIUM | tests/core/test_dataset_filters.py | 3851 | # Create a simple mesh | COMMENT |
| MEDIUM⚡ | tests/plotting/test_volume_property.py | 110 | # Create a mock lookup table | COMMENT |
| MEDIUM⚡ | tests/plotting/test_texture.py | 249 | # Create the poly data | COMMENT |
| MEDIUM | tests/plotting/test_picking.py | 636 | # Create a mesh with point data | COMMENT |
| MEDIUM | tests/plotting/test_render_window_interactor.py | 219 | # Create a normal interactor from the offscreen plotter (not generic, | COMMENT |
| MEDIUM⚡ | tests/plotting/test_theme_registry.py | 68 | # Creating the subclass must not register it under any other name | COMMENT |
| MEDIUM⚡ | tests/plotting/mappers/test_mapper.py | 236 | # Create a new mesh with the same array | COMMENT |
| MEDIUM | pyvista/core/pointset.py | 3593 | # This method is required to avoid conflict if a developer extends `ExplicitStructuredGrid` | COMMENT |
| MEDIUM | pyvista/core/cell.py | 890 | # The following methods would be much nicer bound to CellArray, | COMMENT |
| MEDIUM | pyvista/core/dataset.py | 2700 | >>> # Create a grid with 9 points and 4 cells | STRING |
| MEDIUM | pyvista/core/composite.py | 2254 | # This method is here for consistency with the rest of the API and | COMMENT |
| MEDIUM | pyvista/core/filters/image_data.py | 840 | # Create a binary foreground/background mask array | COMMENT |
| MEDIUM | pyvista/core/filters/image_data.py | 1480 | >>> # Create an initial background point | STRING |
| MEDIUM | pyvista/core/filters/data_set.py | 5872 | # Create a second mesh with points. This is required for the merge | COMMENT |
| MEDIUM | pyvista/core/filters/composite.py | 215 | # Create a copy and replace all the blocks | COMMENT |
| MEDIUM | pyvista/core/filters/data_object.py | 3803 | # Create the three slices | COMMENT |
| MEDIUM | pyvista/core/_typing_core/_array_like.py | 39 | # Create a copy of the typevar which can be used for annotating a second variable. | COMMENT |
| MEDIUM | pyvista/core/utilities/geometric_objects.py | 286 | # Create the grid | COMMENT |
| MEDIUM | pyvista/plotting/mapper.py | 1170 | # Create a custom RGBA array to supply our opacity to | COMMENT |
| MEDIUM | pyvista/plotting/texture.py | 137 | # Create a cubemap | COMMENT |
| MEDIUM | examples/00-load/create_text_3d.py | 13 | # Create an extruded text mesh | COMMENT |
| MEDIUM | examples/00-load/linear_cells.py | 105 | # Create an UnstructuredGrid with a single linear cell | COMMENT |
| MEDIUM | examples/00-load/linear_cells.py | 283 | # Create a list of all linear cell types. The list has 19 cell types. | COMMENT |
| MEDIUM | examples/00-load/create_structured_surface.py | 21 | # Create a simple meshgrid using NumPy. Note the usage of ij indexing. | COMMENT |
| MEDIUM | examples/00-load/create_truss.py | 22 | # Define the points and elements of the truss. Call them ``nodes`` | COMMENT |
| MEDIUM | examples/00-load/create_tri_surface.py | 25 | # Define a simple Gaussian surface | COMMENT |
| MEDIUM | examples/00-load/create_tri_surface.py | 64 | # Create the point cloud mesh to triangulate from the coordinates | COMMENT |
| MEDIUM | examples/00-load/create_tri_surface.py | 85 | # Define a polygonal hole with a clockwise polygon | COMMENT |
| MEDIUM | examples/00-load/create_tri_surface.py | 88 | # Create a polydata to store the boundary | COMMENT |
| MEDIUM | examples/00-load/create_poly.py | 47 | # Create a three face polygonal mesh directly from points and faces. | COMMENT |
| MEDIUM | examples/00-load/create_uniform_grid.py | 22 | # Create the 3D NumPy array of spatially referenced data. | COMMENT |
| MEDIUM | examples/00-load/create_uniform_grid.py | 28 | # Create the spatial reference | COMMENT |
| MEDIUM | examples/00-load/create_uniform_grid.py | 51 | # Create the 3D NumPy array of spatially referenced data | COMMENT |
| MEDIUM | examples/00-load/create_uniform_grid.py | 57 | # Create the spatial reference | COMMENT |
| MEDIUM | examples/00-load/create_multiple_lines.py | 14 | # Create a winding polyline | COMMENT |
| MEDIUM | examples/00-load/create_kochanek_spline.py | 19 | # Create a dataset to plot | COMMENT |
| MEDIUM | examples/00-load/wrap_trimesh.py | 49 | # Create a simple :class:`trimesh.Trimesh` and wrap it. | COMMENT |
| MEDIUM | examples/00-load/create_draped_surface.py | 71 | # Define the Z spacing of your 2D section | COMMENT |
| MEDIUM | examples/00-load/create_polydata_strips.py | 22 | # Create an array of points | COMMENT |
| MEDIUM | examples/00-load/create_circular_arc.py | 17 | # Create an arc from two endpoints | COMMENT |
| MEDIUM | examples/00-load/create_circular_arc.py | 45 | # Create an arc from a normal and angle | COMMENT |
| MEDIUM | examples/00-load/create_polyhedron.py | 184 | # Create the grid | COMMENT |
| MEDIUM⚡ | examples/00-load/read_file.py | 16 | # The following code block uses a built-in example file and displays an | COMMENT |
| MEDIUM⚡ | examples/00-load/read_file.py | 24 | # The following code block uses a built-in example | COMMENT |
| MEDIUM | examples/00-load/create_spline.py | 17 | # Create a dataset to plot | COMMENT |
| MEDIUM | examples/00-load/create_spline.py | 126 | # Create a spline and its closed counterpart. | COMMENT |
| MEDIUM | examples/00-load/create_spline.py | 139 | # Create a spline by parametrizing based on length (default) or point index. | COMMENT |
| MEDIUM | examples/00-load/create_spline.py | 155 | # Create a spline and see the effect of boundary constraint. | COMMENT |
| MEDIUM | examples/00-load/create_spline.py | 193 | # Create a spline and see the effect of boundary value. It can be set at left | COMMENT |
| MEDIUM | examples/00-load/create_pixel_art.py | 50 | # Define a helper function to add pixel boxes to plotter. | STRING |
| MEDIUM | examples/98-common/project_points_tessellate.py | 22 | # Create a point cloud and project it to a plane. | COMMENT |
| MEDIUM | examples/98-common/project_points_tessellate.py | 28 | # Define a plane | COMMENT |
| MEDIUM | examples/98-common/project_points_tessellate.py | 43 | # Create a polydata object with projected points | COMMENT |
| MEDIUM | examples/98-common/project_points_tessellate.py | 54 | # Create a plane for visualization | COMMENT |
| MEDIUM | examples/99-advanced/warp_by_vector_eigenmodes.py | 212 | # Create the 3D NumPy array of spatially referenced data | COMMENT |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .gitpod.yml | 4 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | tests/core/test_frd.py | 300 | # ============================================================================= | COMMENT |
| MEDIUM | tests/core/test_frd.py | 302 | # ============================================================================= | COMMENT |
| MEDIUM | tests/core/test_dataset.py | 1456 | # ------------------ | COMMENT |
| MEDIUM | tests/core/test_dataset.py | 1458 | # ------------------ | COMMENT |
| MEDIUM⚡ | tests/core/test_datasetattributes.py | 1081 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/core/test_datasetattributes.py | 1083 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/core/test_datasetattributes.py | 764 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/core/test_datasetattributes.py | 766 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/ext/plot_directive.py | 185 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/ext/plot_directive.py | 187 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/ext/plot_directive.py | 317 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/ext/plot_directive.py | 319 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/ext/plot_directive.py | 388 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/ext/plot_directive.py | 390 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyvista/plotting/plotter.py | 7360 | # ======================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/plotter.py | 7362 | # ======================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/plotter.py | 7554 | # ======================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/plotter.py | 7556 | # ======================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/plotter.py | 7748 | # ======================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/plotter.py | 7750 | # ======================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 327 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 329 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 339 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 341 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 423 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 425 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 452 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 454 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 787 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | pyvista/plotting/picking.py | 789 | # ========================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/picking.py | 375 | # ========================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/picking.py | 377 | # ========================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/picking.py | 488 | # ========================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/picking.py | 490 | # ========================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/picking.py | 1704 | # ========================================================================= | COMMENT |
| MEDIUM | pyvista/plotting/picking.py | 1706 | # ========================================================================= | COMMENT |
| MEDIUM | examples/00-load/create_unstructured_surface.py | 75 | # ----------------------------------- | COMMENT |
| MEDIUM | examples/00-load/wrap_trimesh.py | 30 | # ----------------- | COMMENT |
| MEDIUM | examples/00-load/wrap_trimesh.py | 48 | # -------------------- | COMMENT |
| MEDIUM | examples/00-load/wrap_trimesh.py | 106 | # --------------- | COMMENT |
| MEDIUM | examples/99-advanced/mesh_validation.py | 17 | # ---------------- | COMMENT |
| MEDIUM | examples/99-advanced/mesh_validation.py | 54 | # ------------------------- | COMMENT |
| MEDIUM | examples/99-advanced/mesh_validation.py | 106 | # ----------------------- | COMMENT |
| MEDIUM | examples/99-advanced/mesh_validation.py | 162 | # ------------------------- | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 22 | # ------------ | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 48 | # ============= | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 64 | # ----------------- | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 70 | # ============= | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 83 | # ============ | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 111 | # ----------------- | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 116 | # ===================== | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 135 | # ======================= | COMMENT |
| MEDIUM | examples/99-advanced/anatomical_groups.py | 168 | # ============ | COMMENT |
| MEDIUM | examples/04-lights/light_types.py | 44 | # ============ | COMMENT |
| MEDIUM | examples/04-lights/light_types.py | 65 | # =========== | COMMENT |
| MEDIUM | examples/04-lights/plotter_lighting.py | 51 | # ========================= | COMMENT |
| MEDIUM | examples/04-lights/plotter_lighting.py | 76 | # =============== | COMMENT |
| MEDIUM | examples/04-lights/plotter_lighting.py | 93 | # ============================ | COMMENT |
| MEDIUM | examples/02-plot/axes_objects.py | 61 | # ========== | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tox.ini | 101 | pyvista report --gpu --downloads | COMMENT |
| LOW | tests/core/test_dataset_filters.py | 661 | # [[ 1], | COMMENT |
| LOW | tests/core/test_imagedata_filters.py | 61 | @pytest.fixture | COMMENT |
| LOW | pyvista/plotting/plot_compare.py | 821 | # which would both override the fit below and leave the camera pointing | COMMENT |
| LOW | pyvista/plotting/utilities/regression.py | 161 | imfilter.ShouldRerenderOff() | COMMENT |
| LOW | examples/00-load/create_text_3d.py | 41 | # %% | COMMENT |
| LOW | examples/00-load/create_sphere.py | 41 | mesh.get_cell(0).type | COMMENT |
| LOW | examples/00-load/create_sphere.py | 141 | x, y, z = pv.spherical_to_cartesian(r_, phi_, theta_) | COMMENT |
| LOW | examples/00-load/linear_cells.py | 81 | # %% | COMMENT |
| LOW | examples/00-load/create_structured_surface.py | 41 | COMMENT | |
| LOW | examples/00-load/create_structured_surface.py | 101 | plt.figure(figsize=(10, 10)) | COMMENT |
| LOW | examples/00-load/create_structured_surface.py | 121 | # :class:`pyvista.StructuredGrid` as follows: | COMMENT |
| LOW | examples/00-load/create_tri_surface.py | 101 | # %% | COMMENT |
| LOW | examples/00-load/create_unstructured_surface.py | 61 | COMMENT | |
| LOW | examples/00-load/create_point_cloud.py | 41 | # Print first 5 rows to prove its a numpy array (n_points by 3) | COMMENT |
| LOW | examples/00-load/create_point_cloud.py | 61 | PYVISTA_GALLERY_FORCE_STATIC = True | COMMENT |
| LOW | examples/00-load/create_point_cloud.py | 81 | # %% | COMMENT |
| LOW | examples/00-load/create_platonic_solids.py | 21 | # and specify the different kinds of solids to generate, or we can use the thin | COMMENT |
| LOW | examples/00-load/wrap_trimesh.py | 81 | # Field data is accessible via ``metadata``. Both field data keys and | COMMENT |
| LOW | examples/00-load/read_image.py | 21 | COMMENT | |
| LOW | examples/00-load/create_polydata_strips.py | 61 | pl.show() | COMMENT |
| LOW | examples/00-load/create_polydata_strips.py | 101 | # The output from the ``strip`` filter is, as expected, identical to the | COMMENT |
| LOW | examples/00-load/create_polyhedron.py | 61 | [0.02, 0.01, 0.03], # 23 | COMMENT |
| LOW | examples/00-load/create_polyhedron.py | 81 | # | COMMENT |
| LOW | examples/00-load/terrain_following_mesh.py | 41 | # %% | COMMENT |
| LOW | examples/98-common/dataframe_export.py | 61 | COMMENT | |
| LOW | examples/98-common/dataframe_export.py | 81 | COMMENT | |
| LOW | examples/99-advanced/magnetic_fields.py | 21 | # sphinx_gallery_thumbnail_number = 3 | COMMENT |
| LOW | examples/99-advanced/extending_pyvista.py | 81 | # It is now required to explicitly wrap the object into ``FooData``. | COMMENT |
| LOW | examples/99-advanced/add_example.py | 81 | # | COMMENT |
| LOW | examples/99-advanced/add_example.py | 101 | # :func:`pyvista.Plotter.show`) the resulting image will be rendered within the | COMMENT |
| LOW | examples/99-advanced/add_example.py | 121 | # Here we just exercise the :class:`pyvista.Actor` ``repr`` for demonstrating | COMMENT |
| LOW | examples/99-advanced/add_example.py | 181 | # | COMMENT |
| LOW | examples/99-advanced/add_example.py | 201 | COMMENT | |
| LOW | examples/99-advanced/customize_trame_toolbar.py | 101 | # controlled by the play button we created. Note that when creating the | COMMENT |
| LOW | examples/99-advanced/customize_trame_toolbar.py | 121 | # a timer so that an animation can be set to play. To do that with ``trame`` we need | COMMENT |
| LOW | examples/99-advanced/sphere_eversion.py | 141 | # fmt: on | COMMENT |
| LOW | examples/99-advanced/openfoam_cooling.py | 21 | COMMENT | |
| LOW | examples/99-advanced/mesh_validation.py | 41 | plot_cell(quad, 'xy') | COMMENT |
| LOW | examples/99-advanced/mesh_validation.py | 81 | invalid_polyhedron = pv.UnstructuredGrid(cells, [pv.CellType.POLYHEDRON], points) | COMMENT |
| LOW | examples/99-advanced/mesh_validation.py | 141 | # %% | COMMENT |
| LOW | examples/99-advanced/mesh_validation.py | 161 | # Meshes with unused points | COMMENT |
| LOW | examples/99-advanced/anatomical_groups.py | 21 | # Load Dataset | COMMENT |
| LOW | examples/99-advanced/anatomical_groups.py | 41 | # color the contours. | COMMENT |
| LOW | examples/99-advanced/anatomical_groups.py | 81 | # %% | COMMENT |
| LOW | examples/99-advanced/atomic_orbitals.py | 1 | """ | COMMENT |
| LOW | examples/99-advanced/atomic_orbitals.py | 21 | # .. code-block:: bash | COMMENT |
| LOW | examples/99-advanced/atomic_orbitals.py | 41 | # e^{-r / na_0} | COMMENT |
| LOW | examples/99-advanced/atomic_orbitals.py | 61 | # Plot the Orbital | COMMENT |
| LOW | examples/99-advanced/atomic_orbitals.py | 181 | COMMENT | |
| LOW | examples/99-advanced/fea_hertzian_contact_pressure.py | 61 | # %% | COMMENT |
| LOW | examples/04-lights/light_types.py | 41 | COMMENT | |
| LOW | examples/04-lights/mesh_lighting.py | 41 | # For further examples about fine-tuning mesh properties that affect | COMMENT |
| LOW | examples/02-plot/themes.py | 41 | COMMENT | |
| LOW | examples/02-plot/themes.py | 81 | cpos = pl.show() | COMMENT |
| LOW | examples/02-plot/colormap.py | 21 | # string name of the colormap to the plotting routine via the ``cmap`` | COMMENT |
| LOW | examples/02-plot/colormap.py | 61 | # Make the colormap from the listed colors | COMMENT |
| LOW | examples/02-plot/colormap.py | 81 | # can do this by creating a scalar array and passing that to the | COMMENT |
| LOW | examples/02-plot/colormap.py | 141 | lighting=False, | COMMENT |
| LOW | examples/02-plot/volume_rendering.py | 201 | # .. _volume_with_mask_example: | COMMENT |
| 90 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/generate_test_image_report.py | 42 | CODE | |
| LOW | tests/generate_test_image_report.py | 119 | CODE | |
| LOW | tests/generate_test_image_report.py | 516 | CODE | |
| LOW | tests/test_meshio.py | 222 | CODE | |
| LOW | tests/conftest.py | 569 | CODE | |
| LOW | tests/test_import_conventions.py | 90 | CODE | |
| LOW | tests/check_doctest_names.py | 55 | CODE | |
| LOW | tests/check_doctest_names.py | 110 | CODE | |
| LOW | tests/test_attributes.py | 190 | CODE | |
| LOW | tests/test_attributes.py | 427 | CODE | |
| LOW | tests/test_attributes.py | 428 | CODE | |
| LOW | tests/core/test_composite.py | 1337 | CODE | |
| LOW | tests/core/test_validation.py | 467 | CODE | |
| LOW | tests/core/test_validation.py | 579 | CODE | |
| LOW | tests/core/test_validation.py | 794 | CODE | |
| LOW | tests/core/test_utilities.py | 572 | CODE | |
| LOW | tests/core/test_geometric_sources.py | 164 | CODE | |
| LOW | tests/core/test_geometric_sources.py | 491 | CODE | |
| LOW | tests/core/test_dataset_filters.py | 258 | CODE | |
| LOW | tests/core/test_dataset_filters.py | 4121 | CODE | |
| LOW | tests/core/test_dataobject_filters.py | 49 | CODE | |
| LOW | tests/plotting/test_camera.py | 274 | CODE | |
| LOW | tests/plotting/test_plotting.py | 6677 | CODE | |
| LOW | tests/plotting/test_lights.py | 69 | CODE | |
| LOW | tests/plotting/test_picking.py | 578 | CODE | |
| LOW | tests/examples/test_cell_examples.py | 71 | CODE | |
| LOW | tests/doc/test_api_coverage.py | 125 | CODE | |
| LOW | pyvista/core/grid.py | 261 | CODE | |
| LOW | pyvista/core/pointset.py | 1972 | CODE | |
| LOW | pyvista/core/pointset.py | 2750 | CODE | |
| LOW | pyvista/core/pointset.py | 3163 | CODE | |
| LOW | pyvista/core/pointset.py | 3766 | CODE | |
| LOW | pyvista/core/pointset.py | 3806 | CODE | |
| LOW | pyvista/core/pointset.py | 3842 | CODE | |
| LOW | pyvista/core/datasetattributes.py | 165 | CODE | |
| LOW | pyvista/core/datasetattributes.py | 482 | CODE | |
| LOW | pyvista/core/datasetattributes.py | 707 | CODE | |
| LOW | pyvista/core/dataobject.py | 173 | CODE | |
| LOW | pyvista/core/dataobject.py | 1007 | CODE | |
| LOW | pyvista/core/partitioned.py | 60 | CODE | |
| LOW | pyvista/core/dataset.py | 157 | CODE | |
| LOW | pyvista/core/dataset.py | 3562 | CODE | |
| LOW | pyvista/core/composite.py | 161 | CODE | |
| LOW | pyvista/core/composite.py | 644 | CODE | |
| LOW | pyvista/core/composite.py | 748 | CODE | |
| LOW | pyvista/core/composite.py | 1905 | CODE | |
| LOW | pyvista/core/composite.py | 2357 | CODE | |
| LOW | pyvista/core/composite.py | 2705 | CODE | |
| LOW | pyvista/core/composite.py | 2755 | CODE | |
| LOW | pyvista/core/composite.py | 2769 | CODE | |
| LOW | pyvista/core/composite.py | 2788 | CODE | |
| LOW | pyvista/core/objects.py | 44 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 5776 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 530 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 3441 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 3753 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 4206 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 5218 | CODE | |
| LOW | pyvista/core/filters/rectilinear_grid.py | 21 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 185 | CODE | |
| 95 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/test_composite.py | 1253 | CODE | |
| LOW | pyvista/_plot.py | 31 | CODE | |
| LOW | pyvista/core/grid.py | 733 | CODE | |
| LOW | pyvista/core/pointset.py | 791 | CODE | |
| LOW | pyvista/core/composite.py | 391 | CODE | |
| LOW | pyvista/core/composite.py | 407 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 530 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 2334 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 3753 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 4206 | CODE | |
| LOW | pyvista/core/filters/image_data.py | 4895 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 766 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 1482 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 1837 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 2119 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 3240 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 3392 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 3514 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 3726 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 4016 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 4375 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 4504 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 5016 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 6108 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 7310 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 7752 | CODE | |
| LOW | pyvista/core/filters/data_set.py | 8224 | CODE | |
| LOW | pyvista/core/filters/composite.py | 379 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 859 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 952 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 1125 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 1370 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 1689 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 1895 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 2251 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 3468 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 3678 | CODE | |
| LOW | pyvista/core/filters/poly_data.py | 4211 | CODE | |
| LOW | pyvista/core/filters/data_object.py | 3163 | CODE | |
| LOW | pyvista/core/filters/data_object.py | 3856 | CODE | |
| LOW | pyvista/core/filters/data_object.py | 4909 | CODE | |
| LOW | pyvista/core/utilities/geometric_sources.py | 1566 | CODE | |
| LOW | pyvista/core/utilities/geometric_sources.py | 2741 | CODE | |
| LOW | pyvista/core/utilities/geometric_sources.py | 3088 | CODE | |
| LOW | pyvista/core/utilities/geometric_sources.py | 4006 | CODE | |
| LOW | pyvista/core/utilities/geometric_objects.py | 306 | CODE | |
| LOW | pyvista/core/utilities/geometric_objects.py | 381 | CODE | |
| LOW | pyvista/core/utilities/geometric_objects.py | 537 | CODE | |
| LOW | pyvista/core/utilities/geometric_objects.py | 697 | CODE | |
| LOW | pyvista/core/utilities/geometric_objects.py | 1698 | CODE | |
| LOW | pyvista/core/utilities/geometric_objects.py | 2271 | CODE | |
| LOW | pyvista/core/utilities/parametric_objects.py | 993 | CODE | |
| LOW | pyvista/core/utilities/parametric_objects.py | 1365 | CODE | |
| LOW | pyvista/core/utilities/features.py | 734 | CODE | |
| LOW | pyvista/core/_validation/validate.py | 60 | CODE | |
| LOW | pyvista/plotting/_property.py | 168 | CODE | |
| LOW | pyvista/plotting/plot_compare.py | 442 | CODE | |
| LOW | pyvista/plotting/scalar_bars.py | 238 | CODE | |
| LOW | pyvista/plotting/cube_axes_actor.py | 152 | CODE | |
| LOW | pyvista/plotting/charts.py | 1633 | CODE | |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pyvista/core/grid.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/pointset.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/cell.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/dataobject.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/partitioned.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/dataset.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/composite.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/plotting/texture.py | 0 | return the representation methods (internal helper). | STRING |
| HIGH | pyvista/core/dataobject.py | 0 | return a pretty representation for jupyter notebooks. it includes header details and information about all arrays. | STRING |
| HIGH | pyvista/core/dataset.py | 0 | return a pretty representation for jupyter notebooks. it includes header details and information about all arrays. | STRING |
| HIGH | pyvista/core/objects.py | 0 | return a pretty representation for jupyter notebooks. it includes header details and information about all arrays. | STRING |
| HIGH | pyvista/core/utilities/reader_registry.py | 0 | snapshot the current registry state for later restoration. | STRING |
| HIGH | pyvista/core/utilities/writer_registry.py | 0 | snapshot the current registry state for later restoration. | STRING |
| HIGH | pyvista/core/utilities/accessor_registry.py | 0 | snapshot the current registry state for later restoration. | STRING |
| HIGH | pyvista/plotting/theme_registry.py | 0 | snapshot the current registry state for later restoration. | STRING |
| HIGH | pyvista/plotting/component_registry.py | 0 | snapshot the current registry state for later restoration. | STRING |
| HIGH | pyvista/plotting/interactor_style_registry.py | 0 | snapshot the current registry state for later restoration. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/00-load/create_unstructured_surface.py | 115 | # and the points belonging to the cell. In this example, there are 8 | COMMENT |
| HIGH | examples/00-load/create_point_cloud.py | 19 | # cloud. In this example, we'll work a bit backwards using a point cloud that | COMMENT |
| HIGH | examples/99-advanced/extending_pyvista.py | 96 | # In this example, all objects that would have been created as | COMMENT |
| HIGH | examples/02-plot/themes.py | 144 | # In this example, we create a custom theme from the base "default" | COMMENT |
| HIGH | examples/02-plot/bounds.py | 30 | # In this example, we override the values shown along the X and Y axes with our | COMMENT |
| HIGH | examples/01-filter/surface_smoothing.py | 76 | # <pyvista.PolyDataFilters.smooth>`. In this example, you can see how Taubin | COMMENT |
| HIGH | examples/01-filter/streamlines.py | 87 | # filter, for example if an inlet surface is available. In this example, the | COMMENT |
| HIGH | examples/01-filter/interpolate.py | 48 | # In this example, we will in interpolate sparse points in 3D space into a | COMMENT |
| HIGH | examples/03-widgets/checkbox_widget.py | 42 | # In this example, we will add many meshes to a scene with unique colors and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/core/test_geometric_sources.py | 768 | planes_source.push(*distance) | CODE |
| HIGH | tests/core/test_geometric_sources.py | 418 | algo.push(distance) | CODE |
| HIGH | tests/core/test_geometric_sources.py | 422 | algo.push(distance) | CODE |
| HIGH⚡ | tests/core/test_datasetattributes.py | 1041 | assert table.schema.equals(direct.schema) | CODE |
| HIGH⚡ | tests/core/test_datasetattributes.py | 1042 | assert table.equals(direct) | CODE |
| HIGH | tests/core/test_objects.py | 208 | assert df.equals(table.to_pandas()) | CODE |
| HIGH⚡ | tests/core/test_objects.py | 255 | assert consumed.equals(table.to_arrow()) | CODE |
| HIGH | tests/plotting/test_plotting.py | 6546 | source.push(distance) | CODE |
| HIGH | pyvista/core/utilities/geometric_sources.py | 3670 | >>> planes_source.push(0.0, -10.0, 0) | STRING |
| HIGH | pyvista/core/utilities/geometric_sources.py | 3830 | source.push(dist) | CODE |
| HIGH | pyvista/plotting/actor.py | 56 | 'if (p.x > 1.0 || p.y > 1.0) {\n' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyvista/core/grid.py | 325 | def _update_dimensions(self: Self) -> None: | CODE |
| LOW | pyvista/core/datasetattributes.py | 507 | def set_array(self: Self, data: ArrayLike[float], name: str, deep_copy: bool = False) -> None: # noqa: FBT001, FBT0 | CODE |
| LOW | pyvista/core/composite.py | 1719 | def set_block_name(self: MultiBlock, index: int | str, name: str | None) -> None: | CODE |
| LOW | pyvista/core/filters/__init__.py | 40 | def _update_alg(alg: _vtk.vtkAlgorithm, *, progress_bar: bool = False, message='') -> None: | CODE |
| LOW | pyvista/core/filters/data_set.py | 5578 | def _update_id_mask(logic_) -> None: | CODE |
| LOW | pyvista/core/utilities/arrays.py | 686 | def _set_string_scalar_object_name(vtkarr: _vtk.vtkStringArray) -> None: | CODE |
| LOW | pyvista/core/utilities/arrays.py | 1013 | def _update_string(self: _SerializedDictArray) -> None: | CODE |
| LOW | pyvista/core/utilities/misc.py | 548 | def set_new_attribute(obj: object, name: str, value: Any) -> None: | CODE |
| LOW⚡ | pyvista/core/utilities/reader.py | 398 | def _update_information(self) -> None: | CODE |
| LOW⚡ | pyvista/core/utilities/reader.py | 401 | def _set_defaults(self) -> None: | CODE |
| LOW⚡ | pyvista/core/utilities/reader.py | 404 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 345 | def _set_directory(self, directory) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 352 | def _set_filename(self, filename) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 863 | def _set_filename(self, filename) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 896 | def set_active_time_point(self, time_point) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/reader.py | 945 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 970 | def set_active_time_point(self, time_point) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/reader.py | 1382 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 1534 | def _set_defaults(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 1687 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 2110 | def set_active_time_value(self, time_value) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/reader.py | 2113 | def set_active_time_point(self, time_point) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/reader.py | 2140 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 2539 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 3004 | def set_active_time_point(self, time_point) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/reader.py | 3007 | def _set_defaults_post(self) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 3991 | def set_active_time_point(self, time_point: int) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 3999 | def set_active_time_value(self, time_value: float) -> None: | CODE |
| LOW | pyvista/core/utilities/reader.py | 4366 | def set_active_time_value(self, time_value) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/reader.py | 4369 | def set_active_time_point(self, time_point) -> None: # noqa: D102 | CODE |
| LOW | pyvista/core/utilities/fileio.py | 162 | def set_pickle_format(format: Literal['vtk', 'xml', 'legacy']) -> None: # noqa: A002 | CODE |
| LOW | pyvista/core/utilities/fileio.py | 537 | def _set_reader_attributes(reader: BaseReader[Any], **kwargs) -> None: | CODE |
| LOW | pyvista/core/_validation/validate.py | 1180 | def _set_default_kwarg_mandatory(kwargs: dict[str, Any], key: str, default: Any) -> None: | CODE |
| LOW | pyvista/ext/viewer_directive.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | pyvista/trame/__init__.py | 28 | __all__ = [ | CODE |
| LOW | pyvista/trame/views.py | 20 | __all__ = [ | CODE |
| LOW | pyvista/trame/jupyter.py | 23 | __all__ = [ | CODE |
| LOW | pyvista/trame/ui/base_viewer.py | 16 | __all__ = ['BaseViewer'] | CODE |
| LOW | pyvista/trame/ui/vuetify3.py | 21 | __all__ = [ | CODE |
| LOW | pyvista/trame/ui/__init__.py | 17 | __all__ = [ | CODE |
| LOW | pyvista/trame/ui/vuetify2.py | 21 | __all__ = [ | CODE |
| LOW | pyvista/plotting/themes.py | 71 | def _set_plot_theme_from_env() -> None: | CODE |
| LOW | pyvista/plotting/charts.py | 446 | def _update_textureprops(self) -> None: | CODE |
| LOW | pyvista/plotting/charts.py | 1107 | def _update_ticks(self) -> None: | CODE |
| LOW | pyvista/plotting/charts.py | 4925 | def _setup_scene(self) -> None: | CODE |
| LOW | pyvista/plotting/renderer.py | 430 | def set_color_cycler(self, color_cycler) -> None: | CODE |
| LOW | pyvista/plotting/renderer.py | 657 | def _update_bounds(bounds) -> None: | CODE |
| LOW | pyvista/plotting/renderer.py | 658 | def update_axis(ax) -> None: | CODE |
| LOW | pyvista/plotting/renderer.py | 2794 | def set_focus(self, point) -> None: | CODE |
| LOW | pyvista/plotting/renderer.py | 2821 | def set_position(self, point, reset=False, render=True) -> None: # noqa: FBT002 | CODE |
| LOW | pyvista/plotting/renderer.py | 2858 | def set_viewup(self, vector, reset=True, render=True) -> None: # noqa: FBT002 | CODE |
| LOW | pyvista/plotting/renderer.py | 3166 | def update_bounds_axes(self) -> None: | CODE |
| LOW | pyvista/plotting/mapper.py | 645 | def _set_scalar_range(self, clim, *, use_default: bool) -> None: | CODE |
| LOW | pyvista/plotting/plotter.py | 1496 | def set_focus(self, *args, render: bool = True, **kwargs) -> None: # numpydoc ignore=PR01,RT01 | CODE |
| LOW | pyvista/plotting/plotter.py | 1565 | def update_bounds_axes(self, *args, **kwargs) -> None: # numpydoc ignore=PR01,RT01 | CODE |
| LOW | pyvista/plotting/plotter.py | 1672 | def set_scale(self, *args, **kwargs) -> None: # numpydoc ignore=PR01,RT01 | CODE |
| LOW | pyvista/plotting/plotter.py | 1798 | def set_environment_texture(self, *args, **kwargs) -> None: # numpydoc ignore=PR01,RT01 | CODE |
| LOW | pyvista/plotting/plotter.py | 5321 | def update_scalars(self, scalars, mesh=None, render: bool = True) -> None: # noqa: ANN001, FBT001, FBT002 | CODE |
| LOW | pyvista/plotting/plotter.py | 6874 | def set_background(self, *args, **kwargs) -> None: # numpydoc ignore=PR01,RT01 | CODE |
| LOW | pyvista/plotting/plotter.py | 6879 | def set_color_cycler(self, *args, **kwargs) -> None: # numpydoc ignore=PR01,RT01 | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/test_frd.py | 266 | # Check if derived stress fields were computed correctly | COMMENT |
| LOW | tests/core/test_frd.py | 270 | # Check if scalar values (n_components == 1) were correctly added | COMMENT |
| LOW⚡ | tests/core/test_utilities.py | 2722 | # Set this to an invalid state with vtk methods | COMMENT |
| LOW | tests/core/test_dataset_filters.py | 3861 | # Check if the number of points in the aligned mesh is the same as the original mesh | COMMENT |
| LOW | tests/plotting/test_widgets.py | 36 | yaw = 0 # Set yaw to 0 and compute the others | CODE |
| LOW | pyvista/_deprecate_positional_args.py | 130 | # Check if the decorator is even needed at all | COMMENT |
| LOW | pyvista/core/_vtk_utilities.py | 131 | # Check if we have a vtk-defined attribute using cached lookup | COMMENT |
| LOW | pyvista/core/_vtk_utilities.py | 224 | # Check if forwarding snake_case attributes | COMMENT |
| LOW | pyvista/core/composite.py | 959 | # Check if the keys already exist before updating | COMMENT |
| LOW | pyvista/core/composite.py | 980 | # Check if the keys already exist before updating | COMMENT |
| LOW | pyvista/core/filters/data_set.py | 1958 | # Check if a table of geometries was passed | COMMENT |
| LOW | pyvista/core/filters/data_set.py | 6191 | # Check if scalars array given | COMMENT |
| LOW | pyvista/core/filters/poly_data.py | 1452 | # Check if scalars array given | COMMENT |
| LOW | pyvista/core/filters/data_object.py | 320 | # Check if a group was passed to make the error message friendlier | COMMENT |
| LOW | pyvista/core/utilities/misc.py | 517 | # Check if setting a new attribute is allowed | COMMENT |
| LOW | pyvista/core/utilities/misc.py | 522 | # Check if this class froze itself. Any frozen state already set by parent classes, | COMMENT |
| LOW | pyvista/core/utilities/helpers.py | 303 | # Check if dataset is a numpy array. We do this first since | COMMENT |
| LOW | pyvista/core/utilities/helpers.py | 330 | # Check if a dataset is a VTK type | COMMENT |
| LOW | pyvista/core/utilities/fileio.py | 488 | # Read file using meshio.read if file_format is present | COMMENT |
| LOW⚡ | pyvista/core/_validation/check.py | 921 | # Check if is instance | COMMENT |
| LOW⚡ | pyvista/core/_validation/check.py | 924 | # Set flag to raise error if not instance | COMMENT |
| LOW⚡ | pyvista/core/_validation/check.py | 933 | # Set flag to raise error if not type | COMMENT |
| LOW | pyvista/plotting/render_window_interactor.py | 589 | # Set scene to interact with or reset it to stop interaction (otherwise crash) | COMMENT |
| LOW | pyvista/plotting/renderer.py | 670 | if ( # Check if the actor should be ignored | CODE |
| LOW | pyvista/plotting/renderers.py | 305 | # Check if row and col weights correspond to given shape, | COMMENT |
| LOW | pyvista/plotting/plotter.py | 274 | # Check if VTK has EGL support | COMMENT |
| LOW | pyvista/plotting/plotter.py | 4228 | # Set color to white by default when using a texture | COMMENT |
| LOW | pyvista/plotting/axes_assembly.py | 1206 | # Add actor to list | COMMENT |
| LOW | pyvista/examples/examples.py | 796 | >>> pl.camera_position = 'yx' # Set camera to provide a dorsal view | STRING |
| LOW | pyvista/_cli/report.py | 14 | # Assign annotations to be able to use the Report class using | COMMENT |
| LOW | examples/01-filter/project_plane.py | 25 | # Display the results | COMMENT |
| LOW | examples/01-filter/streamlines.py | 42 | # Display the results. Please note that because this dataset's velocity field | COMMENT |
| LOW | doc/source/make_tables.py | 290 | # Check if the format was already added from the reader | COMMENT |
| LOW | doc/source/make_tables.py | 3642 | # Check if all carousel RST files already exist - if so, skip the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 216 | # The length of docstring lines should be kept to 75 characters to facilitate | COMMENT |
| MEDIUM | pyproject.toml | 371 | # The length of docstring lines should be kept to 75 characters to facilitate | COMMENT |
| LOW | pyvista/core/datasetattributes.py | 767 | # are identical, just return the underlying array name | COMMENT |
| LOW | pyvista/core/dataset.py | 515 | # simply set the underlying data | COMMENT |
| MEDIUM | pyvista/core/dataset.py | 3389 | # Align points first to make rank computation more robust | COMMENT |
| MEDIUM | pyvista/core/filters/image_data.py | 1861 | # correctly. Cast to float to be robust. See https://gitlab.kitware.com/vtk/vtk/-/work_items/20019 | COMMENT |
| LOW | pyvista/plotting/camera.py | 909 | # simply call tight again to reset the parallel scale due to the | COMMENT |
| LOW | pyvista/examples/downloads.py | 265 | except ValueError: # otherwise simply add the file to the registry | CODE |
| LOW | pyvista/examples/_dataset_loader.py | 456 | # so make download() simply return the local filepath | COMMENT |
| LOW | examples/00-load/linear_cells.py | 112 | # simply create a cell from the ``pyvista.core.cells`` module and inspect its attributes. | COMMENT |
| LOW | examples/00-load/create_tri_surface.py | 41 | # simply pass the numpy points to the PolyData constructor | COMMENT |
| LOW⚡ | examples/00-load/read_file.py | 13 | # file formats, simply use :func:`pyvista.read` to load your spatially | COMMENT |
| MEDIUM | examples/02-plot/backface_prop.py | 42 | # front and backfaces differently helps viewers comprehend the intricate | COMMENT |
| MEDIUM | examples/02-plot/texture.py | 31 | # harness the :func:`pyvista.DataSetFilters.texture_map_to_plane` filter to | COMMENT |
| LOW | examples/02-plot/texture.py | 73 | # done using the :func:`pyvista.read_texture` function - simply pass an image | COMMENT |
| LOW | examples/02-plot/texture.py | 154 | # 255 [fully visible]. To enable this feature just pass the opacity array as the | COMMENT |
| LOW | examples/02-plot/vertices.py | 41 | # In order to display the vertices atop a mesh's surface geometry, simply pass | COMMENT |
| MEDIUM | examples/01-filter/extract_edges.py | 57 | # We can leverage the :any:`pyvista.PolyData.n_open_edges` property and | COMMENT |
| LOW | examples/01-filter/using_filters.py | 99 | # And to view this filtered data, simply call the ``plot`` method | COMMENT |
| MEDIUM | examples/03-widgets/plane_widget.py | 57 | # Or you could leverage the plane widget for some custom task like glyphing a | COMMENT |
| MEDIUM | examples/03-widgets/slider_bar_widget.py | 48 | # Or you could leverage a custom callback function that takes a single value | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/check_doctest_names.py | 164 | except Exception as exc: # noqa: BLE001 | CODE |
| MEDIUM | tests/plotting/test_plotter.py | 1020 | def render_on_thread(): | CODE |
| LOW | tests/plotting/test_plotter.py | 1028 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | pyvista/report.py | 303 | except Exception: # noqa: BLE001 | CODE |
| LOW | pyvista/report.py | 315 | except Exception: # noqa: BLE001 | CODE |
| LOW | pyvista/core/utilities/misc.py | 371 | except Exception: # noqa: BLE001 # pragma: no cover | CODE |
| LOW | pyvista/core/utilities/reader_registry.py | 205 | except Exception as e: | CODE |
| LOW | pyvista/core/utilities/reader_registry.py | 402 | except Exception as err: # noqa: BLE001 | CODE |
| LOW | pyvista/core/utilities/writer_registry.py | 337 | except Exception as err: # noqa: BLE001 | CODE |
| LOW | pyvista/core/utilities/docs.py | 63 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | pyvista/core/utilities/docs.py | 75 | except Exception: # noqa: BLE001 # pragma: no cover | CODE |
| LOW⚡ | pyvista/core/utilities/docs.py | 81 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | pyvista/core/utilities/docs.py | 90 | except Exception: # noqa: BLE001 # pragma: no cover | CODE |
| LOW | pyvista/core/utilities/accessor_registry.py | 614 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | pyvista/core/utilities/observers.py | 273 | except Exception: # noqa: BLE001 # pragma: no cover | CODE |
| LOW | pyvista/core/utilities/observers.py | 284 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | pyvista/ext/viewer_directive.py | 98 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | pyvista/ext/plot_directive.py | 248 | except Exception as e: # noqa: BLE001 # pragma: no cover | CODE |
| LOW | pyvista/plotting/theme_registry.py | 382 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | pyvista/plotting/component_registry.py | 633 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | pyvista/plotting/interactor_style_registry.py | 231 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | pyvista/plotting/plotter.py | 1006 | except Exception as e: # noqa: BLE001 # pragma: no cover | CODE |
| LOW | pyvista/plotting/picking.py | 1081 | except Exception as e: # noqa: BLE001 # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 238 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 344 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 429 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 589 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 637 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 713 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/plotting/utilities/algorithms.py | 753 | except Exception: # pragma: no cover | CODE |
| LOW | pyvista/_cli/convert.py | 213 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | pyvista/_cli/validate.py | 275 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | pyvista/_cli/utils.py | 257 | except Exception: # noqa: BLE001 | CODE |
| LOW | pyvista/_cli/utils.py | 393 | except Exception as ex: # noqa: BLE001 | STRING |
| LOW | pyvista/jupyter/__init__.py | 186 | except Exception as err: # noqa: BLE001 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/plotting/test_plotting_utilities.py | 82 | # make sure to plot an object that has boundaries | COMMENT |
| MEDIUM | examples/00-load/create_polydata_strips.py | 93 | # <pyvista.PolyDataFilters.strip>`. Here, for demonstration purposes we convert the | COMMENT |
| MEDIUM | examples/99-advanced/add_example.py | 87 | # ``__repr__`` method. Otherwise, you can use ``print()`` to output text. | STRING |
| MEDIUM | examples/99-advanced/add_example.py | 179 | # <https://github.com/pyvista/data>`_, and you can add the file by | STRING |
| MEDIUM | examples/99-advanced/planets.py | 77 | # grounded in reality and are for demonstration purposes only. | COMMENT |
| MEDIUM | examples/02-plot/themes.py | 74 | # Note that you can also use color gradients for the background of the plotting | COMMENT |
| MEDIUM | examples/02-plot/ghost_cells.py | 23 | # Decide which cells are ghosted with a criteria (feel free to adjust this | COMMENT |
| MEDIUM | examples/02-plot/lookup_table.py | 87 | # If you want to create a completely unique color map, you can use attributes | COMMENT |
| MEDIUM | examples/01-filter/image_fft.py | 91 | # for demonstration purposes. | COMMENT |
| LOW | doc/intersphinx/update.sh | 4 | # make sure to follow potential redirects | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/00-load/read_file.py | 16 | # The following code block uses a built-in example file and displays an | COMMENT |
| LOW⚡ | examples/00-load/read_file.py | 24 | # The following code block uses a built-in example | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyvista/plotting/axes_assembly.py | 622 | # TODO: implement set_text_prop() and use that instead | COMMENT |
| LOW | pyvista/plotting/axes_assembly.py | 1941 | # TODO: implement set_text_prop() and use that instead | COMMENT |