Re: [Matplotlib-users] strange behaviour with sankey diagram (maybe a bug)

2012-05-24 Thread Giovanni
martedì 22 maggio 2012, 18:33, Kevin Davies: > Hi Giovanni, > Do the labels still overlap to the same extent? As far is the Sankey > code is concerned, the "center" is the center of the rectangle from > which the paths diverge. That isn't necessarily the center of the > bounding box that e

Re: [Matplotlib-users] strange behaviour with sankey diagram (maybe a bug)

2012-05-22 Thread Giovanni
lunedì 21 maggio 2012, 21:30, Kevin Davies: > Hi Giovanni, > > Thanks for your report. It looks like in this case the "dip" in the > large, single input caused the input label to be at the center of the > diagram. You might want to try increasing the trunklength > parameter. Maybe someone h

Re: [Matplotlib-users] strange behaviour with sankey diagram (maybe a bug)

2012-05-21 Thread Kevin Davies
Hi Giovanni, Thanks for your report. It looks like in this case the "dip" in the large, single input caused the input label to be at the center of the diagram. You might want to try increasing the trunklength parameter. Maybe someone has ideas to make this sort of thing more automati

[Matplotlib-users] strange behaviour with sankey diagram (maybe a bug)

2012-05-21 Thread Giovanni
Hi all! I'm experiencing a strange behaviour with sankey diagram. As you can see from the attached image, the patch label it's not positioned in the middle of the patch (as it should), but it's plotted over the first label... The code is attached also. Any hints? Thanks, Giovanni#!/usr/bin/en