Skip to content

Commit

Permalink
Make pca.plot() less chatty
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacovercast committed Jul 8, 2018
1 parent 50ad329 commit 92c4ee9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipyrad/analysis/pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ def plot(self, pcs=[1, 2], ax=None, cmap=None, cdict=None, legend=True):


if not cmap and not cdict:
print("Using default cmap: Spectral")
if not self.quiet:
print(" Using default cmap: Spectral")
cmap = cm.get_cmap('Spectral')

if cmap:
Expand Down

0 comments on commit 92c4ee9

Please sign in to comment.