@@ -9,7 +9,7 @@ GridVisualize
99Plotting companion module for [ ExtendableGrids.jl] ( https://github.com/WIAS-PDELib/ExtendableGrids.jl )
1010Provides plotting of grids, scalar piecewise linear functions and vectors (2D only) for various plotting backends
1111on simplicial grids in one, two or three space dimensions. The main supported backends
12- are CairoMakie, GLMakie, PyPlot, and PlutoVista. Plots is only partially supported (1D and 2D rectangular grids).
12+ are CairoMakie, GLMakie, PythonPlot, PyPlot, and PlutoVista. Plots is only partially supported (1D and 2D rectangular grids).
1313
1414## Disclaimer
1515The code is rather complex and many codepaths are hard to test. Please be prepared to help
@@ -43,7 +43,7 @@ Plot appearance can be tweaked by a number of
4343[ keyword arguments] ( https://WIAS-PDELib.github.io/GridVisualize.jl/dev/api/#GridVisualize.available_kwargs ) .
4444
4545### Plotters
46- Plotters can be e.g. Plots, PyPlot, GLMakie, CairoMakie PlutoVista - we pass the module exported
46+ Plotters can be e.g. Plots, PythonPlot, PyPlot, GLMakie, CairoMakie PlutoVista - we pass the module exported
4747by the package. Different plotters can be used at the same time.
4848
4949### Multiple plots in one plotting window
6969### Movies
7070Currently, these can be recorded with GLMakie, CairoMakie and Plots backends both from
7171the REPL and Pluto notebooks. MP4 files and gifs can be created.
72- PyPlot possibly will follow.
72+ PyPlot/PythonPlot possibly will follow.
7373
7474This shows the animated graphic in the REPL (essentially the same as above)
7575and creates an embedded video in a Pluto notebook:
@@ -131,26 +131,26 @@ and all plotting functions will do nothing.
131131- 'p': planned (no schedule though)
132132- 'n': probably not, also in the future
133133
134- | | PyPlot | Makie | PlutoVista | Plots | VTKView |
135- | ----------------| --------| -------| ------------| -------| ---------|
136- | scalarplot, 1D | y | y | y,i | y | y |
137- | vectorplot, 1D | y | y | y | y | y |
138- | gridplot, 1D | y | y | y | y | |
139- | scalarplot, 2D | y | y | y | (y) | y,i |
140- | vectorplot, 2D | y | y | y | y | |
141- | streamplot, 2D | y | y | p | n | |
142- | gridplot, 2D | y | y,i | y | (y) | y,i |
143- | scalarplot, 3D | y | y,i | y,i | n | y,i |
144- | gridplot, 3D | y | y,i | y,i | n | y,i |
145- | vectorplot, 3D | p | p | p | n | |
146- | streamplot, 3D | | p | p | n | |
147- | movie | n | y | n | y | |
148- | triangulateio | y | y | n | n | n |
134+ | | PyPlot/PythonPlot | Makie | PlutoVista | Plots | VTKView |
135+ | ----------------| -------------------- | -------| ------------| -------| ---------|
136+ | scalarplot, 1D | y | y | y,i | y | y |
137+ | vectorplot, 1D | y | y | y | y | y |
138+ | gridplot, 1D | y | y | y | y | |
139+ | scalarplot, 2D | y | y | y | (y) | y,i |
140+ | vectorplot, 2D | y | y | y | y | |
141+ | streamplot, 2D | y | y | p | n | |
142+ | gridplot, 2D | y | y,i | y | (y) | y,i |
143+ | scalarplot, 3D | y | y,i | y,i | n | y,i |
144+ | gridplot, 3D | y | y,i | y,i | n | y,i |
145+ | vectorplot, 3D | p | p | p | n | |
146+ | streamplot, 3D | | p | p | n | |
147+ | movie | n | y | n | y | |
148+ | triangulateio | y | y | n | n | n |
149149
150150## Sample output
151151
152152
153- ### [ PyPlot] ( https://github.com/JuliaPy/PyPlot.jl ) :
153+ ### [ PyPlot] ( https://github.com/JuliaPy/PyPlot.jl ) , [ PythonPlot ] ( https://github.com/stevengj/PyPlot.jl ) :
154154![ ] ( https://github.com/WIAS-PDELib/GridVisualize.jl/blob/main/docs/src/assets/multiscene_pyplot.png?raw=true )
155155
156156
@@ -175,7 +175,7 @@ gridplot!(vis,grid,clear=true,show=true)
175175## Notebooks
176176
177177### Pluto
178- Plotting in Pluto notebooks for CairoMakie, PyPlot, Plots, GLMakie is working, WGLMakie probably works in combination with JSServe.
178+ Plotting in Pluto notebooks for CairoMakie, PyPlot, PythonPlot, Plots, GLMakie is working, WGLMakie probably works in combination with JSServe.
179179
180180Plotting in Pluto notebooks can use [ PlutoVista.jl] ( https://github.com/j-fu/PlutoVista.jl )
181181based on [ plotly.js] ( https://plotly.com/javascript/ ) (1D) and [ vtk.js] ( https://kitware.github.io/vtk-js/index.html ) (2/3D).
0 commit comments