Lines Matching defs:plt
21 def init_plot(plt):
22 plt.title("Debug Location Statistics", fontweight="bold")
23 plt.xlabel("location buckets")
24 plt.ylabel("number of variables in the location buckets")
25 plt.xticks(rotation=45, fontsize="x-small")
26 plt.yticks()
30 def finish_plot(plt):
31 plt.legend()
32 plt.grid(color="grey", which="major", axis="y", linestyle="-", linewidth=0.3)
33 plt.savefig("locstats.png")
140 from matplotlib import pyplot as plt
143 plt.figure(figsize=(12, 8))
144 init_plot(plt)
145 plt.bar(
156 plt.text(
160 transform=plt.gca().transAxes,
166 finish_plot(plt)
171 from matplotlib import pyplot as plt
179 fig = plt.figure(figsize=(12, 8))
181 init_plot(plt)
203 plt.text(
207 transform=plt.gca().transAxes,
212 plt.text(
218 transform=plt.gca().transAxes,
224 finish_plot(plt)