Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for Parallel plot #1000

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
pre-commit fix
  • Loading branch information
lee1043 committed Nov 21, 2023
commit 24c1e5e556fe430085f3c10fcf1bb8640ccf6562
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,10 @@ def parallel_coordinate_plot(
ax.set_title(title, fontsize=18)

if not legend_off:
#ax.legend(loc="upper center", ncol=6, bbox_to_anchor=(0.5, -0.14))
ax.legend(loc="upper center", ncol=legend_ncol, bbox_to_anchor=legend_bbox_to_anchor)
# ax.legend(loc="upper center", ncol=6, bbox_to_anchor=(0.5, -0.14))
ax.legend(
loc="upper center", ncol=legend_ncol, bbox_to_anchor=legend_bbox_to_anchor
)

if not logo_off:
fig, ax = add_logo(fig, ax, logo_rect)
Expand Down Expand Up @@ -401,7 +403,7 @@ def _data_transform(
else:
ymins = np.repeat(ymin, N)

ymeds = np.nanmedian(ys, axis=0) # median
ymeds = np.nanmedian(ys, axis=0) # median
ymean = np.nanmean(ys, axis=0) # mean

if vertical_center is not None:
Expand Down