Svd, Data Science, Machine Learning, Data Visualization, Fluid Dynamics.
ax.xaxis.set_tick_params(direction='in', which='both') ax.yaxis.set_tick_params(direction='in', which='both') ax.xaxis.set_ticks_position('both') ax.yaxis.set_ticks_position('both') ax.legend(loc = 'best', frameon = False) # or 'best', 'upper right', etc plt.show() This procedure yields an