[miso-users] Error from sashimi-plot on test-data
Yarden Katz
yarden at MIT.EDU
Thu Dec 20 22:51:36 EST 2012
Hi,
Could you please say what command you ran exactly, and using what settings file?
Thanks. --Yarden
On Nov 5, 2012, at 11:17 AM, In-Hee Lee wrote:
> 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
>
> _______________________________________________
> miso-users mailing list
> miso-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/miso-users
More information about the miso-users
mailing list