JetBrains / JetBrains/lets-plot

`angle` argument to `element_text()` does not work for `label_text`

Open
#1,474 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.8k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Example:

```python
ggplot() + \
geom_crossbar(ymin=-1, ymax=1, labels=layer_labels().line("Text")) + \
theme(label_text=element_text(size=30, angle=45))
```

Output:

Output

Expected:

Expected

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by running the provided Python plotting example and compare the rendered label with the expected image; then trace the label_text rendering path. Done means element_text(angle=45) visibly rotates the label as shown in the expected output.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.