mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-12-24 22:37:03 +00:00
changed x-axis range in bar plot
This commit is contained in:
@@ -83,8 +83,9 @@ class lf_bar_graph():
|
||||
i = i + 1
|
||||
plt.xlabel(self.xaxis_name, fontweight='bold', fontsize=15)
|
||||
plt.ylabel(self.yaxis_name, fontweight='bold', fontsize=15)
|
||||
plt.xticks([r + self.bar_width for r in range(len(self.data_set[0]))],
|
||||
self.xaxis_categories)
|
||||
"""plt.xticks([r + self.bar_width for r in range(len(self.data_set[0]))],
|
||||
self.xaxis_categories)"""
|
||||
plt.xticks(np.arange(0, len(self.xaxis_categories), step=5))
|
||||
plt.legend()
|
||||
|
||||
fig = plt.gcf()
|
||||
|
||||
Reference in New Issue
Block a user