
    -Ph                         d Z d ZdS )z%
Tools for matplotlib plot exporting
c            	          	 ddl m} m} n# t          $ r t	          d           Y nw xY wd}d}d}d}d}d	|d
|d|d|d	}|                    |          }d|z   dz   }	 |  ||	                     dS )zInitialize the IPython notebook display elements

    This function borrows heavily from the excellent vincent package:
    http://github.com/wrobstory/vincent
        )displayHTMLz%IPython Notebook could not be loaded.a  
    if (window['d3'] === undefined) {{
        require.config({{ paths: {{d3: "http://d3js.org/d3.v3.min"}} }});
        require(["d3"], function(d3) {{
          window.d3 = d3;
          {0}
        }});
    }};
    if (window['topojson'] === undefined) {{
        require.config(
            {{ paths: {{topojson: "http://d3js.org/topojson.v1.min"}} }}
            );
        require(["topojson"], function(topojson) {{
          window.topojson = topojson;
        }});
    }};
    z+http://d3js.org/d3.geo.projection.v0.min.jsz6http://wrobstory.github.io/d3-cloud/d3.layout.cloud.jsz"http://d3js.org/topojson.v1.min.jsz'http://trifacta.github.com/vega/vega.jsz$.getScript("z%", function() {
        $.getScript("z)", function() {
            $.getScript("z-", function() {
                $.getScript("z", function() {
                        $([IPython.events]).trigger("vega_loaded.vincent");
                })
            })
        })
    });z<script>z	</script>N)IPython.core.displayr   r   ImportErrorprintformat)
r   r   
require_jsd3_geo_projection_js_urld3_layout_cloud_js_urltopojson_js_urlvega_js_urldep_libsload_jshtmls
             e/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/matplotlylib/mplexporter/tools.pyipynb_vega_initr      s    7666666666 7 7 75666667J"  MX:O;KK 	!  H ))G+-DGDDJJs    ''N)__doc__r        r   <module>r      s(    
1 1 1 1 1r   