Re: [Veusz-discuss] Changing default color list?

2016-11-16 Par sujet Jeremy Sanders

Hi Josh

On 16/11/16 19:36, Josh Taillon wrote:


Is there any way to easily change the default color list in Veusz? I can
see that the list is defined in setting.py
(https://github.com/jeremysanders/veusz/blob/master/veusz/setting/setting.py#L1374),
but I'm not sure if there's any convenient way to override this.


I'm planning to add some colour theme capability some time in the future.

At the moment, the only way which might change this would be to add a 
plugin to hack the values, e.g.


import veusz.setting
veusz.setting.Color._colors = []

(this can go in a python text file and can be loaded by adding it in the 
setting dialog box).


I haven't tested this idea, though, and it'll break if the code changes.

Best wishes

Jeremy


___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


[Veusz-discuss] Changing default color list?

2016-11-16 Par sujet Josh Taillon
Hello,

Is there any way to easily change the default color list in Veusz? I can
see that the list is defined in setting.py (
https://github.com/jeremysanders/veusz/blob/master/veusz/setting/setting.py#L1374),
but I'm not sure if there's any convenient way to override this. It would
be nice to be able to have a custom list of colors load by default. Running
from the windows installation, there's no way to modify the source
(although running straight from the python code, changing the list would be
simple, I suppose).

Thanks,
Josh
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss