N
This commit is contained in:
parent
d8fc5422ea
commit
d8b8c4137e
BIN
heatmap.pdf
BIN
heatmap.pdf
Binary file not shown.
|
@ -63,8 +63,11 @@ hm.invert_yaxis()
|
|||
# fix xtics
|
||||
locs, labels = plt.xticks()
|
||||
plt.xticks(locs, [f"$2^{{{int(math.log2(int(i.get_text())))}}}$" for i in labels])
|
||||
plt.xlabel("n")
|
||||
|
||||
locs, labels = plt.yticks()
|
||||
plt.yticks(locs, [f"$2^{{{int(math.log2(int(i.get_text())))}}}$" for i in labels])
|
||||
plt.ylabel("step")
|
||||
|
||||
plt.show()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user