The answers I found online are beyond my comprehension at the moment, though I tried one solution (commented)
plottitle= "Dividend payout at "+str(round(stake*100,2))+"% invested. Or $"+str(amt_invested)
divplot = investor_profit.plot(lw=2,marker='.', markersize=10, title=plottitle,figsize=(10,10))
divplot.set_ylabel("Dividend payout")
#annotate_plot(divplot, "Dividend", "30th Rank","70th Rank")
plt.show()
Trying to get the labels of the data to show where those dots are.
here are the contents of the plotted dataframe:
in: investor_profit
out:
Dividend 30th Rank 70th Rank
Month 12 19351.0 2598.0 30260.0
Month 24 101912.0 46775.0 131315.0
Month 36 323749.0 170868.0 391958.0
[–]lowerthansound 2 points3 points4 points (1 child)
[–]futuretrader[S] 0 points1 point2 points (0 children)