Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Violin plots print subplot grid information by default #535

Copy link
Copy link
Closed
@pjbull

Description

@pjbull
Issue body actions
  1. Create a violin plot, e.g.:
    https://plot.ly/python/violin-plot/#multiple-violins

Result:
Grid information is printed to stdout and can't be turned off:

This is the format of your plot grid:
[ (1,1) x1,y1 ]  [ (1,2) x2,y1 ]  [ (1,3) x3,y1 ]  [ (1,4) x4,y1 ]  [ (1,5) x5,y1 ]

Expected:
No grid information to print, or a setting to control verbosity.

Possible fix:

  • Pass print=False explicitly to make_subplots
  • Make print=False the default parameter to make_subplots
  • Switch to logging rather than print statements so output can easily be controlled/redirected.

Here are the violin plot calls where print=True, though True is also the default parameter"
https://github.com/plotly/plotly.py/blob/master/plotly/tools.py#L2730
https://github.com/plotly/plotly.py/blob/master/plotly/tools.py#L2798
https://github.com/plotly/plotly.py/blob/master/plotly/tools.py#L2899

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.