g-battaglia / kerykeion

Data driven Astrology 💫
Kerykeion is a python library for astrology. It can generate SVG charts and extract all data about a birthchart, a synastry chart and a transit chart.
https://kerykeion.net
GNU Affero General Public License v3.0
298 stars 103 forks source link

How to save SVG file to other directory ? #24

Closed masbenny closed 2 years ago

masbenny commented 2 years ago

result from example code:

root@racknerd-37dc98:/home/benny/khirito# python3.9 singlesvg.py Semarx birth location: Surabaya, -7.24917, 112.75083 SVG Generated Correctly in: /root 19

how to change save file to other directory?

g-battaglia commented 2 years ago

Just pass a new_output_directory

name = MakeSvgInstance(first, chart_type="Composite",
                           second_obj=second, lang="IT", template_type="basic", new_output_directory="test")