question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Zoom out beyond graph

See original GitHub issue

Hey,

First, thanks for the lib.

Is it possible to zoom out beyond the graph (I mean whatever is being plotted, the full series) fitting the window? Like most regular pyqtgraph plots would allow you to. Ideally I would like to arbitrarly zoom out, or in a trend move the graph so it doesn’t end in a corner and therefore doesn’t look too scary 😃

I’ve tried fiddling with auto range/limits, side_margin and right_margin_candles but can’t seem to make it work.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
highfestivacommented, Apr 24, 2022

M-wheel zooming on the y-axis without reset would be simple to implement. My only concern then is that people might spend additional time y-zooming to get comfortable instead of spending that time analyzing (once they are accustomed to auto-zoom).

Or more broadly: is finplot a tool to allow you to do everything your way, or should it force you into doing it in the most efficient way in the long run.

Most libraries want the former, but I’m leaning towards the latter. It’s also a matter of what the library is for: since it’s mainly for backtesting, human psycology plays less of a role and fewer features means less maintenance and fewer bugs.

Leave this open and I’ll ponder it some more.

0reactions
highfestivacommented, May 11, 2022

From I psychological standpoint, I decided to only use auto-zoom. My hopes is that when you’ve used finplot enough, you’ll feel confided that it will always zoom out to show everything, without the need of additional margins to ensure “everything is visible.” At least I do, and with only one datapoint I’m closing this. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

It is not possible to zoom out beyond the plots ... - MathWorks
It is possible to both zoom-in/out indefinitely in a MATLAB figure plot. In order to zoom out of the axis limits, click on...
Read more >
Quickly Adjust the Graphing Window with the Zoom Button on ...
Use the Zoom Standard, Zoom In, Zoom Out, and the Zoom Box on Your Graphs !Buy the TI84 Plus CE on Amazon here:...
Read more >
Zoom and pan – amCharts 5 Documentation
Zoom and pan. An XY chart can be zoomed and panned in a number of ways. This tutorial takes a closer look at...
Read more >
Resize: automatically zoom to fit data · Issue #1197 - GitHub
First a demonstration of the issue: Set any plot to EqualScaleMode.ZoomOut and the axes will be equal alright (so it's sort of the...
Read more >
Configuring plot tools — Bokeh 2.4.3 Documentation
The zoom-out tool decreases the zoom level of the plot. It will respect any min and max values and ranges, preventing zooming in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found