Skip to content

Erroneous extra -s and/or |s in axes #3

@raiph

Description

@raiph

Problem

Erroneous extra -s and/or |s in axes.

cf https://www.reddit.com/r/rakulang/comments/wmm72z/just_reproducing/

I duplicated reddit user Sebastien_Dorey_SDO's results using the module from the current github repo's master branch.

Expected

text-list-plot 33 12 21 10 3 4

would yield something like:

+---+-----------+-----------+------------+-----------+-----------+---+
+                                                                    +  35.00
|   *                                                                |
+                                                                    +  30.00
|                                                                    |
+                                                                    +  25.00
|                                                                    |
+                           *                                        +  20.00
|                                                                    |
+                                                                    +  15.00
|               *                                                    |
+                                        *                           +  10.00
|                                                                    |
+                                                                    +   5.00
|                                                    *           *   |
+---+-----------+-----------+------------+-----------+-----------+---+
    0.00        1.00        2.00         3.00        4.00        5.00

Actual

Erroneous extra -s and/or |s in axes. See reddit post. I see an additional (12th) - between 2.00 and 3.00 on the x-axis (not easy to spot!) and several easy to spot additional |s in the y-axis.

FYI about a "user" and debugging the problem

It seems like a nice module.

I tried to debug the problem. My hope was I could pleasantly surprise you with a PR instead of (or at least additional to) filing an issue. I did make progress -- I suspect the issue is in rescale, right? -- but it took me uncomfortably long to get there (a good half hour) when I suspect you would have known where to look in seconds. I'm not sure if that's helpful info but I thought it worth mentioning given that I did invest that time even if it ended up being unproductive.

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