@@ -515,10 +515,9 @@ If instead of the grid, coordinate vectors are given, a temporary grid is create
515515Keyword arguments: see [`available_kwargs`](@ref)
516516"""
517517function scalarplot! (ctx:: SubVisualizer , grid:: ExtendableGrid , func; kwargs... )
518- _update_context! (ctx, Dict (:clear => true , :show => false , :reveal => false ))
519518 _update_context! (ctx, kwargs)
520519
521- # call a specialized function if the user want to plot only a dim-1 slice of the data
520+ # call a specialized function if the user wants to plot only a dim-1 slice of the data
522521 if haskey (ctx, :slice ) && ctx[:slice ] != = nothing
523522 return slice_plot! (ctx, Val{dim_space (grid)}, grid, func)
524523 else
@@ -531,7 +530,7 @@ $(TYPEDSIGNATURES)
531530
532531Plot node vectors on subgrids of parent grid as P1 FEM function on the triangulation into subplot in the visualizer.
533532If `[i,j]` is omitted, `[1,1]` is assumed.
534- eyword arguments: see [`available_kwargs`](@ref)
533+ Keyword arguments: see [`available_kwargs`](@ref)
535534"""
536535function scalarplot! (
537536 ctx:: SubVisualizer ,
@@ -540,7 +539,6 @@ function scalarplot!(
540539 funcs:: AbstractVector ;
541540 kwargs... ,
542541 ) where {Tv, Ti}
543- _update_context! (ctx, Dict (:clear => true , :show => false , :reveal => false ))
544542 _update_context! (ctx, kwargs)
545543 if length (grids) != length (funcs)
546544 error (" number of subgrids: $(length (grids)) and number of functions: $(length (funcs)) not equal" )
@@ -708,7 +706,6 @@ $(TYPEDSIGNATURES)
708706Plot piecewise linear vector field as quiver plot.
709707"""
710708function vectorplot! (ctx:: SubVisualizer , grid:: ExtendableGrid , func; kwargs... )
711- _update_context! (ctx, Dict (:clear => true , :show => false , :reveal => false ))
712709 _update_context! (ctx, kwargs)
713710 if ctx[:spacing ] != nothing
714711 @warn " `spacing` has been removed from keyword arguments, use `rasterpoints` to control spacing"
@@ -801,7 +798,6 @@ Plot piecewise linear vector field as stream plot.
801798(2D pyplot only)
802799"""
803800function streamplot! (ctx:: SubVisualizer , grid:: ExtendableGrid , func; kwargs... )
804- _update_context! (ctx, Dict (:clear => true , :show => false , :reveal => false ))
805801 _update_context! (ctx, kwargs)
806802 if ctx[:spacing ] != nothing
807803 @warn " `spacing` has been removed from keyword arguments, use `rasterpoints` to control spacing"
886882# ##################################################################################
887883" $(TYPEDSIGNATURES) "
888884function customplot! (ctx:: SubVisualizer , func; kwargs... )
889- _update_context! (ctx, Dict (:clear => true , :show => false , :reveal => false ))
890885 _update_context! (ctx, kwargs)
891886 if ctx[:spacing ] != nothing
892887 @warn " `spacing` has been removed from keyword arguments, use `rasterpoints` to control spacing"
0 commit comments