What is the best way to run python codeblocks and generate plots in Hugo

Maybe Codebraid will fit your use-case.