[miso-users] Error from sashimi-plot on test-data

In-Hee Lee ikarus97 at gmail.com
Mon Nov 5 11:17:39 EST 2012


Hi miso-users,

I have installed latest version of MISO, and tested installation using
test-data.
But sashimi-plot gave me an unexpected error.
It looks like settings for graph margin in matplotlib is involved, but I
can't figure out how to fix it.
It would be great if somebody can give me an insight to fix it.

Thanks,

-------------------------------------------------------------------------------------------------------------
The python package versions are: python-2.6, matplotlib-1.1.1,
numpy-1.8.0dev, scipy-0.12.0

The traceback from error message is:
Traceback (most recent call last):
  File "./plot.py", line 319, in <module>
    main()
  File "./plot.py", line 314, in main
    no_posteriors=no_posteriors)
  File "./plot.py", line 145, in plot_event
    no_posteriors=no_posteriors)
  File
"/usr/lib/python2.6/site-packages/misopy-0.4.6-py2.6-linux-x86_64.egg/misopy/sashimi_plot/plot_utils/plot_gene.py",
line 665, in plot_density_from_file
    plot_density(sashimi_obj, pickle_filename, event)
  File
"/usr/lib/python2.6/site-packages/misopy-0.4.6-py2.6-linux-x86_64.egg/misopy/sashimi_plot/plot_utils/plot_gene.py",
line 235, in plot_density
    junction_log_base=junction_log_base)
  File
"/usr/lib/python2.6/site-packages/misopy-0.4.6-py2.6-linux-x86_64.egg/misopy/sashimi_plot/plot_utils/plot_gene.py",
line 70, in plot_density_single
    y2=0, color=color, lw=0)
  File "/usr/lib64/python2.6/site-packages/matplotlib/pyplot.py", line
2287, in fill_between
    ret = ax.fill_between(x, y1, y2, where, interpolate, **kwargs)
  File "/usr/lib64/python2.6/site-packages/matplotlib/axes.py", line 6564,
in fill_between
    self.add_collection(collection)
  File "/usr/lib64/python2.6/site-packages/matplotlib/axes.py", line 1445,
in add_collection
    self.update_datalim(collection.get_datalim(self.transData))
  File "/usr/lib64/python2.6/site-packages/matplotlib/collections.py", line
167, in get_datalim
    offsets.shape = (-1, 2)                     # Make it Nx2
AttributeError: incompatible shape for a non-contiguous array
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/miso-users/attachments/20121105/102ecb32/attachment-0001.htm


More information about the miso-users mailing list