-
Notifications
You must be signed in to change notification settings - Fork 644
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
vlines
(vertical lines, sharing x axis) on multiple panels
#513
Comments
@Tirbo06 can you provide an image (maybe draw on it showing what you want, and/or indicating what it's doing that you don't want) so that I can be more certain i understand what you're asking? |
There is a request to make |
Okey, so I was able to plot the grid and adjust the 'minor' and 'major' by returning 'axes'. Here is the code for the GRID that helped me :
And i certainly missed a point on how to customize the frequency of the |
I see that you have a workaround for intraday but is there an update about this functionality? |
Regarding the project you mentioned (#428 (comment)) it seems that various small (and faster to implement) enhancements are repeatedly distracting from it. (Something comes up that would be a nice enhancement, and turns out easy to implement (1 to 3 days work) so I stop what I'm doing and do the nice quick enhancement. However, there is slow, gradual progress on the xticks enhancement; I just can't say at this point if it will be another 6 weeks, or another 6 months; most likely something in between. In the meantime, as a workaround, you may try this: fig, axlist = mpf.plot(df,...,returnfig=True)
for ax in axlist:
for vline in my_vlines:
ax.axvline(x=vline, linestyle='--')
mpf.show() where Please try that and let me know how it works for you. |
Regarding
If you know the basics of using |
Hello Daniel, |
Regarding the contribution for MPF However, if you still plan to implement the functionality I will be honored to give it a try but I will not be able to work on it until April. Let me know if it is ok for you ? |
@Tirbo06
I was thinking something like this maybe:
|
vlines
(vertical lines, sharing x axis) on multiple panels
Hello Daniel ! |
I would like to work on this project |
@ateeq-code All the best. --Daniel |
Hello, we are students from CMU-Q looking to contribute to open-source projects as part of our final homework assignment for foundations of software engineering. We would like to ask for permission to work on this as well. |
@facealtha Of course you need to first have some idea how to use this package. You can learn the package by going through the tutorials listed here. |
seems like no one is working on this at the moment?
having this API work as a kwarg for
this could be added later, if someone else desires this api. i don't foresee a use for me. |
xD this came back to bite me... 6 months later... and I once again bump into this issue. |
Hello Daniel, 👋
Thank you for your dedication in improving the MPF library ! 📈
I am looking for different options for the X_AXIS/GRID adjustments:
[1] : Drawing vertical line for all panels ( when passing
**kwargs(vlines)
tompf.plot()
it is not drawing on all panels)[2] : Adjusting the
grid
forx_axis
with MPF. I seen other examples where we have to useaxes
. Is there a more efficient way to do that with MPF?If i well understood what others did is, returning the
axes
and then calling theadd_subplot
method from MPL wich will force me to start again from scratch using only MPL.I guess I missed something, here is a part of my code:
(If you prefer 2 different posts i can separate each request..)
The text was updated successfully, but these errors were encountered: