You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the docs aren't especially clear either on this being a property:
Axes.format_xdata(self, x)
Return x formatted as an x-value.
This function will use the fmt_xdata attribute if it is not None, else will fall back on the xaxis major formatter.
To be consistent with the API, I'm proposing properties/functions of the form:
In the Date tick labels example, the code for setting the cursor coords message overwrites the default formatters:
This creates confusion because runs counter to how basically everything else in matplotlib is set via setter but especially the formatters:
and the docs aren't especially clear either on this being a property:
To be consistent with the API, I'm proposing properties/functions of the form:
ax.{x,y}data_formatter(mdates.DateFormatter('%Y-%m-%d'))
ax.data_formatter(which=(x,y, both), mdates.DateFormatter('%Y-%m-%d'))
The text was updated successfully, but these errors were encountered: