def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...
def create_svg(project, datas, save_path, theme=""): fig, ax = plt.subplots(figsize=(12, 5)) # 设置透明 fig.patch.set_alpha(.0) ax.patch.set_alpha(.0) # 坐标 ax.tick_params(color='darkgrey', labelcolor='darkgrey') # 坐标轴 plt.gca().yaxis.set_major_locator(MaxNLocator(in...