matplotlib / matplotlib/mplfinance
MultiCursor
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 4.4k
- Forks
- 678
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Daniel, thank you for excellent project.
My question is this:
There is a feature in matplotlib which provides a vertical (default) and/or horizontal line cursor shared between multiple axes.
Is it possible to have something like that in mplfinance?
This is the sample code they provided with their help screen:
from matplotlib.widgets import MultiCursor
import matplotlib.pyplot as plt
import numpy as np
fig, (ax1, ax2) = plt.subplots(nrows=2, sharex=True)
t = np.arange(0.0, 2.0, 0.01)
ax1.plot(t, np.sin(2*np.pi*t))
ax2.plot(t, np.sin(4*np.pi*t))
multi = MultiCursor(fig.canvas, (ax1, ax2), color='r', lw=1,
horizOn=False, vertOn=True)
plt.show()
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das im Issue enthaltene Beispiel für matplotlib.widgets.MultiCursor und die Art und Weise zu überprüfen, wie mplfinance mehrere Achsen erstellt. Lege fest, wie sich ein gemeinsamer vertikaler oder horizontaler Cursor über diese Achsen hinweg verhalten soll, und überprüfe anschließend das Ergebnis mit einem Mehrpanel-Chart ähnlich dem bereitgestellten Beispiel.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- matplotlib, python
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100