Oct-14-2019, 12:07 PM
just to mention that instead of the two lines on the top
# plot x axis ticks and labels on top plt.rcParams['xtick.bottom'] = plt.rcParams['xtick.labelbottom'] = False plt.rcParams['xtick.top'] = plt.rcParams['xtick.labeltop'] = Trueyou can do
# invert the y axis plt.gca().invert_yaxis() plt.gca().xaxis.set_label_position('top') plt.gca().xaxis.set_ticks_position('top')
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs