Skip to content

plot_cluster_size_distribution.py #36

@Yixiangzhang1996

Description

@Yixiangzhang1996

Hi André,

I had the same problem with this script

[+] Start ... [+] Plotting "loglogpowerlaw" ... Traceback (most recent call last): File "/home1/zyx/my_kinfin/kinfin-1.0.3/scripts/plot_cluster_size_distribution.py", line 237, in <module> dataObj.plot_cluster_sizes('loglogpowerlaw') File "/home1/zyx/my_kinfin/kinfin-1.0.3/scripts/plot_cluster_size_distribution.py", line 139, in plot_cluster_sizes ax.fill_between(x, y, y_bottom, facecolor=colour, interpolate = True, where = mask) File "/home1/zyx/.conda/envs/python27/lib/python2.7/site-packages/matplotlib/__init__.py", line 1867, in inner return func(ax, *args, **kwargs) File "/home1/zyx/.conda/envs/python27/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 5106, in fill_between map(np.ma.getmask, [x, y1, y2])) TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions