Skip to content

Commit 4354e31

Browse files
STY: Apply ruff/Pylint rule PLR0402
PLR0402 Use `from ... import ..` in lieu of alias
1 parent d6d726e commit 4354e31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

niworkflows/viz/plots.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@
2222
#
2323
"""Plotting tools shared across MRIQC and fMRIPrep."""
2424

25-
import matplotlib.cm as cm
2625
import matplotlib.pyplot as plt
2726
import nibabel as nb
2827
import numpy as np
2928
import pandas as pd
30-
from matplotlib import colormaps
29+
from matplotlib import cm, colormaps
3130
from matplotlib import gridspec as mgs
3231
from matplotlib.colorbar import ColorbarBase
3332
from matplotlib.colors import Normalize

0 commit comments

Comments
 (0)