
    eg                        d Z ddlZddlZddlZ eej                            edd                    Zddl	m
Z
 ddlmZmZ dd	lmZ dd
lmZ ddlmZmZ ddlmZmZmZmZ ddlmZ ddlmZmZmZm Z m!Z! ddl"m#Z#m$Z$ ddl%m&Z&m'Z'm(Z(m)Z)m*Z* ddl+m,Z, ddl-T ddl-m.Z/ ddl0m1Z1 ddl
m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7 ddl8m9Z9 ddl:m;Z;m<Z< ddl=m>Z> ddl?Z? e?j@        dd           dejA        v r	ddlBmCZC eCZ2n G d dejD                  ZCd ejA        v rdd!lEmFZFmGZG  eF            rd"e2_H        neGZ2[G[FejI        J                    d#d$          ejK        L                    ejK        M                    ejK        N                    e          d         d%d&                    d'd(fD ]ZOejK        P                    eO          ZQejK        R                    eQ          r eSeQd)*          5 ZT eUeTV                                eQd+          ZW	  eXeW           n-# eY$ r%ZZ e[d,eQd- eeZ          d.           Y dZZ[ZndZZ[Zww xY wddd           n# 1 swxY w Y   [T[W n[Q	 	 d2d0Z\d1 Z][[O[?dS )3ui	  
HoloViews makes data analysis and visualization simple
======================================================

HoloViews lets you focus on what you are trying to explore and convey, not on
the process of plotting.

HoloViews

- supports a wide range of data sources including Pandas, Dask, XArray
Rapids cuDF, Streamz, Intake, Geopandas, NetworkX and Ibis.
- supports the plotting backends Bokeh (default), Matplotlib and Plotly.
- allows you to drop into the rest of the
HoloViz ecosystem when more power or flexibility is needed.

For basic data exploration we recommend using the higher level hvPlot package,
which provides the familiar Pandas `.plot` api. You can drop into HoloViews
when needed.

To learn more check out https://holoviews.org/. To report issues or contribute
go to https://github.com/holoviz/holoviews. To join the community go to
https://discourse.holoviz.org/.

How to use HoloViews in 3 simple steps
--------------------------------------

Work with the data source you already know and ❤️

>>> import pandas as pd
>>> station_info = pd.read_csv('https://raw.githubusercontent.com/holoviz/holoviews/main/examples/assets/station_info.csv')

Import HoloViews and configure your plotting backend

>>> import holoviews as hv
>>> hv.extension('bokeh')

Annotate your data

>>> scatter = (
...     hv.Scatter(station_info, kdims='services', vdims='ridership')
...     .redim(
...         services=hv.Dimension("services", label='Services'),
...         ridership=hv.Dimension("ridership", label='Ridership'),
...     )
...     .opts(size=10, color="red", responsive=True)
... )
>>> scatter

In a notebook this will display a nice scatter plot.

Note that the `kdims` (The key dimension(s)) represents the independent
variable(s) and the `vdims` (value dimension(s)) the dependent variable(s).

For more check out https://holoviews.org/getting_started/Introduction.html

How to get help
---------------

You can understand the structure of your objects by printing them.

>>> print(scatter)
:Scatter   [services]   (ridership)

You can get extensive documentation using `hv.help`.

>>> hv.help(scatter)

In a notebook or ipython environment the usual

- `help` and `?` will provide you with documentation.
- `TAB` and `SHIFT+TAB` completion will help you navigate.

To ask the community go to https://discourse.holoviz.org/.
To report issues go to https://github.com/holoviz/holoviews.
    Nz$Format:%h$	holoviews)fpatharchive_commitreponame   )util)archiveconfig)BoundingBox)	Dimension)ElementCollator)LayoutNdLayoutEmptyAdjointLayout)	NdMapping)OptionsStoreCyclePaletteStoreOptions)Overlay	NdOverlay)HoloMapCallable
DynamicMap	GridSpace
GridMatrix)	Operation)*)__all__)link_selections)	extensionrendereroutputoptsrendersave)dim)HoloviewsDeprecationWarningHoloviewsUserWarning)show_versionsignorez7elementwise comparison failed; returning scalar instead)messageIPython)notebook_extensionc                       e Zd Zd ZdS )r1   c                      t          d          )Nz9Jupyter notebook not available: use hv.extension instead.)	Exception)selfargskwargss      2lib/python3.11/site-packages/holoviews/__init__.py__call__znotebook_extension.__call__w   s    WXXX    N)__name__
__module____qualname__r9    r:   r8   r1   r1   v   s(        	Y 	Y 	Y 	Y 	Yr:   r1   _pyodide)in_jupyterlitepyodide_extensionFHOLOVIEWSRC z..zholoviews.rcz~/.holoviews.rcz ~/.config/holoviews/holoviews.rcutf8)encodingexeczWarning: Could not load z []Tc           	          |r|nt           j        }t          j        | |||||t                    }d}|rt	          |du r|nd|z              dS ddl}|                    |            dS )a  
    Extended version of the built-in help that supports parameterized
    functions and objects. A pattern (regular expression) may be used to
    filter the output and if recursive is set to True, documentation for
    the supplied object is shown. Note that the recursive option will
    only work with an object instance and not a class.

    If ansi is set to False, all ANSI color
    codes are stripped out.
    )ansibackendvisualization	recursivepatternelementszy
To view the visualization options applicable to this object or class, use:

   holoviews.help(obj, visualization=True)

FrC   r   N)r   current_backendinfoelements_listprintpydochelp)	objrK   rI   rJ   rL   rM   rP   msgrS   s	            r8   rT   rT      s     !;gge&;G:cg] )7]T T TD<C  mu,,ss"<=====

3r:   c                 R    | dk    rddl m} |S t          dt          d|           )Nannotater   )rX   zmodule z has no attribute )
annotatorsrX   AttributeErrorr;   )namerX   s     r8   __getattr__r\      sC    z((((((
I8IIII
J
JJr:   )TTNFN)^__doc__ossysparamstrversionVersion__file____version__rC   r   corer	   r
   core.boundingregionr   core.dimensionr   core.elementr   r   core.layoutr   r   r   r   core.ndmappingr   core.optionsr   r   r   r   r   core.overlayr   r   core.spacesr   r   r   r   r   	operationr    elementr"   rQ   	selectionr#   r$   r%   r&   r'   r(   r)   util.transformr*   util.warningsr+   r,   util._versionsr-   warningsfilterwarningsmodulesipythonr1   ParameterizedFunctionpyodider@   rA   inlineenvirongetpathabspathjoinsplitrcfile
expanduserfilenameisfileopenfcompilereadcoderF   r4   erR   rT   r\   r>   r:   r8   <module>r      sP  J JV 
			 



 c%-''h}1< ( > > ? ?       ! ! ! ! ! ! ! ! , , , , , , % % % % % % + + + + + + + +) ) ) ) ) ) ) ) ) ) ) ) % % % % % %2 2 2 2 2 2 2 2 2 2 2 2 2 2 , , , , , , , ,1 1 1 1 1 1 1 1 1 1 1 1 1 1 !               - - - - - - & & & & & &! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !       L L L L L L L L ) ) ) ) ) )    Y[ [ [ [ ++++++"IIY Y Y Y YU8 Y Y Y :::::::: ~ & 	%	> z~~mR00wrw||BGMM(,C,CA,F,0. B  B C C 1	3  F
 w!!&))H	w~~h T(V,,, 	L716688Xv66DLT



 L L LJJJss1vvJJJKKKKKKKKL		L 	L 	L 	L 	L 	L 	L 	L 	L 	L 	L 	L 	L 	L 	L t59"&   4K K K s<    I<HIH2H-(I-H22II	I	