Skip to content

Conversation

thismlguy
Copy link
Contributor

10 more examples updated with matplotlib 2.0 updates.

Fixes issue #8364

The old and new plots will be posted soon after circleCI build completes.

@thismlguy
Copy link
Contributor Author

calibration/plot_calibration.html

Old:

New:

Second image unchanged

@thismlguy
Copy link
Contributor Author

classification/plot_lda_qda.html

Old:

New:

@thismlguy
Copy link
Contributor Author

cluster/plot_agglomerative_clustering.html

Old:



New:



@thismlguy
Copy link
Contributor Author

cluster/plot_birch_vs_minibatchkmeans.html

Old:

New:

@thismlguy
Copy link
Contributor Author

thismlguy commented Jun 7, 2017

cluster/plot_cluster_iris.html

Old:



New:

@thismlguy
Copy link
Contributor Author

cluster/plot_kmeans_assumptions.html

Old:

New:

@thismlguy
Copy link
Contributor Author

cluster/plot_kmeans_silhouette_analysis.html

Old:




New:




@thismlguy
Copy link
Contributor Author

cluster/plot_ward_structured_vs_unstructured.html

Old:

New:

@thismlguy
Copy link
Contributor Author

covariance/plot_outlier_detection.html

Old:


New:


@thismlguy
Copy link
Contributor Author

plot_johnson_lindenstrauss_bound.html

Old:


New:


Other images unchanged.

@thismlguy
Copy link
Contributor Author

added the old-new plots for the current circleCI build.

@agramfort
Copy link
Member

agramfort commented Jun 7, 2017 via email

@thismlguy
Copy link
Contributor Author

@agramfort - i'm sorry could you point me to the example which you are referring to?

@agramfort
Copy link
Member

forget it for my previous comment. But plot_agglomerative_clustering and plot_kmeans_assumptions look better before. When dots are small putting a black border makes everything almost black.

@thismlguy
Copy link
Contributor Author

@agramfort - i found the new ones a bit cleaner. But I see you point. I've pushed a new commit with changes. i'm good with both. i'll update the plots here once the builds are complete.

@thismlguy
Copy link
Contributor Author

CircleCI is giving this error - "Your build output is too large to display in the browser. Only the first 400000 characters are displayed." I tried searching couldn't find much.

@agramfort, @amueller - any thoughts for the reason?

@agramfort
Copy link
Member

@amueller amueller added this to the 0.19 milestone Jun 19, 2017
@amueller amueller changed the title 10 more examples fixed with matplotlib 2.0 updates [MRG + 1] 10 more examples fixed with matplotlib 2.0 updates Jun 19, 2017
@amueller
Copy link
Member

LGTM

ax = Axes3D(fig, rect=[0, 0, .95, 1], elev=48, azim=134)

plt.cla()
ax = plt.subplot(2, 2, fignum, projection='3d',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which matplotlib version does this require?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually 1.5 requires this. Issue was that I wasn't importing Axes3D because it wasn't being used directly. But I found later that this projection=3d requires Axes3D imported. So it worked after adding that import. All good now.

@raghavrv
Copy link
Member

Can you fix the conflicts? This would be nice to have in 0.19

@raghavrv
Copy link
Member

Never mind I fixed it myself ;) Let's wait for CIs. Meanwhile @amueller can we merge it?

@amueller
Copy link
Member

@raghavrv if it has your +1 you can merge, circle and travis are green

@raghavrv raghavrv merged commit 1d4e18a into scikit-learn:master Jun 21, 2017
@raghavrv
Copy link
Member

Thanks a lot @aarshayj :)

@thismlguy
Copy link
Contributor Author

thanks @raghavrv! I'll take care of the CIs on my end in future PRs :)

lesteve added a commit that referenced this pull request Jun 26, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts #9030. Minor changes for consistent labeling.
@thismlguy thismlguy deleted the example_modifications_set3 branch June 29, 2017 18:21
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
…learn#9030)

* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.

Partially reverts scikit-learn#9030. Minor changes for consistent labeling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants