daxigua Posted December 7, 2022 Share Posted December 7, 2022 Quote Link to comment Share on other sites More sharing options...
GarryP Posted December 7, 2022 Share Posted December 7, 2022 Welcome to the forums @daxigua This is probably related to (or the same as) a known issue. The linked thread below has a ‘workaround’ which you might like to try (I've not tried it myself and don't know if it is a 'general fix'): Quote Link to comment Share on other sites More sharing options...
daxigua Posted December 7, 2022 Author Share Posted December 7, 2022 Please ask if this bug is fixed in the version 1.10.6? Quote Link to comment Share on other sites More sharing options...
daxigua Posted December 7, 2022 Author Share Posted December 7, 2022 24 minutes ago, GarryP said: Welcome to the forums @daxigua This is probably related to (or the same as) a known issue. The linked thread below has a ‘workaround’ which you might like to try (I've not tried it myself and don't know if it is a 'general fix'): Please ask if this bug is fixed in the version 1.10.6? 25 minutes ago, GarryP said: Welcome to the forums @daxigua This is probably related to (or the same as) a known issue. The linked thread below has a ‘workaround’ which you might like to try (I've not tried it myself and don't know if it is a 'general fix'): Quote Link to comment Share on other sites More sharing options...
GarryP Posted December 7, 2022 Share Posted December 7, 2022 Have you tried it in 1.10.6? Note: I’m not sure why you repeated your question in a quote in the next thread along with quoting the same thing again. Was that just a mistake? Quote Link to comment Share on other sites More sharing options...
daxigua Posted December 7, 2022 Author Share Posted December 7, 2022 4 minutes ago, GarryP said: Have you tried it in 1.10.6? Note: I’m not sure why you repeated your question in a quote in the next thread along with quoting the same thing again. Was that just a mistake? i install 1.10.6,it has not be fixed........ Quote Link to comment Share on other sites More sharing options...
GarryP Posted December 7, 2022 Share Posted December 7, 2022 I have a feeling that ‘feature problems’, such as this, will never be fixed in V1 since Serif are concentrating on V2 now. Some of these kinds of ‘feature problem’ might get fixed in V1 because of another (maybe related) fix that needed to be done for stability reasons, but those kind of fixes might be few and far between. Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted January 16, 2023 Staff Share Posted January 16, 2023 Hi daxigua, Thanks for letting us know. This is something we're aware of and is with development to be looked at. Quote Link to comment Share on other sites More sharing options...
Staff Patrick Connor Posted January 27, 2023 Staff Share Posted January 27, 2023 Sorry that you have experienced this problem with the Affinity Suite. We have now released 2.0.4 on all platforms, and using that build we believe we have made an improvement in that area that should have fixed the crash Quote Patrick Connor Serif Europe Ltd Latest V2 releases on each platform Help make our apps better by joining our beta program! "There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self." W. L. Sheldon Link to comment Share on other sites More sharing options...
daxigua Posted January 29, 2023 Author Share Posted January 29, 2023 On 1/28/2023 at 2:29 AM, Patrick Connor said: Sorry that you have experienced this problem with the Affinity Suite. We have now released 2.0.4 on all platforms, and using that build we believe we have made an improvement in that area that should have fixed the crash it seems no slove the problem,for example other picture: Gewoonolaf 1 Quote Link to comment Share on other sites More sharing options...
Staff Patrick Connor Posted January 29, 2023 Staff Share Posted January 29, 2023 There are 2 problems reported in this thread. Sorry I was referring to the crash on startup, not the SVG import problem, which has not been addressed. Sorry for the confusion Quote Patrick Connor Serif Europe Ltd Latest V2 releases on each platform Help make our apps better by joining our beta program! "There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self." W. L. Sheldon Link to comment Share on other sites More sharing options...
Gewoonolaf Posted May 20, 2023 Share Posted May 20, 2023 Issue may be related to matplotlib.pyplot rcParams. p.get_figure().savefig("testgetfig.svg", dpi=1200, bbox_inches="tight") In Affinity 2.1.0: plt.rcParams['svg.fonttype'] = 'none' p.get_figure().savefig("testgetfig.svg", dpi=1200, bbox_inches="tight") In Affinity 2.1.0: Solution found here: https://stackoverflow.com/questions/34387893/output-matplotlib-figure-to-svg-with-text-as-text-not-curves Full code: import seaborn as sn import matplotlib.pylab as plt sn.set(rc={'figure.figsize':(13.3, 7.5)}) plt.style.use('bmh') p = sn.histplot(dfNumberPerRepAndJarWithZero, x = 'numberOfNemsOnRep', hue = 'GeneID', legend=False, element='bars',kde=True,line_kws ={'alpha':1}, alpha=0.2) plt.rcParams['svg.fonttype'] = 'none' p.get_figure().savefig("testgetfig.svg", dpi=1200, bbox_inches="tight") I am on windows btw Quote Link to comment Share on other sites More sharing options...
daxigua Posted May 21, 2023 Author Share Posted May 21, 2023 13 hours ago, Gewoonolaf said: Issue may be related to matplotlib.pyplot rcParams. p.get_figure().savefig("testgetfig.svg", dpi=1200, bbox_inches="tight") In Affinity 2.1.0: plt.rcParams['svg.fonttype'] = 'none' p.get_figure().savefig("testgetfig.svg", dpi=1200, bbox_inches="tight") In Affinity 2.1.0: Solution found here: https://stackoverflow.com/questions/34387893/output-matplotlib-figure-to-svg-with-text-as-text-not-curves Full code: import seaborn as sn import matplotlib.pylab as plt sn.set(rc={'figure.figsize':(13.3, 7.5)}) plt.style.use('bmh') p = sn.histplot(dfNumberPerRepAndJarWithZero, x = 'numberOfNemsOnRep', hue = 'GeneID', legend=False, element='bars',kde=True,line_kws ={'alpha':1}, alpha=0.2) plt.rcParams['svg.fonttype'] = 'none' p.get_figure().savefig("testgetfig.svg", dpi=1200, bbox_inches="tight") I am on windows btw THANK YOU!! This slove the problem. Gewoonolaf 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.