Skip to content

Flexibility in displaying multiple plots #154

@contradictioned

Description

@contradictioned

If I understand correctly, a cell in a Jupyter notebook can only render one output. In case of Daru this can be done by calling my_graph.show_in_iruby. In order to render multiple (n) plots in a single output, there's Daru::View::PlotList which constructs a table with n columns and a single row. If the individual plots are too big, this table would overflow and the user needs to scroll sideways (see attached screenshot).

Is there a better way to display multiple plots, especially without horizontal scrolling?
If not (and you are interested) I'd also take look into that, not sure if it suffices to give a num_cols parameter for the construction of the table to limit the number of columns, or wrap the individual plots inside a flexbox container.

Screenshot 2019-11-11 at 09 57 02

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions