Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
hauschke
@hauschke@mastodon.social  ·  activity timestamp 2 months ago

I defeated you, #matplotlib

(With a little help from Stackoverflow... https://stackoverflow.com/questions/15740682/wrapping-long-y-labels-in-matplotlib-tight-layout-using-setp).

Stack Overflow

Wrapping long y labels in matplotlib tight layout using setp

I've been trying to wrap text for long labels in my code. I tried the textwrap method suggested earlier here, but my code defines yticklabels through an array imported from a csv using the pyplot.s...
  • Copy link
  • Flag this post
  • Block
@frueheneuzeit
@stefan_hessbrueggen@fedihum.org replied  ·  activity timestamp 2 months ago

@hauschke suggestions for seaborn: https://stackoverflow.com/questions/45013645/how-to-handle-long-axis-labels-with-seaborn

  • Copy link
  • Flag this comment
  • Block
hauschke
@hauschke@mastodon.social replied  ·  activity timestamp 2 months ago

@stefan_hessbrueggen

Oh, nice! I won't touch what I got now, but I will keep this in mind for the next project.

Hm. Maybe I touch it again, it really looks neat.

Hm, again. I will need to discuss this with @KaliuzhnaN

  • Copy link
  • Flag this comment
  • Block
@frueheneuzeit
@stefan_hessbrueggen@fedihum.org replied  ·  activity timestamp 2 months ago

@hauschke Seaborn is basically an abstraction of matplotlib with nicer presets. @KaliuzhnaN

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login