(ax, x0, x1, y0, y1, func_name, color='none')
| 716 | |
| 717 | |
| 718 | def add_timestamp_rectangle(ax, x0, x1, y0, y1, func_name, color='none'): |
| 719 | rect = ax.fill_betweenx((y0, y1), x0, x1, color=color, alpha=0.5, linewidth=1) |
| 720 | text = ax.text(x0, y1, func_name, |
| 721 | horizontalalignment='left', |
| 722 | verticalalignment='top', |
| 723 | color=(0, 0, 0, 0) |
| 724 | ) |
| 725 | return rect, text |
| 726 | |
| 727 | |
| 728 | def function_labels(dotted_function_names): |