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

Multiple candles on same plot #322

Open
cosmostronomer opened this issue Jan 25, 2021 · 1 comment
Open

Multiple candles on same plot #322

cosmostronomer opened this issue Jan 25, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@cosmostronomer
Copy link

cosmostronomer commented Jan 25, 2021

Hi,

I appreciate your work!
How would I plot multiple candles together side by side on the same figure?
I want to compare 1. original data, 2. modified data side by side.
So for each x value there will be 2 candles.

My first attempt was scale the width and maybe offset each candle to the side. But I could not find any option to do that.
Selection_006

It would be nice to have horizontal_offset keyword to place candles offset from the centre. Is what I want to achieve possible?
Hopefully I want to achieve the same with volume plot too.
If it is not possible, how about having two separate scale width for each? The candles will still be overlapped but at least they can be distinguished.

plot2 = fplt.make_addplot(data2,type='candle')
fplt.plot(data, type='candle', style=s, volume=True, addplot=plot2, scale_width_adjustment=dict(candle=0.5))

@cosmostronomer
Copy link
Author

Sorry I don't have the question label, github login process skipped the label selection page.

@DanielGoldfarb DanielGoldfarb added enhancement New feature or request question Further information is requested labels Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants