8000 Release 4.1.0 by jonmmease · Pull Request #1704 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Release 4.1.0 #1704

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

Merged
merged 14 commits into from
Aug 7, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Order plotly express facets from top-left rather than bottom-left
  • Loading branch information
jonmmease committed Aug 6, 2019
commit c75fe3e0594b20287b474db4455f86f4a9f92747
5 changes: 3 additions & 2 deletions packages/python/plotly/plotly/express/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ def configure_cartesian_axes(args, fig, orders):

# Set x-axis titles and axis options in the bottom-most row
x_title = get_decorated_label(args, args["x"], "x")
for xaxis in fig.select_xaxes(row=1):
nrows = len(fig._grid_ref)
for xaxis in fig.select_xaxes(row=nrows):
xaxis.update(title_text=x_title)
set_cartesian_axis_opts(args, xaxis, "x", orders)

Expand Down Expand Up @@ -1128,7 +1129,7 @@ def init_figure(
vertical_spacing=vertical_spacing,
row_heights=row_heights,
column_widths=column_widths,
start_cell="bottom-left",
start_cell="top-left",
)

# Remove explicit font size of row/col titles so template can take over
Expand Down
0