Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adapt PyMAPDL to common plotter (#2799)
* feat: Adapt PyMAPDL to common plotter * fix: Remove manual test file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * doc: Add docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: small changes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: set default bg color * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Adapt to latest changes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> * feat: Use visualizer global variables * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: plotter calls * fix: Plotting calls * fix: Empty labels * fix: Plotting tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update the image cache * fix: pre-commit * Update the image cache * fix: Remove unused import * Update the image cache * fix: codacy issues * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Plotting issues * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * temp: pass tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Bugs in implementation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update the image cache * fix: imports * fix: remove off_screen * fix: Doc changes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Add missing comma * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Dependencies * fix: Dependencies * fix: Add missing function in plotter * fix: Wrong override * Update the image cache * fix: rename built in shadowing variables * fix: Built in shadowing * fix: more built in shadowing * fix: pre-commit * fix: Missed shadowing * fix: remove subplot in example * Apply suggestions from code review Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> * fix: remove pyvista import in example * fix: Docs * fix: Incorrect warning * fix: Remove import helper from __init__ * fix: Imports * fix: import plotting if it has pyvista * fix: minimal dependencies * fix: Add missing import * fix: Missing minimal setup * fix: Tests * fix: Rework plotting imports * fix: remove unneeded import * fix: plotting imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: plotting typing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Adding changelog entry: 2799.miscellaneous.md * Update doc/source/conf.py Co-authored-by: German <28149841+germa89@users.noreply.github.com> * Update src/ansys/mapdl/core/plotting/plotting.py Co-authored-by: German <28149841+germa89@users.noreply.github.com> * Update src/ansys/mapdl/core/plotting/plotting.py Co-authored-by: German <28149841+germa89@users.noreply.github.com> * Update src/ansys/mapdl/core/plotting/plotting.py Co-authored-by: German <28149841+germa89@users.noreply.github.com> * Update tests/conftest.py Co-authored-by: German <28149841+germa89@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Adding changelog entry: 2799.added.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Revert upper limit * fix: ratio, CHRGS * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: revert opacity * fix: revert deleted comment * fix: delete uneeded theme file * fix: Remove chained calls to plotter * fix: Missing plotter calls * fix: Remove beartype * chore: adding changelog file 2799.dependencies.md * fix: Add lazy imports due to minimal requirements * fix: Parameter issues * fix: Add kwargs to plot * fix: remove theme import from core * fix: core init * fix: Separate consts * fix: Consts * fix: wrong method * fix: Bug in screenshot * fix: bug in assertion * fix: multiple test fixes * fix: Warning no longer required * fix: plotter input test * fix: picking tests fixes * TEMP: Comment test * fix: type checking * Update the image cache * fix: codacy issues * fix: Add missing docstrings * fix: remove duplicated import * fix: remove {} defaults * tmp: remove failing test * fix: kwargs defaults * fix: default kwargs * fix: remove pyvista dependencies * fix: Remove uneeded plot and plot_iter * fix: Improve dependency management in tests * fix: Change requires pyvista to visualization tool * fix: labels font * fix: Use @require_dependency decorator * fix: revert unimplemented methods * fix: Update cache * fix: bug in legend check * fix: Update cache * fix: requires import * Update the image cache * fix: bug in picker * doc: Change general_plotter to MapdlPlotter * doc: Fix import in docs * fix: Several small fixes * fix: Docstring test * Update the image cache * test: printing skipped tests * fix: pyvista requirements * test: printing all output * Update the image cache * Update pyproject.toml Co-authored-by: German <28149841+germa89@users.noreply.github.com> * fix: revert pick test changes, revert hook deletion * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Theme inheritance * feat: fully support passing plotter * fix: bad indentation * fix: Force arial in labels * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: pre-commit * fix: Wrong legend * fix: update cache * Update the image cache * feat: Add support for passing PyVista plotters * fix: Force arial and reset cache * Update the image cache * fix: Add missing docstring * fix: Simplify plotter selection * fix: Delete unused return, fix changelog label * chore: adding changelog file 2799.dependencies.md * chore: adding changelog file 2799.added.md --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: German <28149841+germa89@users.noreply.github.com> Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: AlejandroFernandezLuces <AlejandroFernandezLuces@users.noreply.github.com> Co-authored-by: German <germanmartinezayuso@gmail.com> Co-authored-by: pyansys-ci-bot <pyansys.github.bot@ansys.com> Co-authored-by: germa89 <germa89@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
- Loading branch information