From 728440f759a55802c6af4041532b24e66be15d35 Mon Sep 17 00:00:00 2001 From: cliffckerr Date: Sun, 3 Jun 2018 22:52:34 -0700 Subject: [PATCH] yay its working --- bin/start_server.py | 5 ++--- hptool/burden.py | 2 +- hptool/webapp/main.py | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/start_server.py b/bin/start_server.py index f170427..9ce8dab 100755 --- a/bin/start_server.py +++ b/bin/start_server.py @@ -1,6 +1,5 @@ #!/usr/bin/env python # Run the server -import hptool.webapp.main -# from hptool.webapp.main import run -# run() \ No newline at end of file +import hptool as hp +hp.webapp.main.run() \ No newline at end of file diff --git a/hptool/burden.py b/hptool/burden.py index e34a726..fa8134b 100644 --- a/hptool/burden.py +++ b/hptool/burden.py @@ -102,7 +102,7 @@ def plottopcauses(self, which=None, n=None, axsize=None, figsize=None): ax.set_facecolor('none') yaxis = pl.arange(len(barvals), 0, -1) pl.barh(yaxis, barvals, height=barw, facecolor=barcolor, edgecolor='none') - ax.set_yticks(arange(10, 0, -1)) + ax.set_yticks(pl.arange(10, 0, -1)) ax.set_yticklabels(barlabels) sc.SIticks(ax=ax,axis='x') diff --git a/hptool/webapp/main.py b/hptool/webapp/main.py index 2bd0634..23d9b04 100644 --- a/hptool/webapp/main.py +++ b/hptool/webapp/main.py @@ -35,7 +35,7 @@ def get_version_info(): def run(): - + # Make the app app = make_app()