MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / add_timestamp_rectangle

Function add_timestamp_rectangle

mprof.py:718–725  ·  view source on GitHub ↗
(ax, x0, x1, y0, y1, func_name, color='none')

Source from the content-addressed store, hash-verified

716
717
718def 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
728def function_labels(dotted_function_names):

Callers 1

flame_plotterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected