-
Notifications
You must be signed in to change notification settings - Fork 666
Closed
Labels
enhancementNew feature or requestNew feature or requestreleasedcode merged into repo AND released to Pypicode merged into repo AND released to Pypi
Description
Hello @DanielGoldfarb,
Thanks for reviving mplfinance and making it better! I like the new panel additions. They are awesome!
Is your feature request related to a problem? Please describe.
I was able to target mpf.make_addplot(ylim: tuple))
to adjust a panel's top and bottom ylim's so the panel's are not too close. Is it possible to at least set xlim=(mpf.minx, 0.9 * mpf.max)
?
The bottom padding for title seems large. Possible bug? 🤷 Where self.title = "SPY (D)"
.
Here is the heart of the mpf plot code for the chart below:
mpf_style = mpf.make_mpf_style(base_mpf_style=mpf_styles[-1], rc={'figure.facecolor': '#EDEDED'})
width_config={'candle_linewidth':0.8, 'candle_width':0.525, 'volume_width': 0.525}
mpf.plot(
self.df.tail(self.recent), type="candle", title=self.title,
style=mpf_style, datetime_format="%-m - %-d - %Y",
volume=True, addplot=priceta + volta + rsita,
figsize=(16, 8), panel_ratios=(1, 0.2, .4), xrotation=32,
update_width_config=width_config
)
Describe the solution you'd like
Ideally, I would like the ability to adjust at least the left padding of each panel. Or a tight_layout
with an adjustable right padding for each panel.
Thanks for your time,
KJ
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestreleasedcode merged into repo AND released to Pypicode merged into repo AND released to Pypi