Matplotlib 3.0 - axisartist.axislines.Axes
mpl_toolkits.axisartist.axislines.Axes

mpl_toolkits.axisartist.axislines.Axes
-
class mpl_toolkits.axisartist.axislines.Axes(*args, grid_helper=None, **kwargs)
[source] -
मामले:
matplotlib.axes._axes.Axes
-
class AxisDict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
class AxisDict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
[source] -
मामले:
dict
-
axis
-
कुछ अक्ष गुण प्राप्त करने या सेट करने के लिए सुविधा विधि।
कॉल हस्ताक्षर:
xmin, xmax, ymin, ymax = axis() xmin, xmax, ymin, ymax = axis(list_arg) xmin, xmax, ymin, ymax = axis(string_arg) xmin, xmax, ymin, ymax = axis(**kwargs)
पैरामीटर: -
v : List[float] or one of the strings listed below.
-
वैकल्पिक स्थिति-केवल तर्क
यदि कोई सूची है, तो अक्ष डेटा सीमाएँ सेट करें। यदि एक स्ट्रिंग:
मूल्य विवरण 'पर' अक्ष रेखा और लेबल चालू करें। 'बंद' अक्ष रेखा और लेबल बंद करें। 'बराबरी का' अक्ष सीमा को बदलकर समान स्केलिंग सेट करें (जैसे, हलकों को गोलाकार बनाएं)। 'छोटा' प्लॉट बॉक्स के आयामों को बदलकर, समान स्केलिंग सेट करें (जैसे, हलकों को गोलाकार बनाएं)। 'तंग' सभी डेटा दिखाने के लिए केवल बड़ी सीमा निर्धारित करें। 'ऑटो' स्वचालित स्केलिंग (डेटा के साथ प्लॉट बॉक्स भरें)। 'सामान्य' 'ऑटो' के समान; पदावनत। 'छवि' अक्ष के साथ 'स्केल' डेटा सीमा के बराबर है। 'वर्ग' वर्ग की साजिश; 'स्केल्ड' के समान, लेकिन शुरुआत में xmax-xmin = ymax-ymin
मजबूरxmax-xmin = ymax-ymin
। -
emit : bool, optional
-
यदि पर्यवेक्षकों को अक्ष सीमा परिवर्तन के बारे में सूचित किया जाता है, तो set_ {x, y} लिम फ़ंक्शंस में पास किया जाता है।
-
xmin, ymin, xmax, ymax : float, optional
-
अक्ष सीमा निर्धारित की जानी है।
यह दिखाता है: -
xmin, xmax, ymin, ymax : float
-
अक्ष की सीमा।
यह भी देखें
matplotlib.axes.Axes.set_xlim
,matplotlib.axes.Axes.set_ylim
-
-
cla()
[source] -
वर्तमान अक्षों को साफ़ करें।
-
draw(renderer, inframe=False)
[source] -
सब कुछ ड्रा (भूखंड लाइनों, कुल्हाड़ियों, लेबल)
-
get_children()
[source] -
बाल कलाकारों की सूची लौटाएं
-
get_grid_helper()
[source]
-
get_tightbbox(renderer, call_axes_locator=True)
[source] -
अक्ष के तंग बाउंडिंग बॉक्स को वापस करें, जिसमें अक्ष और उनके सज्जाकार (xlabel, शीर्षक, आदि) शामिल हैं।
कलाकार जिनके पास कलाकार हैं।
artist.set_in_layout(False)
बॉक्स में शामिल नहीं हैं।पैरामीटर: -
renderer : RendererBase instance
-
रेंडरर जिसका उपयोग
fig.canvas.get_renderer()
बनाने के लिए किया जाएगा (यानीfig.canvas.get_renderer()
) -
bbox_extra_artists : list of Artist or None
-
तंग बाउंडिंग बॉक्स में शामिल करने के लिए कलाकारों की सूची। यदि
None
(डिफ़ॉल्ट), तो कुल्हाड़ियों के सभी कलाकार बच्चों को तंग बाउंडिंग बॉक्स में शामिल किया गया है। -
call_axes_locator : boolean (default True)
-
यदि call_axes_locator
False
, तो यह_axes_locator
विशेषता को कॉल नहीं करता है, जिसे सही बाउंडिंग बॉक्स प्राप्त करना आवश्यक है।call_axes_locator=False
का उपयोग किया जा सकता है यदि कॉलर केवल कुल्हाड़ियों के बॉक्स की तुलना में तंग बॉक्स के सापेक्ष आकार में रुचि रखता है।
यह दिखाता है: -
bbox : BboxBase
-
फॉक्स पिक्सेल निर्देशांक में बाउंडिंग बॉक्स।
-
-
grid(b=None, which='major', axis='both', **kwargs)
[source] -
ग्रिडलाइन्स को टॉगल करें, और वैकल्पिक रूप से लाइनों के गुणों को निर्धारित करें।
-
invalidate_grid_helper()
[source]
-
new_fixed_axis(loc, offset=None)
[source]
-
new_floating_axis(nth_coord, value, axis_direction='bottom')
[source]
-
new_gridlines(grid_helper=None)
[source] -
नया GridlineCollection उदाहरण बनाएँ और वापस लौटाएँ।
जो : "प्रमुख" या "लघु" अक्ष : "दोनों", "x" या "y"
-
toggle_axisline(b=None)
[source]
-