瀏覽代碼

Merge branch 'mss_plot_fix' of stefan.schmidt/ID2T-toolkit into master

Carlos Garcia 6 年之前
父節點
當前提交
148a0d9679
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/Core/Statistics.py

+ 1 - 1
code/Core/Statistics.py

@@ -671,7 +671,7 @@ class Statistics:
             plt.xlabel(x_label)
             plt.ylabel(y_label)
             width = 0.1
-            plt.xlim([0, max(graphx)])
+            plt.xlim([0, (max(graphx) * 1.1)])
             plt.grid(True)
             plt.bar(graphx, graphy, width, align='center', linewidth=1, color='red', edgecolor='red')
             out = self.pcap_filepath.replace('.pcap', '_plot-' + title + file_ending)