For each tick label on the y axis, I would like to change: label -> 2^label
label -> 2^label
I am plotting log-log data (base 2), but I would like the labels to show
As per http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.set_yticks
a = plt.gca() a. set_yticks(list_of_labels)