-
Notifications
You must be signed in to change notification settings - Fork 0
/
startnb.py
35 lines (30 loc) · 1.03 KB
/
startnb.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Tshi
# Standard library imports
import os
# Third party imports
import matplotlib.pyplot as plt
import pandas as pd
# Local application import
# from Scientific-data import *
import SciData
from SciData import *
from functions import *
from physconst import *
# plot default
plt.rc('lines', lw=1, color='k') # thicker black lines
plt.rc('grid', c='0.5', ls='-', lw=0.5) # solid gray grid lines
plt.rc('savefig', dpi=300) # higher res outputs
plt.rc("font", size=20, family='arial', weight='light')
plt.rc("axes", labelsize=20, titlesize=20, linewidth=1)
plt.rc("xtick", direction='in', labelsize=20)
plt.rc('xtick.major', size=10, pad=7)
plt.rc('xtick.minor', size=5, pad=7, visible=True)
plt.rc("ytick", direction='in', labelsize=20)
plt.rc('ytick.major', size=10, pad=7)
plt.rc('ytick.minor', size=5, pad=7, visible=True)
plt.rc("legend", fontsize=20)
plt.rc('lines', linewidth=2)
# interface
print('welcome')
print('You are using the startnb.py located in ', __file__)
print('You are using the SciData package located in ', SciData.__file__)