Skip to content

Trivial docfix #657

Closed
Closed

Description

@bsdphk

This is too trivial for me to bother going through the pull-request dance:

>>> help(imageio.imwrite)
Help on function imwrite in module imageio.core.functions:

imwrite(uri, im, format=None, **kwargs)
    imwrite(uri, im, format=None, **kwargs)

    Write an image to the specified file.

    Parameters
    ----------
    uri : {str, pathlib.Path, file}
        The resource to write the image to, e.g. a filename, pathlib.Path
        or file object, see the docs for more info.
    im : numpy.ndarray
        The image data. Must be NxM, NxMx3 or NxMx4.
    format : str
        The format to use to read the file. By default imageio selects
        the appropriate for you based on the filename and its contents.

Note: It says "format used to read the file"

PS: Thanks for FOSS'ing!

Activity

  1. FirefoxMetzger commented on Jul 12, 2021

    @FirefoxMetzger
    Contributor

    Thanks for reporting

    @almarklein I think we can fix this separately or add it into #648 .

    PS: @bsdphk Thanks for using imageio :)

  2. almarklein commented on Jul 12, 2021

    @almarklein
    Member

    Yes, probably easiest to just add to #648.

    @bsdphk for the record, I've found that trivial fixes like these can be done relatively easily via the the Github UI (no need to make a local clone and use the command-line).

  3. linked a pull request that will close this issueModernizing the docs #648on Jul 12, 2021
  4. FirefoxMetzger commented on Jul 12, 2021

    @FirefoxMetzger
    Contributor

    Will be fixed in #648 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions