Skip to content

Commit

Permalink
Typo on plot3 xaxis labeled as Year instead of Date
Browse files Browse the repository at this point in the history
  • Loading branch information
RommelArtola committed Aug 21, 2024
1 parent 631855c commit d1bd38b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Presentation/Figures/styling_line_graphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ p3 = (
.add(so.Line(color='darkblue', linewidth=5), x='date', y='uempmed')
.add(so.Line(color='red', linewidth=2, linestyle='dotted'), x='date', y='psavert')
.label(title='Unemployment Duration (Blue)\n & Savings Rate (Red)',
x='Year',
x='Date',
y='')
.scale(x=so.Temporal().tick(upto=10)) #Needed for current configuration of seaborn.objects so xaxis prints more than 2 ticks
.theme(axes_style("whitegrid")) #use a function from parent seaborn library, that will pass a prebuilt selection based on what you pass
Expand Down

0 comments on commit d1bd38b

Please sign in to comment.