Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20755cf

Browse files
committed
Bugfig for last commit. Don't do simplifications on filled paths
ever. (Until we can work out the difficulties). svn path=/trunk/matplotlib/; revision=4876
1 parent 90e5384 commit 20755cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_backend_agg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ RendererAgg::draw_path(const Py::Tuple& args) {
887887
trans *= agg::trans_affine_scaling(1.0, -1.0);
888888
trans *= agg::trans_affine_translation(0.0, (double)height);
889889
bool snap = should_snap(path, trans);
890-
bool simplify = should_simplify(path);
890+
bool simplify = should_simplify(path) && !face.first;
891891

892892
transformed_path_t tpath(path, trans);
893893
simplify_t simplified(tpath, snap, simplify, width, height);

0 commit comments

Comments
 (0)