GeezerVison is showing github.com — FigureCanvasMac.flush_events() raises NotImplementedError · Issue #197 · matplotlib/matplotlib
FigureCanvasMac.flush_events() raises NotImplementedError #197Activitydmcdougall commented on Sep 25, 2012 mdehoon commented on Dec 12, 2012 Actually why is a flush_events method needed? It is not used in the matplotlib source code. Perhaps it is better to remove flush_events altogether? efiring commented on Jul 22, 2013 @mdehoon, flush_events dates back to February, 2008 as part of the official API for gui backends, so even though we don't use it internally or in examples, we can't just rip it out. It appears to be carefully implemented in the other gui backends, and at least for them it seems to be a reasonable method to have available. Therefore I think that adding it to the macosx backend as a no-op (if indeed there is not equivalent functionality available) would be the simplest way to solve the problem and close this issue. mdehoon commented on Jul 22, 2013 OK, I'll add it then. This can be done on MacOSX using NSView displayIfNeeded.
If somebody could please accept pull request #2233 , then I'll create a new pull request for flush_events. efiring commented on Jul 23, 2013 On 2013/07/22 1:49 PM, mdehoon wrote:
If somebody could please accept pull request #2233
#2233 , then I'll
create a new pull request for flush_events.
Done. mdehoon commented on Jul 23, 2013 @efiring Thanks. Pull request #2245 adds a flush_events method to the MacOSX backend. dmcdougall commented on Aug 18, 2013
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|