Skip to content

Commit

Permalink
fixing seaborn import
Browse files Browse the repository at this point in the history
  • Loading branch information
sspola committed May 2, 2022
1 parent 018797f commit 5ffb760
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup(
name = 'simpful',
packages = ['simpful'], # this must be the same as the name above
version = '2.6.2',
version = '2.6.3',
description = 'A user-friendly Python library for fuzzy logic',
author = 'Marco S. Nobile',
author_email = 'marco.nobile@unive.it',
Expand Down
5 changes: 4 additions & 1 deletion simpful/simpful.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
import string
try:
from matplotlib.pyplot import plot, show, title, subplots, legend
import seaborn as sns
matplotlib = True
except ImportError:
matplotlib = False
try:
import seaborn as sns
except:
pass

# constant values
linestyles= ["-", "--", ":", "-."]
Expand Down

0 comments on commit 5ffb760

Please sign in to comment.