Skip to content

Cannot plot a histogram with several observations #927

@mbenguig

Description

@mbenguig

Bug Description
Tested with the latest version 0.2.4

Reproduction Steps
This works (histogram can be observed from the visdom server portal):

data = np.random.normal(0, 1, size=1000)
trace1 = go.Histogram(x = data, nbinsx = 50)
f0 = make_subplots()
f0.add_trace(trace1)

This does not work (the visdom server portal is empty .... cannot see any figure):

data = np.random.normal(0, 1, size=10000)
trace1 = go.Histogram(x = data, nbinsx = 50)
f0 = make_subplots()
f0.add_trace(trace1)

It seems it clearly depends on the number observations ('size' param)

Thxx

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