
    e                     F    d dl Zd dlmZ ddlmZmZ  G d de          ZdS )    N)HexTiles   )TestMPLPlotmpl_rendererc                       e Zd Zd Zd ZdS )TestHexTilesPlotc                 L    t          g           }t          j        |           d S )N)r   r   get_plot)selftiless     Ulib/python3.11/site-packages/holoviews/tests/plotting/matplotlib/test_hextilesplot.pytest_hex_tiles_emptyz%TestHexTilesPlot.test_hex_tiles_empty
   s$    e$$$$$    c                 8   ddl m} t          g d          }t          j        |          }|                    |i i           \  }}}|                     |d         |d                    |                     |d         |d                    |                     |d         t          j        d                     |	                    d	          }|                     |t          j
        d d d
d
dd d           |                     |j         |d                     d S )Nr   )process_cmap))r   r   )      ?r   )      r   )皙ٿr   xr   y      cmaplinear2   )reduce_C_functionvminvmaxxscaleyscalegridsizemincntviridis)holoviews.plotting.utilr   r   r   r
   get_dataassertEqualnponespopsumcolors)r   r   r   plotargsstyle_r   s           r   test_hex_tiles_optsz$TestHexTilesPlot.test_hex_tiles_opts   s(   888888IIIJJ$U++ub"55eQa%*---a%*---a"'!**---yy  bf)-t+3x-/4!A !A 	B 	B 	B 	ll9&=&=>>>>>r   N)__name__
__module____qualname__r   r0    r   r   r   r      s2        % % %? ? ? ? ?r   r   )numpyr'   holoviews.elementr   	test_plotr   r   r   r4   r   r   <module>r8      so        & & & & & & 0 0 0 0 0 0 0 0? ? ? ? ?{ ? ? ? ? ?r   