Last active
February 4, 2020 09:10
-
-
Save lapis-zero09/15468a9d924a21599fecce2c138a6bc4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "My favorites", | |
"sub-menu" : [ | |
{ | |
"name" : "analysis", | |
"snippet" : [ | |
"import pandas as pd", | |
"import numpy as np", | |
"import json", | |
"from collections import defaultdict", | |
"import matplotlib.pyplot as plt", | |
"import seaborn as sns", | |
"sns.set(font='Osaka')", | |
"import matplotlib.font_manager", | |
"from matplotlib.font_manager import FontProperties", | |
"from matplotlib.backends.backend_pdf import PdfPages", | |
"font_path = '/Library/Fonts/RictyDiminishedDiscord-Regular.ttf'", | |
"font_prop = matplotlib.font_manager.FontProperties(fname=font_path)", | |
"matplotlib.rcParams['font.family'] = font_prop.get_name()", | |
"from tqdm import tqdm, tqdm_notebook" | |
] | |
} | |
] | |
} |
Author
lapis-zero09
commented
Feb 4, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment