Пример #1
0
 def _plot(self, x_title):
     plot = DateTimeLine(
         legend_at_bottom=True,
         title=self.hostname,
         x_label_rotation=35,
         x_value_formatter=lambda dt: dt.strftime('%Y.%m.%d %H:%M:%S'))
     plot.x_title = x_title
     return plot
Пример #2
0
 def _plot(self, x_title):
     plot = DateTimeLine(
         legend_at_bottom=True,
         title=self.hostname,
         x_label_rotation=35,
         x_value_formatter=lambda dt: dt.strftime('%Y.%m.%d %H:%M:%S')
     )
     plot.x_title = x_title
     return plot