QuadMesh plot ``quadmesh`` allows you to plot values on an irregular grid by representing each value as a polygon. It is often useful for displaying projected geographic datasets. Note that this method can be slower than ``image``. To reduce the render time
(self, x=None, y=None, z=None, colorbar=True, **kwds)
| 1833 | return self(x, y, z=z, kind='rgb', **kwds) |
| 1834 | |
| 1835 | def quadmesh(self, x=None, y=None, z=None, colorbar=True, **kwds): |
| 1836 | """ |
| 1837 | QuadMesh plot |
| 1838 | |
| 1839 | ``quadmesh`` allows you to plot values on an irregular grid by representing each value as a |
| 1840 | polygon. It is often useful for displaying projected geographic datasets. |
| 1841 | Note that this method can be slower than ``image``. To reduce the render |
| 1842 | time or the size of the saved plot, set ``rasterize=True`` to aggregate |
| 1843 | the values to the pixel. When rasterizing geographic plots, it is recommended |
| 1844 | to set ``project=True``. |
| 1845 | |
| 1846 | Reference: https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.quadmesh.html |
| 1847 | |
| 1848 | Plotting options: https://hvplot.holoviz.org/ref/plotting_options/index.html |
| 1849 | |
| 1850 | Parameters |
| 1851 | ---------- |
| 1852 | x : string, optional |
| 1853 | The coordinate variable along the x-axis |
| 1854 | y : string, optional |
| 1855 | The coordinate variable along the y-axis |
| 1856 | z : string, optional |
| 1857 | The data variable to plot |
| 1858 | colorbar: boolean |
| 1859 | Whether to display a colorbar |
| 1860 | **kwds : optional |
| 1861 | Additional keywords arguments are documented in :ref:`plot-options`. |
| 1862 | Run ``hvplot.help('quadmesh')`` for the full method documentation. |
| 1863 | |
| 1864 | Returns |
| 1865 | ------- |
| 1866 | :class:`holoviews:holoviews.element.QuadMesh` / Panel object |
| 1867 | You can `print` the object to study its composition and run: |
| 1868 | |
| 1869 | .. code-block:: |
| 1870 | |
| 1871 | import holoviews as hv |
| 1872 | hv.help(the_holoviews_object) |
| 1873 | |
| 1874 | to learn more about its parameters and options. |
| 1875 | |
| 1876 | References |
| 1877 | ---------- |
| 1878 | |
| 1879 | - HoloViews: https://holoviews.org/reference/elements/bokeh/QuadMesh.html |
| 1880 | """ |
| 1881 | return self(x, y, z=z, kind='quadmesh', colorbar=colorbar, **kwds) |
| 1882 | |
| 1883 | def contour(self, x=None, y=None, z=None, colorbar=True, levels=5, logz=False, **kwds): |
| 1884 | """ |
no outgoing calls