Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
qubixes committed Mar 26, 2020
1 parent f52eb43 commit 48d47d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asreviewcontrib/visualization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
from asreviewcontrib.visualization.plot import Plot
from asreviewcontrib.visualization.entrypoint import PlotEntryPoint

__version__ = "0.1.5"
__version__ = "0.2.0"
3 changes: 1 addition & 2 deletions asreviewcontrib/visualization/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from asreviewcontrib.visualization.plot_discovery import PlotDiscovery
from asreviewcontrib.visualization.plot_limit import PlotLimit


class Plot():
def __init__(self, paths, prefix="result"):
self.analyses = OrderedDict()
Expand All @@ -43,7 +44,6 @@ def __init__(self, paths, prefix="result"):
else:
self.thick = {key: not f for key, f in self.is_file.items()}


def __enter__(self):
return self

Expand All @@ -69,4 +69,3 @@ def new(self, plot_type="inclusion", **kwargs):
elif plot_type == "limit":
return PlotLimit(self.analyses, **kwargs)
raise ValueError(f"Error: plot type '{plot_type}' not found.")

0 comments on commit 48d47d6

Please sign in to comment.