Image mark, based on the ipywidgets image If no scales are passed, uses the parent Figure scales. Data Attributes --------------- Attributes ---------- image: Instance of ipywidgets.Image Image to be displayed x: tuple (default: (0, 1)) abscissas of the
| 1841 | |
| 1842 | @register_mark('bqplot.Image') |
| 1843 | class Image(Mark): |
| 1844 | """Image mark, based on the ipywidgets image |
| 1845 | |
| 1846 | If no scales are passed, uses the parent Figure scales. |
| 1847 | |
| 1848 | Data Attributes |
| 1849 | --------------- |
| 1850 | |
| 1851 | Attributes |
| 1852 | ---------- |
| 1853 | image: Instance of ipywidgets.Image |
| 1854 | Image to be displayed |
| 1855 | x: tuple (default: (0, 1)) |
| 1856 | abscissas of the left and right-hand side of the image |
| 1857 | in the format (x0, x1) |
| 1858 | y: tuple (default: (0, 1)) |
| 1859 | ordinates of the bottom and top side of the image |
| 1860 | in the format (y0, y1) |
| 1861 | """ |
| 1862 | _view_name = Unicode('Image').tag(sync=True) |
| 1863 | _model_name = Unicode('ImageModel').tag(sync=True) |
| 1864 | image = Instance(widgets.Image).tag(sync=True, **widget_serialization) |
| 1865 | pixelated = Bool(True).tag(sync=True) |
| 1866 | x = Array(default_value=(0, 1)).tag(sync=True, scaled=True, |
| 1867 | rtype='Number', |
| 1868 | atype='bqplot.Axis', |
| 1869 | **array_serialization)\ |
| 1870 | .valid(array_squeeze, shape(2)) |
| 1871 | y = Array(default_value=(0, 1)).tag(sync=True, scaled=True, |
| 1872 | rtype='Number', |
| 1873 | atype='bqplot.Axis', |
| 1874 | **array_serialization)\ |
| 1875 | .valid(array_squeeze, shape(2)) |
| 1876 | scales_metadata = Dict({ |
| 1877 | 'x': {'orientation': 'horizontal', 'dimension': 'x'}, |
| 1878 | 'y': {'orientation': 'vertical', 'dimension': 'y'}, |
| 1879 | }).tag(sync=True) |
nothing calls this directly
no test coverage detected
searching dependent graphs…