MCPcopy Create free account
hub / github.com/apache/fory / style_throughput_axis

Function style_throughput_axis

benchmarks/plot_style.py:76–84  ·  view source on GitHub ↗
(ax)

Source from the content-addressed store, hash-verified

74
75
76def style_throughput_axis(ax) -> None:
77 ax.set_axisbelow(True)
78 ax.grid(True, axis="y", color=GRID_COLOR, linestyle="-", linewidth=0.7)
79 ax.grid(False, axis="x")
80 ax.yaxis.set_major_locator(MaxNLocator(nbins=5, min_n_ticks=3))
81 ax.tick_params(axis="both", width=0.8, length=3)
82 for spine in ax.spines.values():
83 spine.set_color(SPINE_COLOR)
84 spine.set_linewidth(0.8)
85
86
87def serializer_offset(index: int, count: int) -> float:

Callers 9

plot_summary_groupFunction · 0.90
plot_groupFunction · 0.90
plot_groupFunction · 0.90

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected