701e17116ad8d4902258da6fd58e5c2d93b695b0,examples/statistics/confidence_ellipse.py,,,#,83

Before Change


// Also plot the dataset itself, for reference
ax_pos.scatter(x, y, s=0.5)
// Mark the mean ("mu")
ax_pos.scatter([mu_pos[0]], [mu_pos[1]], c="red", s=3)
ax_pos.set_title(f"Positive correlation")

// Demo top middle: negative correlation

After Change


// Use the kwargs specified for matplotlib.patches.Patch in order
// to have the ellipse rendered in different ways.

fig, ax_kwargs = plt.subplots(figsize=(6, 6))
dependency_kwargs = np.array([
    [-0.8, 0.5],
    [-0.2, 0.5]
])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: matplotlib/matplotlib
Commit Name: 701e17116ad8d4902258da6fd58e5c2d93b695b0
Time: 2019-03-03
Author: carstenschelp@mp.nl
File Name: examples/statistics/confidence_ellipse.py
Class Name:
Method Name:


Project Name: mne-tools/mne-python
Commit Name: d91f99f56e4beb80808f396b4404f5434bedae8e
Time: 2018-08-29
Author: larson.eric.d@gmail.com
File Name: tutorials/plot_brainstorm_phantom_elekta.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 354fa7de1d2babc7f84a816f568326eb2b021cf6
Time: 2018-06-14
Author: elch.rz@ruetz-online.de
File Name: examples/lines_bars_and_markers/marker_reference.py
Class Name:
Method Name:


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 71b1e873e70dca43cd12870d4c0f497015f41970
Time: 2021-02-17
Author: g.lemaitre58@gmail.com
File Name: examples/datasets/plot_make_imbalance.py
Class Name:
Method Name: