Skip to content

pylab_examples/boxplot_demo.py crashes #3220

@mdboom

Description

@mdboom

@tacaswell: Any thoughts?

Traceback (most recent call last):
  File "boxplot_demo.py", line 55, in <module>
    boxplot(data)
  File "/home/mdboom/python/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/pyplot.py", line 2636, in boxplot
    meanprops=meanprops, manage_xticks=manage_xticks)
  File "/home/mdboom/python/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/axes/_axes.py", line 3036, in boxplot
    labels=labels)
  File "/home/mdboom/python/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/cbook.py", line 1994, in boxplot_stats
    wiskhi = np.compress(x <= hival, x)
  File "/home/mdboom/python/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 1561, in compress
    return compress(condition, axis, out)
ValueError: condition must be a 1-d array

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions