grantmcdermott / grantmcdermott/tinyplot

Enable tinyplot(..., las = 1)

Open
#353 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
427
Forks
25
Avg merge
22h 54m
Merged PRs (30d)
28

Description

Currently, setting las = 1 only works via tpar() or a theme but not as an argument (prompted by #350):

plot(1:10, las = 1)
tinyplot(1:10, las = 1)

plot vs tinyplot with las = 1

Not sure whether we would need to make this an explicit argument of tinyplot() to handle it appropriately. Or whether it can still be handled by passing ... somewhere else where it isn't processed currently.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the tinyplot() entry point and trace where the las argument is handled or passed through ...; compare it with the plot(1:10, las = 1) example. Done means tinyplot(1:10, las = 1) applies the same label orientation as base plot, without requiring tpar() or a theme.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.