Sweden just wasn't very disciplined, Canada was. Canada flamed out in 2016 because of bad discipline and the reaction in Canada, overwhelmingly, was to blame the team for it, not the refs. The organization clearly learned from that because the team played with great discipline in the final and that was a key factor in the victory. Sweden had the better PP and PK from what we saw - trading PPs would have been great for them.
There just weren't a lot of missed calls against Canada or any evidence of a double standard. If you want to disagree offer specific examples and when they add up to more than a goal (lost to quick whistle) we can begin to discuss the idea that Canada benefited from the reffing -- which is still a long way from proving bias.
Sweden all around should be proud of the talent of their team, but disappointed of the lack of discipline they showed. From Steen and Gustafsson's ugly slashes on Yamamoto and Timmins, to Anderssen's childish antics, it is pretty remarkable that the reaction is to look outside the team and blame the refs. The more skilled team lost in the Gold medal game and Sweden will suffer the same fate again if they don't self-reflect and understand that they can't blame anyone else.