Skip to content

Commit 96c154e

Browse files
committed
fix further style issues
1 parent 0ec6fe8 commit 96c154e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/python/picongpu/plugins/plot_mpl/base_visualizer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
import matplotlib.pyplot as plt
1010

11+
1112
class Visualizer(object):
1213
"""
1314
Abstract base class for matplotlib visualizers that implements
1415
the visualization logic.
1516
"""
17+
1618
def __init__(self, run_directory):
1719

1820
if run_directory is None:
@@ -56,7 +58,7 @@ def visualize(self, ax=None, **kwargs):
5658
"""
5759
if ax is None:
5860
raise ValueError("A matplotlib axes object needs to be passed!")
59-
61+
6062
self.data = self.data_reader.get(**kwargs)
6163
if self.plt_obj is None:
6264
self._create_plt_obj(ax)

lib/python/picongpu/plugins/plot_mpl/energy_histogram_visualizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def visualize(self, ax=None, **kwargs):
5252
(defined in ``particleFilters.param``)
5353
5454
"""
55-
ax=self._ax_or_gca(ax)
55+
ax = self._ax_or_gca(ax)
5656
# this already throws error if no species or iteration in kwargs
5757
super(Visualizer, self).visualize(ax, **kwargs)
5858
iteration = kwargs.get('iteration')

0 commit comments

Comments
 (0)