Skip to content

Reorder matplotlib backend to run figure.draw() before self.send_deepforge_update() #1799

@umesh-timalsina

Description

@umesh-timalsina

Might be helpful for #1745, #1747

You probably want to re-order

self.send_deepforge_update()
renderer = RendererTemplate(self.figure.dpi)
self.figure.draw(renderer)
to run figure.draw() first as that will trigger various draw-time things (like limits) that you are capturing.

Originally posted by @tacaswell in matplotlib/matplotlib#18022 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    job executionjob feedbackGraphs, images, and other feedback generated during job execution.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions