Skip to content

Improve use of levels and chars in ASCII-generated outpout #17

Description

@oubiwann

Right now, data that could be derived is manually (over-)specified when using ASCII output. In ./examples/ascii-levels.rs, take a look at the call to ASCIIMapper::new and the levels options that are defined later. min, max, and steps could be derived from what is in ASCIIMapper.

Also, the levels options are what is used to make a call to the FloatIterator to generate a range; if the range given is complete in the ASCIIMapper, we don't need to do that ... we can just pull from the mapper ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions