Looking through the PIL documentation, it appears there is no way to specify a line width for an ellipse <https://pillow.readthedocs.io/en/5.0.0/reference/ImageDraw.html#PIL.ImageDraw.PIL.ImageDraw.ImageDraw.ellipse> .
There is a discussion on StackOverflow <https://stackoverflow.com/questions/32504246/draw-ellipse-in-python-pil-with-line-thickness> about drawing a bunch of ellipses at the same focal points, but with slightly varying diameter, in order to get the effect of a fat line. But that's all I can think of. -tk On Thu, Jan 18, 2018 at 11:34 AM, Jerry Keefe <[email protected]> wrote: > I haven't been able to get rose_line_width = 1,,3 or even 4 to work. No > effect on vector plot graphic with typo correction and even changing > default to 3 > self.rose_line_width = int(config_dict.get('rose_line_width', > 3)) > and from skin.conf > # Options for the compass rose, used for progressive vector plots > rose_label = N > rose_label_font_path = /Library/Fonts/Arial Bold.ttf > rose_label_font_size = 12 > rose_label_font_color = 0x000000 > rose_width = 105 > rose_height = 105 > rose_diameter = 50 > rose_line_width = 4 > Incidentally, I'm running Python 2.7.10, the native version for mac OS > 10.13.2 > > On Wednesday, January 17, 2018 at 2:49:08 PM UTC-8, Jerry Keefe wrote: > >> running weewx 3.8.0 on mac OS high sierra with Vantage Pro2 >> As I increase the anti_alias setting from 1 to 3, the compass rose on the >> progressive vector wind plot gets ever smaller. Unreadable at anti_alias = >> 3. Increasing the font size does not help much. The N may get bigger, but >> the circle and arrow remain tiny. Compass rose size varies inversely with >> anti_aliasing value. >> >> Any ideas how I can increase the size of the compass rose in this plot? >> >> # Setting to 2 or more might give a sharper image with fewer jagged >> edges. >> anti_alias = 1 >> >> top_label_font_path = /Library/Fonts/Arial Bold.ttf >> # top_label_font_path = /usr/share/fonts/truetype/free >> font/FreeMonoBold.ttf >> top_label_font_size = 10 >> >> unit_label_font_path = /Library/Fonts/Arial Bold.ttf >> unit_label_font_size = 10 >> unit_label_font_color = 0x000000 >> >> bottom_label_font_path = /Library/Fonts/Arial Bold.ttf >> bottom_label_font_size = 12 >> bottom_label_font_color = 0x000000 >> bottom_label_offset = 3 >> >> axis_label_font_path = /Library/Fonts/Arial Bold.ttf >> axis_label_font_size = 10 >> axis_label_font_color = 0x000000 >> >> # Options for the compass rose, used for progressive vector plots >> rose_label = N >> rose_label_font_path = /Library/Fonts/Arial Bold.ttf >> rose_label_font_size = 10 >> rose_label_font_color = 0x000000 >> >> # Default colors for the plot lines. These can be overridden for >> # individual lines using option 'color' >> chart_line_colors = 0xb48242, 0x4242b4, 0x42b442 >> >> # Type of line. Only 'solid' or 'none' is offered now >> line_type = 'solid' >> >> -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
