Skip to content

Commit

Permalink
create a new axis for plot instead of using an exist one
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
  • Loading branch information
cyliang368 and petrasovaa authored Jun 16, 2024
1 parent f582cab commit 63cf631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/grass/benchmark/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def nprocs_plot(results, filename=None, title=None, metric="time"):
"""
ylabel = ""
plt = get_pyplot(to_file=bool(filename))
axes = plt.gca()
_, axes = plt.subplots()

x_ticks = set() # gather x values
for result in results:
Expand Down

0 comments on commit 63cf631

Please sign in to comment.