
    ]e                         d Z ddlZddlZddlZddlZddl	Z	ej
        j        d         Ze	j        d             Z G d d          ZdS )z+
Geo tests **without** importing GeoViews.
    Nbokehc                  n    t          j        t          j                            dd          ddg          S )N
      xy)columns)pd	DataFramenprandomrand     =lib/python3.11/site-packages/hvplot/tests/testgeowithoutgv.py	simple_dfr      s+    <	r1--SzBBBBr   c                   &    e Zd Zd Zd Zd Zd ZdS )TestAnnotationNotGeoc                 R   |j                             ddd          }t          |          dk    sJ t          |                    d          t
          j                  sJ d|                    d          j        v sJ t          	                    |          }|j
        dk    sJ d S )	Nr   r   Ttilesr   r   openstreetmapmercatorhvplotpointslen
isinstancegethvTilesdatabk_rendererget_plot
projectionselfr   plotbk_plots       r   test_plot_tiles_doesnt_set_geoz3TestAnnotationNotGeo.test_plot_tiles_doesnt_set_geo   s    &&sCt&<<4yyA~~~~$((1++rx00000$((1++"22222&&t,,!Z//////r   c                 R   |j                             ddd          }t          |          dk    sJ t          |                    d          t
          j                  sJ d|                    d          j        v sJ t          	                    |          }|j
        dk    sJ d S )	Nr   r   ESRIr   r   r   ArcGISr   r   r&   s       r   'test_plot_specific_tiles_doesnt_set_geoz<TestAnnotationNotGeo.test_plot_specific_tiles_doesnt_set_geo   s    &&sCv&>>4yyA~~~~$((1++rx00000488A;;+++++&&t,,!Z//////r   c                 z   |j                             ddt          j        j        j                  }t          |          dk    sJ t          |                    d          t          j	                  sJ d|                    d          j
        v sJ t                              |          }|j        dk    sJ d S Nr   r   r   r   r   r-   r   r   r   r    elementr   EsriImageryr   r   r   r!   r"   r#   r$   r%   r&   s       r   "test_plot_with_specific_tile_classz7TestAnnotationNotGeo.test_plot_with_specific_tile_class$   s    &&sCrz7G7S&TT4yyA~~~~$((1++rx00000488A;;+++++&&t,,!Z//////r   c                    |j                             ddt          j        j                                                  }t          |          dk    sJ t          |                    d          t          j	                  sJ d|                    d          j
        v sJ t                              |          }|j        dk    sJ d S r0   r1   r&   s       r    test_plot_with_specific_tile_objz5TestAnnotationNotGeo.test_plot_with_specific_tile_obj,   s    &&sCrz7G7S7S7U7U&VV4yyA~~~~$((1++rx00000488A;;+++++&&t,,!Z//////r   N)__name__
__module____qualname__r*   r.   r4   r6   r   r   r   r   r      sP        0 0 00 0 00 0 00 0 0 0 0r   r   )__doc__	holoviewsr    hvplot.pandasr   numpyr   pandasr
   pytestStore	renderersr#   fixturer   r   r   r   r   <module>rC      s                      h )C C C 0  0  0  0  0  0  0  0  0  0r   