Compare commits
No commits in common. "8f2d361e5fa65befb78750683fac81c1f20f71ee" and "bd03819e4dd910884e7c6e288088d7ea99effb88" have entirely different histories.
8f2d361e5f
...
bd03819e4d
3 changed files with 1045 additions and 1161 deletions
2193
poetry.lock
generated
2193
poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -16,7 +16,7 @@ tabulate = "^0.9.0"
|
|||
openpyxl = "^3.1.2"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pynvim = "^0.5.0"
|
||||
pynvim = "^0.4.3"
|
||||
pyperclip = "^1.8.2"
|
||||
poethepoet = "^0.24.4"
|
||||
|
||||
|
@ -26,8 +26,6 @@ build-backend = "poetry.core.masonry.api"
|
|||
|
||||
[tool.ruff]
|
||||
ignore = ["E402"]
|
||||
[tool.pyright]
|
||||
typeCheckingMode="basic"
|
||||
|
||||
[tool.poe]
|
||||
poetry_command = ""
|
||||
|
|
|
@ -496,16 +496,13 @@ df_study_years = (
|
|||
.first()
|
||||
.reset_index()
|
||||
.drop_duplicates()
|
||||
["year"].value_counts()
|
||||
.sort_index()
|
||||
)
|
||||
# use order to ensure all years are displayed, even ones without values
|
||||
years_range = list(range(df_study_years.index.min(), df_study_years.index.max()+1))
|
||||
ax = sns.barplot(df_study_years, order=years_range)
|
||||
# FIXME potentially timeseries plot so no years are missing
|
||||
ax = sns.countplot(df_study_years, x="year")
|
||||
|
||||
ax.tick_params(axis='x', rotation=45)
|
||||
ax.set_ylabel("Count")
|
||||
ax.set_xlabel("Year")
|
||||
plt.setp(ax.get_xticklabels(), rotation=45, ha="right", rotation_mode="anchor") # ensure rotated right-anchor
|
||||
plt.tight_layout()
|
||||
plt.show()
|
||||
df_study_years = None
|
||||
|
|
Loading…
Reference in a new issue