Comments (4)
Note... this should be possible to do now, just by removing the series manually:
empty!(p.series_list)
But we also need to update/reset the Axis objects, and some others:
sp.attr[:projection]
plt.n
Might want to just reset all? If so, gotta remove the "init" fields.
from plots.jl.
+1
from plots.jl.
I'd really like to have "clf" functionality for mulitple active plot windows. I cannot seem to reliably reuse more than one plot window. I am using pyplot backend from REPL. Example:
x = range(0, stop=10, length=11)
y = x.^2
using Plots
using PyCall; pygui(:qt); pyplot()
p1 = plot(x,x, reuse=false, show=true)
p2 = plot(x,y, reuse=false, show=true)
plot!(p1, x,y, reuse=true) # adds to plot p1; reuse keyword is ignored?
display(p1); plot(x,y, reuse=true) # clears and reuses p2, not p1
Here, what I want is to reuse (a.k.a. clear or reset) the first plot window, but I cannot find a way to do it. I'm posting here, because I think this is the relevant ticket. Let me know if I should open a separate ticket.
from plots.jl.
+1
Yea, removing items from p.series_list with
deleteat!(p.series_list, 2)
does not force the graph to update.
from plots.jl.
Related Issues (20)
- [BUG] Backend init broken in Julia 1.10 if loaded during precompilation HOT 2
- [BUG] Plots in VSCode shows no error when it should show
- [BUG] World age problem
- Precompile scripts leaves files behind
- [BUG] log2 axis label not rendered properly
- [FR] pythonplot: (optionally) rasterize heatmap
- [BUG] Heatmap changes image content when axis are not equally long and swapped by mistake
- Disable svg inlining in Jupyter notebooks
- [BUG] Cannot Independently Set ylims for twined (`twinx()`) axes
- [BUG] `markerstrokestyle` doesn't work
- [BUG] Too much space for yticks with plotly backend
- GR backend missing GKSTerm.app on macOS Sonoma Version 14.3 (23D56) HOT 3
- [FR] Bar plots should accept named tuples like in R HOT 6
- [FR] Ability to resize the arrow heads in e.g. quiver plots
- [BUG]: when plotting densities density(<distrib>) fails whereas plot(<distrib>) is ok
- [BUG] [PlotlyJS] Layout broken for subplot 1 when generating figure with 5 or more subplots HOT 1
- [BUG] Plots backend documentation unclear HOT 1
- [BUG] Missing Contour Labels with NaN spaces
- Cannot change the linewidth of a single plot HOT 1
- [FR] Allow plotting function data in quiver() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plots.jl.