Hello everyone, I have a question regarding the formatting of ticks in a curved coordinate system. To create my plots I am useing the mpl_toolkits.axisartist.floating_axes.GridHelperCurveLinear() function. This works quite well but I have difficulties with formatting the axis. I am working in a polar coordinate system. To format the longitudinal axis I found the function mpl_toolkits.axisartist.angle_helper.FormatterDMS() and it works good. But I want to chance the formatting of the radius too. For this I need to pass something to the kwargs tick_formatter2 of the function GridHelperCurveLinear but I do not know what.
Could you give me some advice? Regards Stefan Here is the code I use: import matplotlib.pyplot as plt import mpl_toolkits.axisartist.floating_axes as floating_axes from matplotlib.projections import PolarAxes fig = plt.figure() tr = PolarAxes.PolarTransform() grid_helper = floating_axes.GridHelperCurveLinear( tr, extremes=( 1, 2, 1000, 2000 ), tick_formatter1 = None, tick_formatter2 = None ) ax1 = floating_axes.FloatingSubplot( fig, 111, grid_helper=grid_helper ) fig.add_subplot( ax1 ) ax1.grid( True ) plt.show() ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users