INNER CODE UNIT · Python
people_x
aeturrell/coding-for-economists · craft_diss_pyramid.py:61
people_x = -3 * start_x
detail_x = base_blog_triangle + height + 2 * start_x
ax.annotate(
"Fewer people",
xy=(people_x, -start_y),
xytext=(people_x, top_y_value - height + 1.5 * start_y),
arrowprops=dict(arrowstyle="->"),
ha="center",
fontsize=10,
)
ax.annotate(
"More detail",
xy=(detail_x, -start_y),
xytext=(detail_x, top_y_value - height + 1.5 * start_y),
arrowprops=dict(arrowstyle="->"),
ha="center",