Skip to content

Commit 303b520

Browse files
committed
version 1.2.0
1 parent 7ff2a53 commit 303b520

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

getdist/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'Antony Lewis'
2-
__version__ = "1.1.4"
2+
__version__ = "1.2.0"
33
__url__ = "https://getdist.readthedocs.io"
44

55
from getdist.inifile import IniFile

getdist/gui/mainwindow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
try:
1616
from PySide2 import QtCore
17-
except ImportError as e:
18-
if 'DLL load failed' in str(e):
17+
except ImportError as _e:
18+
if 'DLL load failed' in str(_e):
1919
print('DLL load failed attempting to load PySide2: problem with your python configuration')
2020
else:
21-
print(e)
21+
print(_e)
2222
print("Can't import PySide2 modules, you need to install Pyside2")
2323
if not os.path.exists(os.path.join(sys.prefix, 'conda-meta')):
2424
print('Using Anaconda is probably the most reliable method')

getdist/tests/test_distributions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def distributions(self):
215215
return self.all
216216

217217

218-
def plot_compare_method(ax, prob, colors=('k'), sims=100, nsamp=default_nsamp,
218+
def plot_compare_method(ax, prob, colors=('k',), sims=100, nsamp=default_nsamp,
219219
scalings=(0.3, 0.5, 0.7, 0.9, 1, 1.1, 1.3, 1.5, 1.7), test_settings=(None,), linestyles=('-',)):
220220
# compare Parzen estimator with higher order
221221
print(prob.label, ', size = ', nsamp)

0 commit comments

Comments
 (0)