Here are the examples of the python api bokeh.models.Plot._scale taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
View Source File : test_plots.py
License : MIT License
Project Creator : rthorst
License : MIT License
Project Creator : rthorst
def test_plot__scale_classmethod():
assert isinstance(Plot._scale("auto"), LinearScale)
assert isinstance(Plot._scale("linear"), LinearScale)
assert isinstance(Plot._scale("log"), LogScale)
assert isinstance(Plot._scale("categorical"), CategoricalScale)
with pytest.raises(ValueError):
Plot._scale("malformed_type")
def test__check_required_scale_has_scales():