Extending patches.Rectangle class

Jae-Joon Lee <lee.j.joon@...83...> writes:

It depends on your mileage.

However, a patch in matplotlib usually means a closed path. If you add
additional lines, you need to be careful not to mess the filling of
the rectangle.

I guess it would better to simply use separate artists for additional
lines you want. You may create a container artist for patches and
lines if you want.



Thanks, that's sounds like a better way indeed. I'll work in this direction.