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.

Description

librosa has some sensible default settings for plotting in notebook environments, but maybe different defaults are appropriate for printed material. Would it make sense to add some kind of static rcParams type feature, as in matplotlib or seaborn, which would allow a user to set the style at runtime (or in an rc file)? Something like

librosa.display.style('paper')

would change all the cmap settings to gray_r, for instance.

Would this be worth having? Should we try to piggyback off matplotlib styles? What else would make sense to configure for different environments?

Anyone have opinions on this? @justinsalamon maybe?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bmcfeecommented, Jul 6, 2022

Closing this issue out - #1524 will take it forward.

1reaction
bmcfeecommented, Jun 28, 2018

it might be best to be on the nose with the naming, e.g. bw.

I like that idea. The flip side of it is consistency with existing conventions in matplotlib/seaborn, but we can sort that out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use multiple monitors in Windows - Microsoft Support
In Display settings, select and drag the display to where you want. Do this with all the displays you want to move. When...
Read more >
Windows 10 Display Settings superguide: How to adjust every ...
Settings > System > Display > Scale and layout ... This is where you can adjust your display's resolution, orientation, and scaling. At...
Read more >
Manage screen & display settings on a Pixel phone
Open your phone's Settings app. · Tap Display. · Tap the setting that you want to change. To see more settings, tap Advanced....
Read more >
Windows 10 Beginner: How to Adjust Display Settings
Some of the features and functions, for adjusting your on-screen settings in Windows 10 have been modernized. They're located in the new Windows ......
Read more >
How do you change your display settings in Windows?
Open Display Settings by clicking the Start button , clicking Control Panel, clicking Appearance and Personalization, clicking Personalization, and then ...
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