From 39015d01a0c1ab187cef0b488b528d78397cd828 Mon Sep 17 00:00:00 2001 From: Randrian Date: Wed, 20 Jun 2018 20:15:07 +0200 Subject: [PATCH] + added dependencies and raised version number --- docs/conf.py | 4 ++-- pylustrator/helper_functions.py | 3 +-- setup.py | 10 +++++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 02ea5ba..2389ce8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -75,9 +75,9 @@ # built documents. # # The short X.Y version. -version = '1.4.0' +version = '0.7.2' # The full version, including alpha/beta/rc tags. -release = '1.4.0' +release = '0.7.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pylustrator/helper_functions.py b/pylustrator/helper_functions.py index f8bffd9..d5522aa 100644 --- a/pylustrator/helper_functions.py +++ b/pylustrator/helper_functions.py @@ -2,7 +2,6 @@ import matplotlib.pyplot as plt from matplotlib.text import Text import numpy as np -import imageio import traceback def fig_text(x, y, text, unit="cm", *args, **kwargs): @@ -39,7 +38,7 @@ def add_axes(dim, unit="cm", *args, **kwargs): def add_image(filename): - plt.imshow(imageio.imread(filename)) + plt.imshow(plt.imread(filename)) plt.xticks([]) plt.yticks([]) diff --git a/setup.py b/setup.py index b72c55e..2731f38 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,18 @@ from setuptools import setup setup(name='pylustrator', - version="0.7", + version="0.7.2", description='Adds interactivity to arrange panels in matplotlib', author='Richard Gerum', author_email='richard.gerum@fau.de', - license='MIT', + license='GPLv3', packages=['pylustrator'], install_requires=[ 'numpy', - 'matplotlib' + 'matplotlib', + 'pyqt5', + 'qtpy', + 'qtawesome', + 'scikit-image' ], )