class_docstr: Test Scene conversion to geoviews, xarray, etc.
class_docstr_tok: ["Test","Scene","conversion","to","geoviews",",","xarray",",","etc","."]
docstr: Test converting a Scene to hvplot with a AreaDefinition.
docstr_tok: ["Test","converting","a","Scene","to","hvplot","with","a","AreaDefinition","."]
code: def test_hvplot_rgb_with_area(self):
      """Test converting a Scene to hvplot with a AreaDefinition."""
      from pyresample.geometry import AreaDefinition
  
      scn = Scene()
      area = AreaDefinition(
          "test",
          "test",
          "test",
          {"proj": "geos", "lon_0": -95.5, "h": 35786023.0},
          2,
          2,
          [-200, -200, 200, 200],
      )
      scn["ds1"] = xr.DataArray(
          da.zeros((2, 2), chunks=-1),
          dims=("y", "x"),
          attrs={
              "start_time": datetime(2018, 1, 1),
              "area": area,
              "units": "m",
          },
      )
      scn["ds2"] = xr.DataArray(
          da.zeros((2, 2), chunks=-1),
          dims=("y", "x"),
          attrs={
              "start_time": datetime(2018, 1, 1),
              "area": area,
              "units": "m",
          },
      )
      scn["ds3"] = xr.DataArray(
          da.zeros((2, 2), chunks=-1),
          dims=("y", "x"),
          attrs={
              "start_time": datetime(2018, 1, 1),
              "area": area,
              "units": "m",
          },
      )
      hv_obj = scn.to_hvplot()
      # we assume that if we got something back, hvplot can use it
      assert hv_obj is not None
  
imports: from datetime import datetime
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
label_desc: Use image node_id 5 for calling the TestSceneConversions obj's underlying member method code with example usage: obj.test_hvplot_rgb_with_area() without return types