B
    &[¨_µ  ã               @   s¢   d dl mZ d dlZd dlmZ d dlmZ d dl	Z	dd„ Z
e
ejejƒ e
ejejƒ e
ejejƒ e
ejejƒ e
ejejƒ e
ejejƒ e
ejejƒ dS )é    )Úabsolute_importN)Ú
BaseFigurec             C   s2   t  dd| j¡}tjd dk r(||j_n||_dS )z}
    Copy docstring from a plotly.io function to a Figure method, removing the
    fig argument docstring in the process
    z {4}fig:(?:.*?\n)*? {4}(\w+)z    \1r   é   N)Ú_reÚsubÚ__doc__ÚsysÚversion_infoÚ__func__)Zfrom_fnZ	to_methodZdocstr© r   ú9/tmp/pip-install-l29rncou/plotly/plotly/_docstring_gen.pyÚcopy_doc_without_fig   s    
r   )Ú
__future__r   Úrer   Z	plotly.ioÚioZpioZplotly.basedatatypesr   r   r   ÚshowZto_jsonÚ
write_jsonZto_htmlZ
write_htmlZto_imageZwrite_imager   r   r   r   Ú<module>   s   