瀏覽代碼

Adjust plot xlim

Vadim Markovtsev 8 年之前
父節點
當前提交
039e222bce
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      labours.py

+ 1 - 0
labours.py

@@ -82,6 +82,7 @@ def main():
     pyplot.ylabel("Lines of code", fontsize=args.text_size)
     pyplot.xlabel("Time", fontsize=args.text_size)
     pyplot.tick_params(labelsize=args.text_size)
+    pyplot.xlim(date_range_sampling[0], date_range_sampling[-1])
     pyplot.gcf().set_size_inches(12, 9)
     if not args.output:
         pyplot.gcf().canvas.set_window_title(