+
    ,i{&              
           R t ^ RIHt ^ RIHtHtHtHtH	t
 ^ RIHt ^ RIHt ^ RIHtHt RRRR	R
RRRRR/tRRRRRRRRRR/t]P(                  P                  tRR ltR# )zHModule that provides a GUI-based editor for Matplotlib's figure options.)chain)cbookcmcolorsmarkersimage)QtGui)_formlayout)DateConverternum2date-Solidz--Dashedz-.DashDot:DottedNonedefaultDefaultz	steps-prezSteps (Pre)stepsz	steps-midzSteps (Mid)z
steps-postzSteps (Post)Nc                  a aaaaaa a! R+pR pS P                   oSP                  4        UUu/ uF9  w  rEV\        V! \        S RV R24      ! 4       VP	                  4       4      4      bK;  	  pppRS P                  4       3V.\        P                  ! SP                  4        UUu. uFn  w  rERRVP                  4        R23RWd,          ^ ,          3R	Wd,          ^,          3R
VP                  P                  4       3RVP                  4       RRRR.3V3NKp  	  upp4      OR,NpSP                  4        UUu/ uF  w  rEWEP	                  4       bK  	  uppoSP                  4        UUu/ uF  w  rEWEP                  4       bK  	  uppo. o S P                  4        F.  pVP                  4       p	V	R8X  d   K  S P                  W34       K0  	  . p
R pS  EF|  w  r\         P"                  ! \         P$                  ! VP'                  4       VP)                  4       4      RR7      p\         P"                  ! \         P$                  ! VP+                  4       VP)                  4       4      RR7      p\         P"                  ! \         P$                  ! VP-                  4       VP)                  4       4      RR7      pR
V	3VR-RV! \.        VP1                  4       4      3RV! \2        VP5                  4       4      3RVP7                  4       3RV3VR.RV! \8        VP;                  4       4      3RVP=                  4       3RV3RV3.pV
P                  WR.4       EK  	  \?        V
4      o. o!. S P@                  OS PB                  O FA  pVP                  4       p	V	R8X  g   VPE                  4       f   K.  S!P                  V	V34       KC  	  . p\G        \H        PJ                  P                  4       4       UUu. uF
  w  ppVV3NK  	  pppS! EF  w  p	pVPM                  4       pVPN                  \H        PJ                  9  d   VVPN                  3.VOpVPQ                  4       w  ppR
V	3RVPN                  .V,           3RV3RV3.p\S        VR 4      '       dv   \G        \T        PV                  4       Uu. uF  qDV3NK  	  ppVP                  R!VPY                  4       .VO34       . R/OpVP                  R"VP[                  4       .VO34       VP                  VV	R.4       EK  	  \?        V4      oVR#R3.pV
'       d   VP                  V
R$R34       V'       d   VP                  VR%R34       V VVVVVV V!3R& lp\\        P^                  ! VR'V\`        Pb                  ! \e        \f        Ph                  ! R(R)4      4      4      VR*7       R# u uppi u uppi u uppi u uppi u uppi u upi )0zEdit matplotlib figure optionsNc                n    \        V\        4      '       d   \        \        V 4      # \        \        V 4      # )z.Convert axis limits for correct input editors.)
isinstancer
   mapr   float)lim	converters   &&M/usr/lib/python3/dist-packages/matplotlib/backends/qt_editor/figureoptions.pyconvert_limits#figure_edit.<locals>.convert_limits#   s(    i//x%%5#    get_r   Titlez<b>z	-Axis</b>MinMaxLabelScalelinearlogsymloglogit
_nolegend_c                :   W9  d   / V CV\        V4      /Cp V P                  4        UUu/ uF  w  r#W2bK	  	  pppVP                  4        UUu/ uF  w  r2W#bK	  	  pppW@V,          ,          pV.\        VP                  4       R R7      ,           # u uppi u uppi )a  
Prepare entry for FormLayout.

*d* is a mapping of shorthands to style names (a single style may
have multiple shorthands, in particular the shorthands `None`,
`"None"`, `"none"` and `""` are synonyms); *init* is one shorthand
of the initial style.

This function returns an list suitable for initializing a
FormLayout combobox, namely `[initial_name, (shorthand,
style_name), (shorthand, style_name), ...]`.
c                     V ^,          # )    )short_and_names   &r   <lambda>3figure_edit.<locals>.prepare_data.<locals>.<lambda>o   s	    .2Cr    )key)stritemssorted)dinitshortname
name2short
short2namecanonical_inits   &&     r   prepare_data!figure_edit.<locals>.prepare_dataV   s     =&1&dCI&A 67WWY?YkedkY
?5?5E5E5GH5Gkdek5G
H#dG, z'')CEE 	F @Hs   BBT)
keep_alphaz
Line stylez
Draw styleWidthzColor (RGBA)StyleSizezFace color (RGBA)zEdge color (RGBA) Colormapz
Min. valuez
Max. valueget_interpolationInterpolationzInterpolation stageAxesCurveszImages, etc.c           
       < S) Uu/ uF  pV\        S'RV R24      ! 4       bK  	  ppV P                  ^ 4      pS+'       d   V P                  ^ 4      M. pS,'       d   V P                  ^ 4      M. pV '       d   \        R4      hVP                  ^ 4      pS'P                  V4       VP                  4       p\	        S)P                  4       4       F  w  pw  rV^V,          ,          p
V^V,          ^,           ,          pV^V,          ^,           ,          pV^V,          ^,           ,          pV	P                  4       V8w  d   \        S'RV R24      ! V4       V	P                  WRR7       V	P                  V4       V	P                  S(V,          4       V	P                  S*V,          4       K  	  \	        V4       F  w  rS-V,          ^,          pVw	  pppppppppVP                  V4       VP                  V4       VP                  V4       VP                  V4       \        P                   ! V4      pVP#                  R4       VP%                  V4       VR	8w  g   K  VP'                  V4       VP)                  V4       VP+                  V4       VP-                  V4       K  	  \	        V4       F  w  ppS.V,          ^,          p\/        V4      ^8X  d-   Vw  ppppp p!VP1                  V 4       VP3                  V!4       M\/        V4      ^8X  d   Vw  ppppVP                  X4       VP5                  X4       VP6                  ! \9        XX.4      !   K  	  V'       dh   Rp"^p#S'P:                  e+   S'P=                  4       p$V$P>                  RJp"V$P@                  p#S'PC                  V#R
7      p%V%'       d   V%PE                  V"4       S'PG                  4       p&V&PH                  PK                  4        S) FJ  p\        S'RV R24      ! 4       W!,          8w  g   K%  V&PH                  PL                  PO                  4         R# 	  R# u upi )zA callback to apply changes.r!   r   zUnexpected fieldset_scaleF)autoNnone)ncols)(getattrpop
ValueError	set_title	enumerater5   	get_scale_set_limset_label_text_set_converter	set_units	set_labelset_linestyleset_drawstyleset_linewidthmcolorsto_rgba	set_alpha	set_color
set_markerset_markersizeset_markerfacecolorset_markeredgecolorlenset_interpolationset_interpolation_stageset_cmapset_climr6   legend_
get_legend
_draggable_ncolslegendset_draggable
get_figurecanvasdrawtoolbarpush_current)/datar:   orig_limitsgeneralcurves	mappablestitlegenerate_legendiaxisaxis_minaxis_max
axis_label
axis_scaleindexcurvelinelabel	linestyle	drawstyle	linewidthcolormarker
markersizemarkerfacecolormarkeredgecolorrgbamappable_settingsmappablecmaplowhighinterpolationinterpolation_stage	draggablerO   
old_legend
new_legendfigureaxesaxis_converteraxis_map
axis_units	has_curvehas_smlabeled_lineslabeled_mappabless/   &                                      r   apply_callback#figure_edit.<locals>.apply_callback   s    !
  '$$tfC 0133  	 

 ((1+ )!r#)DHHQKr	/00Au!++-()9:OA|qs|HqsQw'H 1q)J 1q)J~~:-TF%01*=MM(5M9
+ t 45NN:d+,  ;  &f-LE '*D16/UIy)UFJoNN5!y)y)y)??5)DNN4 NN4 '##J/((9((9 .$ )2)(<$E$(/2H$%*# KtS$7J**=9001DE&'1,):&tS$u%d#vsDk23 )= IE||'!__.
&11=	"))51J((3 "DttD6-.0K4EE%%224 [
s   QzFigure optionsimageszqt4_editor_options.svg)r{   parenticonapply)NN)z(Re-)Generate automatic legendF)Nz<b>Line</b>)Nz<b>Marker</b>)rv   r   rM   )5	_axis_mapr5   tuplerP   get_converter	get_titler   from_iterabler{   r   get_textrU   	get_units	get_lines	get_labelappendr^   to_hexr_   	get_color	get_alphaget_markeredgecolorget_markerfacecolor
LINESTYLESget_linestyle
DRAWSTYLESget_drawstyleget_linewidthMARKERS
get_markerget_markersizeboolr   collections	get_arrayr6   r   
_colormapsget_cmapr:   get_climhasattrmimageinterpolations_namesrF   get_interpolation_stager	   feditr   QIconr4   r   _get_data_path)"r   r   sepr   r:   r~   axis_limitsrx   r   r   ry   r>   r   ecfc	curvedatar   rz   r   cmapsr   r   mappabledatainterpolationsinterpolation_stagesdatalistr   r   r   r   r   r   r   r   s"   f&                         @@@@@@@r   figure_editr      s   
C ~~H
 #..*	 +JD 	eNDDc*+-t/A/A/C
  	 +	   
$.."# 
		 'nn.
 /
 TZZ\N)45)!,-)!,-$**--/04>>+#UHg? @ /
 
 	2G* #..**JD 	  ""*N #..**JD 	nn*J M  L e]+	 !
 FF6 %OODNN,dnn.>? ^^OOD4468HI ^^OOD4468HI e!<
D4F4F4HIJ<
D4F4F4HIJd((*+U##l7DOO,=>?T((*+ "% "%'	 	y,-1 %4 VI 5dkk5D$4$45""$L H$6$6$8$@  %!23	 6
 I,22==3F3F3H,IJ,IjdDdD\,IEJ,x  "99BMM)DII&//E%%'	Te$))u,-34 	
 8011)/0K0K)LN)Lt)L  N++-??!A B $< %113K6JK!M N 	,r23/ -2 )_F&"%&H2./NB78R Rh ([[$$X/GHIK	A
 Z KNs$   ?W %A4W7W)W,W(W)N)__doc__	itertoolsr   
matplotlibr   r   r   r^   r   r   r   matplotlib.backends.qt_compatr   matplotlib.backends.qt_editorr	   matplotlib.datesr
   r   r   r   MarkerStyler   r   r/   r    r   <module>r      sw    O  M M / 5 47HI8f	
 y.	"
 


%
%qr    