Skip to content

Commit

Permalink
Without pl.show, the figure won't be displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Miotte committed Apr 1, 2011
1 parent 3cd8608 commit b58911b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tutorial/general_concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ following utility function::
... pl.scatter(data[target == i, 0], data[target == i, 1],
... c=c, label=label)
... pl.legend()
... pl.show()
...

Calling ``plot_2D(X_pca, iris.target, iris.target_names)`` will
Expand Down

0 comments on commit b58911b

Please sign in to comment.