Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in master #6

Open
JMGaljaard opened this issue Feb 24, 2021 · 0 comments
Open

Typo in master #6

JMGaljaard opened this issue Feb 24, 2021 · 0 comments

Comments

@JMGaljaard
Copy link

JMGaljaard commented Feb 24, 2021

In the Jupyter notebook 02_Gossip_Services, the cell Average time contains the following piece of code.

def show_avg_time(df):
    plt.figu

re(figsize=(10, 5))
ax = sns.boxplot(data=df, )
ax.set_title('Average time to arrival', fontsize= 20 )
ax.set_ylabel('Time (ms)', fontsize=12)
ax.set_xlabel('Peer id', fontsize=12)
plt.show()
show_avg_time(df)

This should be changed to the following:

def show_avg_time(df):
    plt.figure(figsize=(10, 5))
    ax = sns.boxplot(data=df, )
    ax.set_title('Average time to arrival', fontsize= 20 )
    ax.set_ylabel('Time (ms)', fontsize=12)
    ax.set_xlabel('Peer id', fontsize=12)
    plt.show()

show_avg_time(df)

It seems to be already updated (or not broken) in changes-to-text. However, that branch seems to be stale. The typo was introduced in e4301b6d33f119e3e1ff56ac67c7e659fcd62e92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant