Use svg.render_document() instead
This commit is contained in:
parent
8d7a0cbfba
commit
2918a34621
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class EquirectMap():
|
|||
rect.width = width
|
||||
rect.height = height
|
||||
|
||||
svg.render_layer(cr, None, rect)
|
||||
svg.render_document(cr, rect)
|
||||
|
||||
def draw_base_map_from_file(self,
|
||||
cr: cairo.Context,
|
||||
|
|
Loading…
Add table
Reference in a new issue