Skip to content

Commit 99a51e6

Browse files
committed
Solved a potential problem with import order.
1 parent dff96d2 commit 99a51e6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

structure_threader/plotter/structplot.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
import numpy as np
2929
import matplotlib
30-
import matplotlib.pyplot as plt
3130
matplotlib.use('Agg')
31+
import matplotlib.pyplot as plt
3232

3333

3434
try:
@@ -943,7 +943,10 @@ def plotk_static(self, kval, output_dir, bw=False, use_ind=False):
943943

944944

945945
def plot_normalization(norm_dict, outdir):
946-
946+
"""
947+
Draws a bar plot with normalized bestK estimation for MavericK.
948+
Result is similar to the plot produced by the R functions from MavericK.
949+
"""
947950
plt.clf()
948951

949952
keys = ["norm_mean", "lower_limit", "upper_limit"]

0 commit comments

Comments
 (0)