Skip to content

Commit 01c44b2

Browse files
fix plot bug new syntax
1 parent a52527d commit 01c44b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

adastop/plotting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def plot_results(comparator, agent_names=None, axes = None):
8585
for mean in box_plot['means']:
8686
mean.set_alpha(0.6)
8787

88-
ax2.xaxis.set_label([])
88+
ax2.xaxis.set_label_text([])
8989
ax2.xaxis.tick_top()
9090

9191
def plot_results_sota(comparator, agent_names=None, axes = None):
@@ -164,7 +164,7 @@ def plot_results_sota(comparator, agent_names=None, axes = None):
164164
for mean in box_plot['means']:
165165
mean.set_alpha(0.6)
166166

167-
ax2.xaxis.set_label([])
167+
ax2.xaxis.set_label_text([])
168168
ax2.xaxis.tick_top()
169169
plt.subplots_adjust(top=0.9, hspace=0.3)
170170

0 commit comments

Comments
 (0)