在Enthought的Chaco中,TimeFormatter该类用于格式化刻度标签的时间字符串.有没有办法指定时间格式(类似time.strftime()).
TimeFormatter
time.strftime()
源代码现在硬编码显示美国风格(MMDD)的月份和日期时的格式.我想添加一些灵活性,以便时间/日期格式提示将以某种方式传递给TimeFormatter
我不知道有什么好办法(除了更改源代码本身(TimeFormatter._formats字典))
TimeFormatter._formats
python chaco
chaco ×1
python ×1