I think some shows do it better than others. The main indicator for me is whether they are just an autistic character who functions in the show like the other characters, or they exist to be a dramatic plot device or punch line.
Some examples:
Comedy:
Abed on Community - In my opinion this is a good portrayal, he's a unique character an equal player in the ensemble and get's to play emotional moments and deliver laugh lines that are unrelated to his autism. Abed seems very real and also 'cool' which I think is important, Yes he's a weird but he's also batman, and a suave Hans Solo, and a good friend. Autism stated on show.
Sheldon on The Big Bang Theory - I think this is in many ways a negative portrayal in that much of the show humor comes from saying "hey look at that weird, annoying, dumb thing Sheldon is doing, his behavior is very rigid and routine oriented hahaha" The canned laughter often chimes in as he's doing something I would do, or that I would find understandable. It seems like a show for NT people to laugh at a characterization of an autistic person because that character is weird or wrong. Autism not stated on show.
Drama:
Bones on Bones - She's shown as very competent and self aware which I like but much of the shows' humor and pathos comes from "she's so smart with science and so dumb with emotions isn't that weird". There are some rough moments where they make her so roboty is starts to seem offensive but overall I think the show developed her into a complex, interesting character especially in later seasons. Autism not explicitly stated on show.
Max on Parenthood - Most of his plotlines involve how he's burdensome or messing something up for the rest of his family. It seems like he was written from a blog post of a parent complaining about how hard it is to raise an autistic child. The show uses "putting up with Max" as shorthand to make Hattie a saintly teenager. He's often an obstacle instead of a character. I feel like we don't know much about his personality other than his special interests and his autism. They've done some nice things with him on occasion (the camping trip with grandpa) but mostly he's just annoying. Autism stated on show.
Altstrid on Fringe - She's competent, richly characterized and well acted. The show portrays both and autistic and an NT version of the character without elevating one over the other. There is some pitying of the character but it's to do with her family life and not her autism which I personally found refreshing. Autism stated on show.
Frequently characters who are clearly portrayed as having Autism are not explicitly labeled as so. This I think is a sign of our erasure, because if they make a fun cool autistic character, NT people might life and relate to them but they might have a harder time doing that if they were labeled autistic because the dominant cultural narrative of autism doesn't allow for cool, fun autistic people you'd want to be friends with. We're either the tragedies used for fundraising or the inspirational cripple children for someone to make a facebook wall post or a lifetime movie about.
There are some brilliant autistic characters out there for us to claim which is fun and could be a step forward. Representation in media is important for groups trying to gain acceptance.
_________________
If your success is defined as being well adjusted to injustice and well adapted to indifference, then we don?t want successful leaders. We want great leaders- who are unbought, unbound, unafraid, and unintimidated to tell the truth.