Skip to content

Commit

Permalink
update analyze_dist
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhanyuan committed Apr 17, 2023
1 parent 05c431e commit d93f18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/gait/misc/analyze_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ def draw_distribution_histogram(nums, save_path, xlabel, ylabel, title, stat="co
sns.histplot(data=nums, stat=stat, bins=bins, binwidth=binwidth, binrange=binrange,
kde=is_kde, cumulative=is_cumulative, line_kws=dict(), color="steelblue")

# 设置字体
plt.rcParams['font.sans-serif'] = 'times new roman'
# 设置
# plt.rcParams['font.sans-serif'] = 'times new roman'
plt.xlim(xmin=0, xmax=26)
plt.xticks(range(0, 28, 2))

Expand Down

0 comments on commit d93f18e

Please sign in to comment.