Skip to content
Snippets Groups Projects

Added resolution calculation.

Merged Danilo Enoque Ferreira de Lima requested to merge resolution into main
3 files
+ 9
8
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -469,9 +469,10 @@ def plot_pes(df: pd.DataFrame,
#cax[ch].xaxis.label.set_color(col[ch])
#cax[ch].title.set_color(col[ch])
if not tof:
locator = matplotlib.ticker.MultipleLocator(2)
locator.view_limits(1000, 1010)
cax[ch].xaxis.set_major_locator(locator)
#locator = matplotlib.ticker.MultipleLocator(2)
#locator.view_limits(1000, 1010)
#cax[ch].xaxis.set_major_locator(locator)
cax[ch].set_xticks(np.arange(998, 1010, 2))
ax.legend(frameon=False, loc='center')
plt.tight_layout()
fig.savefig(filename)
Loading