I am trying to set custom marks on my imshow () output, but could not find the correct combination.
The following is a description of the script. In this script, I am trying to mark all the even numbers on each axis instead of the default value (-10, -5,0,5,10)
#!/usr/bin/env python import matplotlib.pyplot as plt import numpy as np
I get the feeling that set_ticks () might not be able to do this, but I'm not sure what else to try.
Thanks!
python matplotlib plot histogram
zje
source share