def _create_top_container(self): plot = ScalyPlot( padding=50, fill_padding=True, bgcolor=self.bgcolor, use_backbuffer=True, ) return plot
def _create_top_img_container(self): plot = ScalyPlot( padding=50, fill_padding=True, bgcolor=self.bgcolor, use_backbuffer=True, default_origin=self.image_default_origin, ) return plot
def _plot_default(self): x = asarray(date_dt_list_1) y = asarray(float_list_1) plotdata = ArrayPlotData(x=x, y=y) plot = ScalyPlot(plotdata, linear_scale_factory=CalendarScaleSystem) plot.plot(("x", "y"), type="line", color="blue") plot.title = "demo" return plot
def _component_default(self): plot = ScalyPlot(self.plot_data) return plot