Daniel Goldfarb
Daniel Goldfarb
Alternatively you can also use the `xlim` kwarg, but tight_layout is simpler.
> I tried to set tight_layout=True in the mpf.plot() but the blue bold line is still just connecting the 2 points. Did I wrongly do? I apologize. I misinterpreted your...
There is no feature of mplfinance that will *automatically* extrapolate `alines`. (I made the above picture using Windows Paint). **However you can extrapolate the line yourself** using your `two_points` data,...
Also, fyi, once you have `ixA` and `ixB`, a simple way to find the linear equation for extrapolating is to use [**numpy polyfit**](https://numpy.org/doc/stable/reference/generated/numpy.polyfit.html) setting deg = 1.
@sukioral , Please let me know if it works well for you, or if you have any other questions. Thank you. --Daniel
@sukioral -- were you able to get this to work??
Tooltips are not directly supported in mplfinance, however this should be possible by setting `returnfig=True` when calling `mpf.plot()` to gain access to the Figure and Axes objects, and then using...
@sarangab Thank you for contributing to the disussion. I was looking at that [exact page](https://mpld3.github.io/examples/scatter_tooltip.html) earlier today. Of course, anything can be integrated. However as a general rule I am...
Sławomir, Thank you! I will take a look sometime this week. All the best. --Daniel
There are two kwargs that can be used when calling [**`mpf.make_mpf_style()`**](https://github.com/matplotlib/mplfinance/blob/master/src/mplfinance/_styles.py#L59-L97). They are **`facecolor`** and **`figcolor`**. Make sure you have read through [**the entire "styles" tutorial**](https://github.com/matplotlib/mplfinance/blob/master/examples/styles.ipynb). Regarding legends, see [**here**](https://github.com/matplotlib/mplfinance/issues/181#issuecomment-646329911)...