-
Notifications
You must be signed in to change notification settings - Fork 15
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
feature: resizing plot #38
Comments
The plot size isn't hardcoded. You can either change it by creating the plot manually, e.g. # assuming x, y contains some data
let d = Trace[float64](mode: PlotMode.LinesMarkers, `type`: PlotType.Scatter,
xs: x, ys: y)
let layout = Layout(width: 1200, height: 400,
autosize: false)
Plot[float64](layout: layout, traces: @[d]).show() and change the layout to whatever you like. Or if you're using the procs from plotScatter(x, y)
.width(1200)
.height(400)
.show() If you specifically refer to modifying the plot when it's being shown in the browser, hmm. I don't think making the |
maybe I misunderstand, but we can use e.g.:
as here |
yes, perfect! this shd be the new default IMO |
@brentp somehow ur suggestion #38 (comment) didn't work ; but let's followup here #39 |
/cc @Vindaar
The text was updated successfully, but these errors were encountered: