summaryrefslogtreecommitdiff
path: root/graphics/gmic
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-12-30 21:20:13 +0000
committeradam <adam@pkgsrc.org>2021-12-30 21:20:13 +0000
commit99dea9b280ffdce0580b05d2a83bd18d3f0b269b (patch)
treed164115cda02bac2c681259ec29dc657db417a0b /graphics/gmic
parent1ef19295fd94451e93c2f13c1e3eb62a54d3e1da (diff)
downloadpkgsrc-99dea9b280ffdce0580b05d2a83bd18d3f0b269b.tar.gz
py-graphviz: updated to 0.19.1
Version 0.19.1 Fix undecoded CalledProcessError.stdout and .stderr when .pipe() call with an encoding different from self.encoding fails. Fix missing project root conftest.py in source distribution. Extend examples/graphviz-escapes.ipynb. Improve test coverage. Increase build scripts verbosity. Version 0.19 Add PendingDeprecationWarning to calls using positional arguments that will be deprecated in a later version. The future API will allow from one to three positional arguments depending on the method or function. Keyword-only arguments where not around when this library was created. This signals dependents and in general users to start updating or pinning to the wanted version (or range). Crucially, this helps new users with a safer API that allows to avoid some common mistakes. Warnings reported in tests. Add keyword-only outfile argument to .render() and stand-alone graphviz.render(). Allows to override the rendered output file name: .render(filename='spam.gv', outfile='spam.pdf') Allows to derive the format and the filename from the rendered outfile name: .render(outfile='spam.svg') Tries to infer default format from the outfile suffix. You can override by setting format explicitly. Warns with a graphviz.FormatSuffixMismatchWarning if there is a mismatch between given format and the inferred format from outfile suffix. Warns with a graphviz.UnknownSuffixWarning if format is given and outfile uses a suffix that cannot be mapped to a supported format. Add graphviz.set_jupyter_format() to set the output format used by the Jupyter visualization of graphviz.Graph, graphviz.Digraph, and graphviz.Source (supported formats: 'svg', 'png', 'jpeg'). Replace _repr_svg_() internally with _repr_mimebundle_(include, exclude) returning a mimebundle {'image/svg+xml', '<?xml version=...'} by default. Adds support for IPython.display.display_png(). Adds support for IPython.display.display_jpeg(). Add keyword-only raise_if_result_exists argument to .render() and stand-alone graphviz.render(). Raises graphviz.FileExistsError if the rendered file already exists. Add support to for .render() and stand-alone .render() to overwrite the input source file with the rendered output when using the outfile keyword-only argument. This probably only makes sense for text-based Graphviz formats such as dot or plain. You need to specify overwrite_filepath=True to enable this. Add graphviz.CalledProcessError derived from subprocess.CalledProcessError so users can choose either one in their excepts. Add graphviz.FileExistsError derived from FileExistsError so users can choose either one in their excepts. Add --only-exe flag to run-tests.py (overrides --skip-exe). Add --no-open and --open flags to build-docs.py. Add lint-code.py and use in build job. Increase doctest coverage. Extend type annotations. Accept path-like objects for filename, directory, and filepath. Extend and improve documentation. Improve build tests.
Diffstat (limited to 'graphics/gmic')
0 files changed, 0 insertions, 0 deletions