Skip to content

returning a TCanvas from plot_hist() does not work #11

@aminnj

Description

@aminnj

primitives are deleted when out of scope in python, so returning a TCanvas from functions will not work properly (some things are retained, and others disappear). Suggest doing something like what is recommended in https://root-forum.cern.ch/t/switch-off-python-memory-management-alltogether/9076/4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions