When I plot an image, my Navigation toolbar (zoom-in, forward, back...) is invisible. I helped myself with this link: disable matplotlib toolbar. I have first tried:
import matplotlib as mpl
mpl.rcParams['toolbar'] = 'toolbar2'
And also checked if in the file itself is set as 'None'
but it is not.
Did I perhaps forget to install some packages? Even though I don't get any errors.
Is there alternative way to zoom-in and see the coordinates of cursor, because that is all I need.
Edit 1
This is the code which I am using. I copied just the part, where I use plot.
#___plotting part___
import matplotlib as mpl
mpl.rcParams['toolbar'] = 'toolbar2'
import matplotlib.pyplot as plt
plt.ion()
fig, ax = plt.subplots(figsize=(20, 10))
ax.set_title(plot_titel, loc='center', fontname=font_name, fontsize=16, color='black')
ax.set_xlabel('Column number', fontname=font_name, fontsize=16, color='black')
ax.set_ylabel('Mean of raw backscatter', fontname=font_name, fontsize=16, color='black')
ax.plot(range(len(param_image)), param_image, c='black', marker='o')
ax.plot(idx1[0], param_image[idx1], c='red', mec='red', marker='o', linestyle='')
ax.plot(idx2, param_image[idx2], c='blue', mec='blue', marker='o', linestyle='')
ax.grid()
fig.tight_layout()
plt.show()