Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa0064 commit 342007cCopy full SHA for 342007c
1 file changed
src/_backend_agg.cpp
@@ -650,7 +650,7 @@ RendererAgg::draw_markers(const Py::Tuple& args)
650
// Deal with the difference in y-axis direction
651
marker_trans *= agg::trans_affine_scaling(1.0, -1.0);
652
trans *= agg::trans_affine_scaling(1.0, -1.0);
653
- trans *= agg::trans_affine_translation(0.0, (double)height);
+ trans *= agg::trans_affine_translation(0.5, (double)height+0.5);
654
655
PathIterator marker_path(marker_path_obj);
656
transformed_path_t marker_path_transformed(marker_path, marker_trans);
0 commit comments