?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Ñò …ñ™Jc@swdZddkZddklZlZlZdd d„ƒYZdd d„ƒYZde fd „ƒYZ e ƒZ dS( sN The classes here provide support for using custom classes with matplotlib, eg those that do not expose the array interface but know how to converter themselves to arrays. It also supoprts classes with units and units conversion. Use cases include converters for custom objects, eg a list of datetime objects, as well as for objects that are unit aware. We don't assume any particular units implementation, rather a units implementation must provide a ConversionInterface, and the register with the Registry converter dictionary. For example, here is a complete implementation which support plotting with native datetime objects import matplotlib.units as units import matplotlib.dates as dates import matplotlib.ticker as ticker import datetime class DateConverter(units.ConversionInterface): @staticmethod def convert(value, unit, axis): 'convert value to a scalar or array' return dates.date2num(value) @staticmethod def axisinfo(unit, axis): 'return major and minor tick locators and formatters' if unit!='date': return None majloc = dates.AutoDateLocator() majfmt = dates.AutoDateFormatter(majloc) return AxisInfo(majloc=majloc, majfmt=majfmt, label='date') @staticmethod def default_units(x, axis): 'return the default unit for x or None' return 'date' # finally we register our object type with a converter units.registry[datetime.date] = DateConverter() iÿÿÿÿN(titerablet is_numliketis_string_liketAxisInfocBs&eZdZdddddd„ZRS(s>information to support default axis labeling and tick labelingcCs1||_||_||_||_||_dS(s  majloc and minloc: TickLocators for the major and minor ticks majfmt and minfmt: TickFormatters for the major and minor ticks label: the default axis label If any of the above are None, the axis will simply use the default N(tmajloctminloctmajfmttminfmttlabel(tselfRRRRR((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyt__init__2s    N(t__name__t __module__t__doc__tNoneR (((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyR0stConversionInterfacecBsJeZdZed„ƒZed„ƒZed„ƒZed„ƒZRS(s‚ The minimal interface for a converter to take custom instances (or sequences) and convert them to values mpl can use cCsdS(sCreturn an units.AxisInfo instance for axis with the specified unitsN(R(tunittaxis((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pytaxisinfoGscCsdS(s8return the default unit for x or None for the given axisN(R(txR((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyt default_unitsLscCs|S(sÙ convert obj using unit for the specified axis. If obj is a sequence, return the converted sequence. The ouput must be a sequence of scalars that can be used by the numpy array layer ((tobjRR((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pytconvertQscCs7t|ƒox#|D] }t|ƒSWn t|ƒSdS(s® The matplotlib datalim, autoscaling, locators etc work with scalars which are the units converted to floats given the current unit. The converter may be passed these floats, or arrays of them, even when units are set. Derived conversion interfaces may opt to pass plain-ol unitless numbers through the conversion interface and this is a helper function for them. N(RR(Rtthisx((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyRZs (R R R t staticmethodRRRR(((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyRBs  tRegistrycBs eZdZd„Zd„ZRS(s2 register types with conversion interface cCsti|ƒh|_dS(N(tdictR t_cached(R ((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyR os cCsÆt|ƒpdSd}t|ddƒ}|dj o|i|ƒ}n|djokt|ƒo^t|ƒ oPt|tiƒo|i ti jodSx"|D]}|i |ƒ}|SWn|S(s3get the converter interface instance for x, or Nonet __class__N( tlenRtgetattrtgetRRt isinstancetnptndarraytdtypetobjectt get_converter(R Rt convertertclassxR((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyR%ss  (& (R R R R R%(((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyRks ((( R tnumpyR!tmatplotlib.cbookRRRRRRRtregistry(((s6/usr/lib64/python2.6/site-packages/matplotlib/units.pyt,s  )'