Skip to content

Commit d37e16e

Browse files
author
minjk-bl
committed
Snippets default code added - matplotlib customizing
1 parent d39f3d3 commit d37e16e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/file_io/udf.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,17 @@ define([
211211
'import seaborn as sns',
212212
'import plotly.express as px'
213213
],
214+
'matplotlib customizing': [
215+
'import matplotlib.pyplot as plt',
216+
'%matplotlib inline',
217+
'',
218+
"plt.rc('figure', figsize=(12, 8))",
219+
'',
220+
'from matplotlib import rcParams',
221+
"rcParams['font.family'] = 'New Gulim'",
222+
"rcParams['font.size'] = 10",
223+
"rcParams['axes.unicode_minus'] = False"
224+
],
214225
'as_float': [
215226
'def as_float(x):',
216227
' """',

0 commit comments

Comments
 (0)