Add a new Carpet trace The data describing carpet axis layout is set in `y` and (optionally) also `x`. If only `y` is present, `x` the plot is interpreted as a cheater plot and is filled in using the `y` values. `x` and `y` may either be 2D arrays matching w
(
self,
a=None,
a0=None,
aaxis=None,
asrc=None,
b=None,
b0=None,
baxis=None,
bsrc=None,
carpet=None,
cheaterslope=None,
color=None,
customdata=None,
customdatasrc=None,
da=None,
db=None,
font=None,
ids=None,
idssrc=None,
legend=None,
legendgrouptitle=None,
legendrank=None,
legendwidth=None,
meta=None,
metasrc=None,
name=None,
opacity=None,
stream=None,
uid=None,
uirevision=None,
visible=None,
x=None,
xaxis=None,
xsrc=None,
y=None,
yaxis=None,
ysrc=None,
zorder=None,
row=None,
col=None,
secondary_y=None,
**kwargs,
)
| 2729 | return self.add_trace(new_trace, row=row, col=col, secondary_y=secondary_y) |
| 2730 | |
| 2731 | def add_carpet( |
| 2732 | self, |
| 2733 | a=None, |
| 2734 | a0=None, |
| 2735 | aaxis=None, |
| 2736 | asrc=None, |
| 2737 | b=None, |
| 2738 | b0=None, |
| 2739 | baxis=None, |
| 2740 | bsrc=None, |
| 2741 | carpet=None, |
| 2742 | cheaterslope=None, |
| 2743 | color=None, |
| 2744 | customdata=None, |
| 2745 | customdatasrc=None, |
| 2746 | da=None, |
| 2747 | db=None, |
| 2748 | font=None, |
| 2749 | ids=None, |
| 2750 | idssrc=None, |
| 2751 | legend=None, |
| 2752 | legendgrouptitle=None, |
| 2753 | legendrank=None, |
| 2754 | legendwidth=None, |
| 2755 | meta=None, |
| 2756 | metasrc=None, |
| 2757 | name=None, |
| 2758 | opacity=None, |
| 2759 | stream=None, |
| 2760 | uid=None, |
| 2761 | uirevision=None, |
| 2762 | visible=None, |
| 2763 | x=None, |
| 2764 | xaxis=None, |
| 2765 | xsrc=None, |
| 2766 | y=None, |
| 2767 | yaxis=None, |
| 2768 | ysrc=None, |
| 2769 | zorder=None, |
| 2770 | row=None, |
| 2771 | col=None, |
| 2772 | secondary_y=None, |
| 2773 | **kwargs, |
| 2774 | ) -> "FigureWidget": |
| 2775 | """ |
| 2776 | Add a new Carpet trace |
| 2777 | |
| 2778 | The data describing carpet axis layout is set in `y` and |
| 2779 | (optionally) also `x`. If only `y` is present, `x` the plot is |
| 2780 | interpreted as a cheater plot and is filled in using the `y` |
| 2781 | values. `x` and `y` may either be 2D arrays matching with each |
| 2782 | dimension matching that of `a` and `b`, or they may be 1D |
| 2783 | arrays with total length equal to that of `a` and `b`. |
| 2784 | |
| 2785 | Parameters |
| 2786 | ---------- |
| 2787 | a |
| 2788 | An array containing values of the first parameter value |