Skip to content

Commit

Permalink
minor style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wiheto committed Apr 12, 2022
1 parent 1d94144 commit 15eb8ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netplotbrain/plotting/plot_parcels.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
from skimage import measure
from .plot_templates import _select_single_hemisphere_template
from ..utils import _colorarray_from_string, _rotate_data_to_viewingangle
from ..utils import _colorarray_from_string


def _get_nodes_from_nii(img, nodes=None, voxsize=None, template=None):
Expand Down
5 changes: 3 additions & 2 deletions netplotbrain/plotting/plot_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _plot_template_style_glass(ax, data, **kwargs):
Color of image.
"""
#Get kwargs
#Get kwargs
template_glass_compactness = kwargs.get('template_glass_compactness')
template_glass_nsegments = kwargs.get('template_glass_nsegments')
template_glass_maxalpha = kwargs.get('template_glass_maxalpha')
Expand Down Expand Up @@ -133,7 +133,8 @@ def _select_single_hemisphere_template(data, hemisphere):
return data


def _plot_template(ax, style='filled', template='MNI152NLin2009cAsym', voxsize=None, azim=0, elev=0, hemisphere='both', **kwargs):
def _plot_template(ax, style='filled', template='MNI152NLin2009cAsym',
voxsize=None, azim=0, elev=0, hemisphere='both', **kwargs):
if isinstance(template, str):
if not os.path.exists(template):
tf_kwargs = {}
Expand Down

0 comments on commit 15eb8ea

Please sign in to comment.