Commit 13634f24 authored by Philipp Arras's avatar Philipp Arras

Cosmetics

parent 10d351c7
......@@ -203,11 +203,8 @@ def _plot(f, ax, **kwargs):
if not isinstance(alpha, list):
alpha = [alpha]
norm = kwargs.pop("norm", None)
if norm is None:
norm = {}
else:
norm = {'norm': norm}
foo = kwargs.pop("norm", None)
norm = {} if foo is None else {'norm': foo}
dom = dom[0]
ax.set_title(kwargs.pop("title", ""))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment