Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
jameschapman19 committed Oct 5, 2023
2 parents 92a3386 + 9e4e2fe commit a9424da
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions test/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,27 +61,33 @@ def test_weight_heatmap_plot(setup_data):

def test_score_plot(setup_data):
mcca, views, test_views = setup_data
ScoreScatterDisplay.from_estimator(mcca, views, test_views=test_views, ax_labels=['Brain','Behaviour']).plot()
ScoreScatterDisplay.from_estimator(
mcca, views, test_views=test_views, ax_labels=["Brain", "Behaviour"]
).plot()
plt.close()


def test_score_plot_separate(setup_data):
mcca, views, test_views = setup_data
SeparateScoreScatterDisplay.from_estimator(
mcca, views, test_views=test_views, ax_labels=['Brain','Behaviour']
mcca, views, test_views=test_views, ax_labels=["Brain", "Behaviour"]
).plot()
plt.close()


def test_joint_score_plot(setup_data):
mcca, views, test_views = setup_data
JointScoreScatterDisplay.from_estimator(mcca, views, test_views=test_views, ax_labels=['Brain','Behaviour']).plot()
JointScoreScatterDisplay.from_estimator(
mcca, views, test_views=test_views, ax_labels=["Brain", "Behaviour"]
).plot()
plt.close()


def test_joint_score_plot_separate(setup_data):
mcca, views, test_views = setup_data
SeparateJointScoreDisplay.from_estimator(mcca, views, test_views=test_views, ax_labels=['Brain','Behaviour']).plot()
SeparateJointScoreDisplay.from_estimator(
mcca, views, test_views=test_views, ax_labels=["Brain", "Behaviour"]
).plot()
plt.close()


Expand Down

0 comments on commit a9424da

Please sign in to comment.