discretize icon indicating copy to clipboard operation
discretize copied to clipboard

mesh.get_slice() for Tree meshes?

Open lheagy opened this issue 4 years ago • 1 comments

The __plot_slice_tree method has a lot of logic for grabbing the correct values to plot in a plotslice. When generating plots with additional layers (e.g. a quiver plot for MVI) a lot of this logic needs to be repeated.

What do folks think of just having this be a method on a TreeMesh? and then __plot_slice_tree calls this and is more about the logic for plotting (e.g. starting at line 2106 at the moment)

lheagy avatar Jul 15 '21 21:07 lheagy

just realizing that we can use the CCv call to get the plot that I want, but still, would it be worthwhile to separate the logic of getting the slice + viewing the slice?

lheagy avatar Jul 15 '21 21:07 lheagy