question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow flexible placement of period label

See original GitHub issue

It’d be neat to be able to select the placement of the period (i.e. year) label - at present it seems to be fixed to bottom-right or top-right. One option could be to have the period contained in the title of the chart


I think that labelling takes place here: https://github.com/JackMcKew/pandas-alive/blob/e5f5feda5957362d948a7bd8ad63d927d7e6d50c/pandas_alive/charts.py#L274-L286

which in turn uses self.x_label and self.y_label which are set here

https://github.com/JackMcKew/pandas-alive/blob/e5f5feda5957362d948a7bd8ad63d927d7e6d50c/pandas_alive/charts.py#L128

which come from this function:

https://github.com/JackMcKew/pandas-alive/blob/ac770eecb2173e2d06fa852b0d65c03674f18b98/pandas_alive/charts.py#L169-L176

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JackMcKewcommented, Jul 20, 2021

Hi @robbibt, from memory I don’t believe this would be supported for Geospatial plots, would you mind opening a new issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the format of data labels in a chart - Microsoft Support
To go to the appropriate area, click one of the four icons (Fill & Line, Effects, Size & Properties (Layout & Properties in...
Read more >
Threading Your Way Through the Labeling Requirements ...
Marketers now have greater flexibility in marketing their products using certain hang-tags that need not disclose the product's full fiber ...
Read more >
Guidance for Industry - Labeling OTC Human Drug Products
We allow flexibility in the placement of this statement on the package and do not require that it be included within the Drug...
Read more >
Pesticide Labeling Questions & Answers | US EPA
Historically, EPA has allowed the claim "new" to be used on labeling for a period of six months following approval of a new...
Read more >
Typical use cases of flexbox - CSS: Cascading Style Sheets
In this case we would use the flex properties to allow items to grow and shrink in proportion to one another as described...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found