mirror of
https://github.com/logos-storage/das-research.git
synced 2026-01-07 15:43:08 +00:00
fix warnings
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
This commit is contained in:
parent
312ff6a1d2
commit
ea064dd51a
@ -27,7 +27,7 @@ def plotData(conf):
|
|||||||
plt.title(conf["title"])
|
plt.title(conf["title"])
|
||||||
plt.ylabel(conf["ylabel"])
|
plt.ylabel(conf["ylabel"])
|
||||||
plt.xlabel(conf["xlabel"])
|
plt.xlabel(conf["xlabel"])
|
||||||
plt.ylim(0, conf["yaxismax"]*1.1)
|
plt.ylim(0, conf["yaxismax"]*1.1 if conf["yaxismax"] > 0 else 1)
|
||||||
plt.legend(loc=conf["legLoc"])
|
plt.legend(loc=conf["legLoc"])
|
||||||
plt.savefig(conf["path"], bbox_inches="tight")
|
plt.savefig(conf["path"], bbox_inches="tight")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user