Skip to content
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

Generating plot image without showing of the window (without call of fplt.show()) #422

Open
Alfavisioner opened this issue May 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Alfavisioner
Copy link

Hi! Thank you for great job and for high speed.

I would like to migrate from mathplotlib. It is extremely slow in case of candles.

I use mathplotlib to generate trades chart image for backtesting purpose.
mathplotlib have posibility to disable showing of the window dialogs, just to generate image in the backgound. Images are later used in html.

Finplot works great in the Window mode.
But it is not possible to generate screenshots, without showing of the window.
Or showing of windows it in the background mode.

Unfortunately i cannot use finplot on server side.

Something like fplt.screenshot_only()
without interactive functionality, just as quick rendering engine.

Is it possible to do that?

P.S, I saw issue #104, but did not find answer.

@Alfavisioner Alfavisioner added the bug Something isn't working label May 13, 2023
@Alfavisioner Alfavisioner changed the title Generating plot image without showing of the window (call of fplt.show()) Generating plot image without showing of the window (without call of fplt.show()) May 13, 2023
@highfestiva
Copy link
Owner

Unfortunately I think not. I'm no expert on Qt, but this would involve creating some virtual or off-screen window and screenshotting that, is my guess. I have no idea how to perform such a stunt. Let me know if you find a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants