New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve issues with scalars in cell_data_to_point_data API docs #3011
Resolve issues with scalars in cell_data_to_point_data API docs #3011
Conversation
Update PyVista forked repo
Pinging @tkoyama010 @akaszynski for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## main #3011 +/- ##
=======================================
Coverage 94.34% 94.34%
=======================================
Files 76 76
Lines 16546 16548 +2
=======================================
+ Hits 15610 15612 +2
Misses 936 936 |
* Add camera position example (#3019) * Add example camera_position property Add example for camera_position property per issue #1629. * Add background_color property example Add example for background_color property per issue #1629. * Apply suggestions from code review Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Fix by pre-commit run --all-files * Update pyvista/plotting/plotting.py Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Update pyvista/plotting/plotting.py Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Update pyvista/plotting/plotting.py Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Update pyvista/plotting/plotting.py Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Update pyvista/plotting/plotting.py Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Add background_color example Add example for background_color property. * clean up example * Update pyvista/plotting/plotting.py Co-authored-by: ENIAC-6 <kellysmeehan@gmail.com> Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Clear charts when clearing plotters (#2991) * Clean charts when clearing a renderer * Add test for charts clearing via plotter clear * Deep clean charts before destruction * Simplify plotter._renderer reference in chart tests * Don't create a Charts on clear() * Update pyvista/plotting/charts.py Co-authored-by: Alex Kaszynski <akascap@gmail.com> * Include area values in the images (#3011) * Fix pyvista.plot kwargs (#2967) * fix helpers kwargs * improve coverage * add missing image cache * skip windows cache verification of volume rendering * Add background_color example (#3013) * Add background_color example Add example to background_color property. * clean up example a bit Co-authored-by: Alex Kaszynski <akascap@gmail.com> * Fix the flying edges example (#3014) * fix the flying edges_example * Update examples/01-filter/flying_edges.py Co-authored-by: Andras Deak <adeak@users.noreply.github.com> Co-authored-by: Andras Deak <adeak@users.noreply.github.com> * Added link_views example (#3016) * added link_views() example * Apply suggestions from code review Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * link views example update * Apply suggestions from code review Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Apply suggestions from code review Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Removing docstring and return statement (#2999) * Removing docstring and return statement * Add export object test * Pre-commit hooks * fix path of obj writer Co-authored-by: Alex Kaszynski <akascap@gmail.com> Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Add example remove_scalar_bar( ) (#3005) * Example remove_scalar_bar( ) Add example for remove_scalar_bar( ) for plotting module to address issue #1629. * move to ScalarBar * Update pyvista/plotting/scalar_bars.py * Update pyvista/plotting/scalar_bars.py Co-authored-by: Alex Kaszynski <akascap@gmail.com> * Fixed docstring explanation for curvature function (#2997) * Add movie glyphs example (#2981) * add movie glyphs * add movie glyphs example * fix ref * Update examples/02-plot/movie_glyphs.py Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> * Fix texture docstring (#2996) * Fix active plotting scalars for multi-plots (#2980) * fix active plotting scalars * fix active plotting scalars * fix docstring * fix metadata copy * remove return change * fix none return * [BUG] Fix clearing point and cell data (#2976) * [BUG] Fix clearning point and cell data * remove mesh data clear * Add regression test for mesh fiddling in deep_clean() Co-authored-by: Alex Kaszynski <akascap@gmail.com> Co-authored-by: Andras Deak <deak.andris@gmail.com> * add more mount damavand examples (#2969) * add more mount damavand examples * Update pyvista/examples/downloads.py * Apply suggestions from code review Co-authored-by: Andras Deak <adeak@users.noreply.github.com> * fix image cache * bump to v0.35.2 Co-authored-by: ENIAC-6 <kellysmeehan@gmail.com> Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> Co-authored-by: Andras Deak <adeak@users.noreply.github.com> Co-authored-by: Roberto Pastor Muela <roberto.pastormuela@ansys.com> Co-authored-by: charithgunasekara <106762598+charithgunasekara@users.noreply.github.com> Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Co-authored-by: Jorge Martínez <28702884+jorgepiloto@users.noreply.github.com> Co-authored-by: Alex Rockhill <aprockhill@mailbox.org> Co-authored-by: Andras Deak <deak.andris@gmail.com>
Overview
Resolves #1625
Details
After some testing, it was seen that the Area values were not being shown. The bug fix consisted on including the
Area
as ascalars
to be plotted. This was also fixed in the API docs forcompute_cell_sizes()
. Smooth shading has also been deactivated to provide more visual information regarding the cell/point values.