]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Do not rotate x ticks
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 23 Mar 2020 11:04:24 +0000 (12:04 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 23 Mar 2020 11:05:42 +0000 (12:05 +0100)
The description of x axis will be numbers. The explanation of numbers
will be in the description of the figure.

This is due to lack of the space and better readability.

scripts/plot.py

index 252332942784ae5286c166d206d5e556d37de463..3ab92e51b5a549a3c9c4c975c32c77fd86a8c43a 100644 (file)
@@ -37,7 +37,6 @@ def boxplot(w={}, t="", yl=None):
     )
     if yl:
         ax.set_ylim(yl)
-    plt.xticks(rotation="vertical")
     plt.savefig("out.eps", bbox_inches="tight")
     plt.close()
 
@@ -86,7 +85,6 @@ def barplot(wl=[], t="", yl=None):
     )
     if yl:
         ax.set_ylim(yl)
-    plt.xticks(rotation="vertical")
     plt.savefig("out.eps", bbox_inches="tight")
     plt.close()