multiple plots story

This commit is contained in:
Vyacheslav Matyukhin 2022-07-29 18:10:57 +04:00
parent e7a1fe1c17
commit 61051ffe5f
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -93,6 +93,20 @@ could be continuous, discrete or mixed.
</Story> </Story>
</Canvas> </Canvas>
## Multiple plots
<Canvas>
<Story
name="Multiple plots"
args={{
code: '{distributions: [{name: "one", distribution: mx(0.5, normal(0,1))}, {name: "two", distribution: mx(2, normal(5, 2))}]}',
width,
}}
>
{Template.bind({})}
</Story>
</Canvas>
## Constants ## Constants
A constant is a simple number as a result. This has special formatting rules A constant is a simple number as a result. This has special formatting rules