Fix bug that didn't plot text in correct Axes-obj

This commit is contained in:
rasmusthog 2022-10-13 20:51:54 +02:00
parent 33012c6035
commit 536160666e

View file

@ -305,7 +305,7 @@ def adjust_plot(fig, ax, options):
# Plot all passed texts # Plot all passed texts
for text in options['text']: for text in options['text']:
plt.text(x=text[1][0], y=text[1][1], s=text[0]) ax.text(x=text[1][0], y=text[1][1], s=text[0])
return fig, ax return fig, ax