Skip to content

Commit 3a53a4e

Browse files
author
minjk-bl
committed
Edit countplot to show its x label rotated
1 parent d79f48c commit 3a53a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualpython/js/m_apps/Information.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ define([
153153
, code: "pd.plotting.scatter_matrix(${data}, marker='o', hist_kwds={'bins': 30}, s=30, alpha=.8)\nplt.show()"
154154
, dtype: ['DataFrame'] },
155155
{ id: 'boxplot', label: 'Box plot', code: "${data}.plot(kind='box')\nplt.show()", dtype: ['DataFrame', 'Series'] },
156-
{ id: 'count_plot', label: 'Count plot', code: "${data}.value_counts().plot(kind='bar')\nplt.show()", dtype: ['DataFrame', 'Series'] }
156+
{ id: 'count_plot', label: 'Count plot', code: "${data}.value_counts().plot(kind='bar', rot=30)\nplt.show()", dtype: ['DataFrame', 'Series'] }
157157
]
158158
}
159159

0 commit comments

Comments
 (0)