Commit 601731b5 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[doc] tutorial: Fix typos

parent 6a33b7b8
......@@ -26,20 +26,13 @@ We can thus compare the performance of the old Cadbiom versions with the new one
of the number of solutions obtained per unit of time.
..
import pandas as pd
df = pd.DataFrame({
"Years of development and versions": ["2016\nalpha", "2017\nv0.1.7", "2019\nv0.2", "2020 1st quarter\n(dev branch)"],
"Solutions per hour": [0.33, 48, 180, 633],
"Max memory": [2, 1.8, 1.5, 1.1],
})
ax = df.plot.bar(
x="Years of development and versions",
y="Solutions per hour",
# title="Improved performance over the development years (log scale for y axis)",
logy=True, rot=0, ylim=(0.22, 1000), fontsize=8,
)
df.plot.bar(x="Years of development and versions", y="Max memory", ax=ax, color="C2")
ax = df.plot.bar(
x="Years of development and versions",
......@@ -51,7 +44,7 @@ of the number of solutions obtained per unit of time.
# ax.set_ylim((0.22, 1000))
# ax.set_yscale('log')
ax.set_ylabel('Solutions/h')
ax.right_ax.set_ylabel('Go')
ax.right_ax.set_ylabel('Memory consumption (Go)')
def annotate_patches(axe):
for p in axe.patches:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment