Skip to content

Commit

Permalink
Lint E127
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Nov 2, 2024
1 parent 417363e commit cb9986a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/daily_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@ def create_plot(df_plt_today, now, is_top=None):

# Generate confidence plot
df_confmax = (confmax * 100).to_frame(name='')
plot = sns.heatmap(df_confmax, annot=df_confmax.map(lambda x: f"{x:.0f} %"),
annot_kws={"fontsize": 7}, fmt="", cmap=pal,
square=False, cbar=False, ax=axs[0])
plot = sns.heatmap(df_confmax, annot=df_confmax.map(lambda x: f"{x:.0f} %"), annot_kws={"fontsize": 7}, fmt="",
cmap=pal, square=False, cbar=False, ax=axs[0])

# Try plot grid lines between bars - problem at the moment plots grid lines on bars - want between bars
yticklabels = ['\n'.join(textwrap.wrap(ticklabel.get_text(), wrap_width(ticklabel.get_text()))) for ticklabel in plot.get_yticklabels()]
Expand Down

0 comments on commit cb9986a

Please sign in to comment.