update at 2026-10-12 14:26:51
This commit is contained in:
13
fiber_delay_sim/experiments/_plot.py
Normal file
13
fiber_delay_sim/experiments/_plot.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""matplotlib 绘图样式(本地层专用)。"""
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
|
||||
def setup_style():
|
||||
plt.rcParams["font.sans-serif"] = [
|
||||
"PingFang SC", "Hiragino Sans GB", "Arial Unicode MS", "SimHei", "sans-serif",
|
||||
]
|
||||
plt.rcParams["axes.unicode_minus"] = False
|
||||
plt.rcParams["figure.dpi"] = 120
|
||||
plt.rcParams["savefig.bbox"] = "tight"
|
||||
return plt
|
||||
Reference in New Issue
Block a user