mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-22 06:53:09 +00:00
update plot titles
This commit is contained in:
parent
a7433cbf4e
commit
2d04ba6fa4
@ -101,7 +101,7 @@ class Analysis:
|
||||
plt.figure(figsize=(12, 6))
|
||||
for column in msg_cnt_df.columns:
|
||||
plt.plot(msg_cnt_df.index, msg_cnt_df[column], marker=None, label=column)
|
||||
plt.title("Messages in each node over time")
|
||||
plt.title("Messages within each node over time")
|
||||
plt.xlabel("Time")
|
||||
plt.ylabel("Msg Count")
|
||||
plt.ylim(bottom=0)
|
||||
@ -113,9 +113,9 @@ class Analysis:
|
||||
plt.figure(figsize=(12, 6))
|
||||
for column in sender_cnt_df.columns:
|
||||
plt.plot(sender_cnt_df.index, sender_cnt_df[column], marker=None, label=column)
|
||||
plt.title("Senders of messages in each node over time")
|
||||
plt.title("Diversity of senders of messages received by each node over time")
|
||||
plt.xlabel("Time")
|
||||
plt.ylabel("Sender Count")
|
||||
plt.ylabel("# of senders of messages received by each node")
|
||||
plt.ylim(bottom=0)
|
||||
plt.grid(True)
|
||||
plt.tight_layout()
|
||||
@ -123,11 +123,11 @@ class Analysis:
|
||||
|
||||
plt.figure(figsize=(12, 6))
|
||||
df.boxplot(column="sender_cnt", by="time", medianprops={"color": "red", "linewidth": 2.5})
|
||||
plt.title("Distribution of senders of messages in each node over time")
|
||||
plt.title("Diversity of senders of messages received by each node over time")
|
||||
plt.suptitle("")
|
||||
plt.xticks([])
|
||||
plt.xlabel("Time")
|
||||
plt.ylabel("Sender Count")
|
||||
plt.ylabel("# of senders of messages received by each node")
|
||||
plt.ylim(bottom=0)
|
||||
plt.grid(axis="x")
|
||||
plt.tight_layout()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user