Closed TheBigFudge closed 7 months ago
@TheBigFudge if you produce a figure where the buses are so big that the last plotted bus overlay all other plottings, than there is just one bus. Try to adjust the size of the buses by, for example
bc = plot.create_bus_collection(net, net.bus.index, size=0.0004)
@SteffenMeinecke thanks for the reply! Adding the size parameter with a smal value fixes the collection plottings for me. Thanks you very much. even if i don't quite understand why you have to scale down the size of the nodes manually. shouldn't this happen automatically as with other networks (e.g. MV Oberrhein)?
@TheBigFudge automatic scaling is done in pp.plotting.simple_plot()
but if you create a customized plotting collection than you need to take care about the sizes, colors, ...
@TheBigFudge automatic scaling is done in
pp.plotting.simple_plot()
but if you create a customized plotting collection than you need to take care about the sizes, colors, ...
thanks for the explanation :)
Hey,
i'm stated working with the simbench model. Thank you for all the hard work in creating this package! I have noticed a incompatibility issue, when creating plots with collections (
pandapower.plotting.draw_collections
).It seems there is a problem when plotting buses, loads or sgen, so all
PatchCollection
elements. PlottingLineCollection
Elements is working, but as soon as i plot node elements it seems like the coords are not passed correctly. For example when plotting all busses i only get one big circle as plot.Here is a minimal example code:
This seems to happen with all networks (i tested several LV and MV networks). When changing the net to mv_overrhein everything is working as intended.