mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear #
- mpl_toolkits.axisartist.grid_helper_curvelinear类。GridHelperCurveLinear ( aux_trans , extreme_finder = None , grid_locator1 = None , grid_locator2 = None , tick_formatter1 = None , tick_formatter2 = None ) [来源] #
-
aux_trans :从源(曲线)坐标到目标(直线)坐标的变换。MPL 变换的一个实例(应该定义逆变换)或两个可调用对象的元组,它们定义了变换及其逆变换。可调用对象需要使用源坐标数组的两个参数,并且应该返回两个目标坐标。
例如,
x2, y2 = trans(x1, y1)
- get_gridlines ( which = 'major' , axis = 'both' ) [来源] #
返回网格线列表作为路径列表(点列表)。
其中:“主要”或“次要” 轴:“两者”、“x”或“y”