From d38f84f3eae9da861c06fea59a686a2e79c891b9 Mon Sep 17 00:00:00 2001 From: Zhangyixue1537 Date: Fri, 15 Mar 2024 14:56:55 +0000 Subject: [PATCH] #8 move imports to top of the file --- rick.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rick.py b/rick.py index b4da7a8..f6a3582 100644 --- a/rick.py +++ b/rick.py @@ -20,6 +20,7 @@ from shapely.geometry import Point import numpy as np import pandas as pd +import importlib class font: """ @@ -405,12 +406,6 @@ def tow_chart(data, ylab, **kwargs): Dictionary of the text annotation properties """ - import matplotlib.pyplot as plt - import matplotlib as mpl - import importlib - import matplotlib.ticker as ticker - import matplotlib.font_manager as font_manager - import seaborn as sns func() ymax = kwargs.get('ymax', None)