visuals.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:pyDataView 作者: edwardsmith999 项目源码 文件源码
def redraw_plot(self):
        ax, data = self.get_plot_data()
        xlabel = self.field.axislabels[self.normal] 
        ylabel = self.fieldname + "_" + self.field.labels[self.component] 
        self.pyplotp.redraw_plot(ax, data, xlabel, ylabel)

        # Set min/max text values
        self.minp, self.maxp = self.pyplotp.ax.get_ylim()
        self.choosep.minpspin.SetValue(str(round_to_n(self.minp,3)))
        self.choosep.maxpspin.SetValue(str(round_to_n(self.maxp,3)))
        #self.post_string_event(wx.EVT_TEXT_ENTER,self.round_to_n(self.minp,6),self.choosep.minpspin)
        #self.post_string_event(wx.EVT_TEXT_ENTER,self.round_to_n(self.maxp,6),self.choosep.maxpspin)
        self.Refresh()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号