1import _plotly_utils.basevalidators
2
3
4class OrientationValidator(_plotly_utils.basevalidators.EnumeratedValidator):
5    def __init__(self, plotly_name="orientation", parent_name="histogram", **kwargs):
6        super(OrientationValidator, self).__init__(
7            plotly_name=plotly_name,
8            parent_name=parent_name,
9            edit_type=kwargs.pop("edit_type", "calc+clearAxisTypes"),
10            role=kwargs.pop("role", "info"),
11            values=kwargs.pop("values", ["v", "h"]),
12            **kwargs
13        )
14