_customdatasrc.py 456 Bytes
Newer Older
xuebingbing's avatar
xuebingbing committed
1 2 3 4
import _plotly_utils.basevalidators


class CustomdatasrcValidator(_plotly_utils.basevalidators.SrcValidator):
xuebingbing's avatar
xuebingbing committed
5
    def __init__(self, plotly_name="customdatasrc", parent_name="contour", **kwargs):
xuebingbing's avatar
xuebingbing committed
6 7 8
        super(CustomdatasrcValidator, self).__init__(
            plotly_name=plotly_name,
            parent_name=parent_name,
xuebingbing's avatar
xuebingbing committed
9 10
            edit_type=kwargs.pop("edit_type", "none"),
            role=kwargs.pop("role", "info"),
xuebingbing's avatar
xuebingbing committed
11 12
            **kwargs
        )