Fix bug that didn't plot text in correct Axes-obj
This commit is contained in:
parent
33012c6035
commit
536160666e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue